TMD-T4: Communication Protocol Instruction Manual
TMD-T4: Communication Protocol Instruction Manual
Communication Protocol
INSTRUCTION MANUAL
IM148-U-AB v0.92
Firmware version: v3.0 or higher
2) CRC GENERATION 4
9) TROUBLESHOOTING 11
B) RTU Mode: binary, with time frame synchronization, faster than the ASCII Mode, uses half so long data block
than the ASCII Mode.
- typical : 15 mS
- worst case : 20 mS.
Note: The ”Error Check (CRC)” field must be computed referring to the characters from the first of ADDR to
the last of DATA inclusive.
QUERY:
WARNING:
It is possible to read more than one variable at the same time (max 16) only if their addresses are consecutive and
the variables on the same line cannot be divided.
The register data in the response message are packet as two bytes per register, with the binary contents right
justified within each byte.
For each register, the first byte contains the high order bits and the second contains the low order bits.
RESPONSE:
WARNING: It is possible to write more than one variable at the same time only if their addresses are consecutive
and the variables on the same line cannot be divided (max of 4 consecutive register on the same message).
QUERY:
START OF ADDRESS FUNCTION START No. OF No. OF D0, D1, ERROR END OF
FRAME FIELD CODE ADDRESS REGISTERS BYTES ..., Dn CHECK FRAME
The normal response returns the slave address, function code, starting address and quantity of register
preset.
RESPONSE:
QUERY:
RESPONSE:
The response must be the loopback of the same data.
DIAGNOSTIC EXAMPLE
QUERY RESPONSE
QUERY:
RESPONSE:
RUN
START OF ADDRESS FUNCTION BYTE SLAVE ADDITIONAL ERROR END OF
INDICATOR
FRAME FIELD CODE COUNT ID DATA CHECK FRAME
STATUS
The normal response has the slave ID identifier (54 HEX) and the run indicator status (FF HEX) plus 8 data bytes
(byte count is 10, 0A Hex). Last two data bytes carry firmware version (bytes 11 and 12 of the frame ).
RESPONSE:
ERROR EXAMPLE
QUERY RESPONSE
NOTE: These registers return binary values from -30 (0xFFE2) to +200(0x00C8)
NOTE: These registers return binary values from -30 (0xFFE2) to +200(0x00C8)
TROUBLESHOOTING
If response from TMD doesn’t happen:
- check connection from TMD and RS232/RS485 converter or other interface if used;
- check if data outgoing from the RS232 serial port of the PC or PLC come in the RS232/485 converter
- try to increase the wait time for response ( 30 mS is good);
- check if the transmitted data stream is EXACTLY as in example, monitoring the data on the RS485 serial line
with a terminal ( eg. Hyperterminal or other terminal emulator);
- if the RS232/485 converter is not our model CUS, be sure the automatic turnaround-time is set in range 1 to 2 mS
http://bol.it.abb.com