TMCM-3314 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25
12 / 144
3.2
Reply Format
Every time a command has been sent to a module, the module sends a reply. The reply format with RS-232,
RS-485, RS-422 and USB is as follows:
TMCL Reply Format
Bytes
Meaning
1
Reply address
1
Module address
1
Status (e.g. 100 means no error)
1
Command number
4
Value (MSB first!)
1
Checksum
Table 3: TMCL Reply Format
Info
The checksum is also calculated by adding up all the other bytes using an 8-bit
addition. Do not send the next command before having received the reply!
Note
When using CAN interface, the reply does not contain an address byte and a
checksum byte. With CAN, the CAN-ID is used as the reply address and the
checksum is not needed because the CAN bus uses hardware CRC checking.
3.2.1
Status Codes
The reply contains a status code. The status code can have one of the following values:
TMCL Status Codes
Code
Meaning
100
Successfully executed, no error
101
Command loaded into TMCL program EEPROM
1
Wrong checksum
2
Invalid command
3
Wrong type
4
Invalid value
5
Configuration EEPROM locked
6
Command not available
Table 4: TMCL Status Codes
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at