TMC429+TMC26x-EVAL Manual - Trinamic
TMC429+TMC26x-EVAL Manual - Trinamic
TMC429+TMC26x-EVAL Manual - Trinamic
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>TMC429+TMC26x</strong>-<strong>EVAL</strong> Board V2.0 / <strong>Manual</strong> (V2.00 / 2011-AUG-02) 35<br />
9 TMCL<br />
TMCL, the TRINAMIC Motion Control Language, is described in separate documentations, which refer to the<br />
specific products (e.g. Firmware <strong>Manual</strong>). The manuals are provided on the TRINAMIC TechLibCD and on<br />
www.trinamic.com. Please refer to these sources for updated data sheets and application notes. The TMCL is<br />
for evaluation close to an user application.<br />
The TRINAMIC TechLibCD includes data sheets, application notes, and schematics of evaluation boards,<br />
software of evaluation boards, source code examples, parameter calculation spreadsheets, tools, and more.<br />
9.1 Communicating with PC<br />
The communication with the PC takes place via TMCL commands.<br />
9.1.1 Binary command format<br />
Every command has a mnemonic and a binary representation. When commands are sent from a host to a<br />
module, the binary format has to be used. Every command consists of a one-byte command field, a one-byte<br />
type field, a one-byte motor/bank field and a four-byte value field. So the binary representation of a<br />
command always has seven bytes. When a command is to be sent via RS232 or USB interface, it has to be<br />
enclosed by an address byte at the beginning and a checksum byte at the end. In this case it consists of<br />
nine bytes.<br />
The binary command format for RS232/USB is as follows:<br />
Bytes Meaning<br />
1 Module address<br />
1 Command number<br />
1 Type number<br />
1 Motor or Bank number<br />
4 Value (MSB first!)<br />
1 Checksum<br />
The checksum is calculated by adding up all the other bytes using an 8-bit addition.<br />
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG