User Manual

TMCC160 TMCL Firmware Version 2.11 2018-FEB-08 | Document Revision 1.01 2018-FEB-08
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the 6 Supplemental Directives” (page 51).
1.1.2 Reply Format
Whenever a command is sent to a module, the module sends a reply. The reply format
for RS232 and RS485 is structured as follows:
The checksum is calculated similar to the checksum of the request format. The status
code can have one of the following values:
NOTE:
In case of CAN communication, the checksum is omitted. Consequently, the
request format then only consists of 8 bytes.
RS232 and
RS485 Reply
Format
RS253 and RS485 TMCL Reply Format
Bytes
Description
1
Reply address
1
Module address
1
Status (e.g. 100 means no error)
1
Command number
4
Value (MSB first!)
1
Checksum
Table 2: RS253 and RS485 TMCL Reply Format
TMCL Reply Status Codes
Code
Description
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 3: TMCL Reply Status Codes