29
Chapter 7 Modbus Communications
Function 03: Read Holding Registers
Query:
(from Master)
Response:
(from Slave)
Slave address (0-255)
Function code (3)
Starting address of register Hi (0)
Byte count
Starting address of register Lo
Data 1 Hi
(0-61, 128-143)
Data 1 Lo
No. of words Hi (0)
Data 2 Hi
No. of words Lo (1-22)
Data 2 Lo
CRC16 Hi
•
CRC16 Lo
•
•
•
•
CRC16 Hi
CRC16 Lo
Function 06: Preset Single Register
Query:
(from Master)
Response:
(from slave)
Slave address (0-255)
Function code (6)
Register address Hi (0)
Register address Lo (0-61, 128-143)
Data Hi
Data Lo
CRC16 Hi
CRC16 Lo
Function 16: Preset Multiple Registers
Query:
( from master )
Response:
(from slave)
Slave address (0-255)
Function code (16)
Starting address of register Hi (0
Starting address of register Lo (0-61, 128-143)
No. of words Hi (0)
No. of words Lo (1-18)
Byte count (2-36)
CRC16 Hi
Data 1 Hi
CRC16 Lo
Data 1 Lo
Data 2 Hi
Data 2 Lo
•
•
•
•
•
CRC16 Hi
CRC16 Lo
7-1 Functions Supported
Only function 03, 06 and 16 are available for this series of controllers. The message formats for each function
are described as follows:
This chapter specifies the Modbus Communications proto-
col as RS-232 or RS-485 interface module is installed. Only
RTU mode is supported. Data is transmitted as eight-bit
binary bytes with 1 start bit, 1 stop bit and optional parity
checking (None, Even or Odd). Baud rate may be set to 300,
600, 1200, 2400, 4800, 9600, 14400, 19200, 28800 and
38400.
Summary of Contents for TEC-410
Page 26: ...24 ...