7. MODBUS
7-2
IMS01T28-E4
7.1 Communication Protocol
The master controls communication between master and slave. A typical message consists of a request
(query message) sent from the master followed by an answer (response message) from the slave (SRZ).
When master begins data transmission, a set of data is sent to the slave in a fixed sequence. When it is
received, the slave decodes it, takes the necessary action, and returns data to the master.
Data send/receive state can be monitored by using our communication tool (PROTEM2).
The communication tool (PROTEM2) can be downloaded from the RKC official website:
https://www.rkcinst.com/.
7.1.1 Message format
The message consists of four parts: slave address, function code,
data, and error check code which are always transmitted in the
same sequence.
Slave address
The slave address is a number from 0 to F manually set at the module address setting switch located at the
front of the function module (Z-TIO and Z-DIO).
For details, refer to
3.1 Module Address Setting (P. 3-2).
Although all connected slave units receive the query message sent from the master, only the slave with the
slave address coinciding with the query message will accept the message.
Function code
The function codes are the instructions set at the master and sent to the slave describing the action to be
executed. The function codes are included when the slave responds to the master.
For details, refer to
7.1.2 Function code (P. 7-3).
Data
The data to execute the function specified by the function code is sent to the slave and corresponding data
returned to the master from the slave.
For details, refer to
7.2 Register Read and Write (P. 7-8), 7.3 Data Processing Precautions
(P. 7-12)
and
8. COMMUNICATION DATA LIST (P. 8-1).
Error check
An error checking code (CRC-16: Cyclic Redundancy Check) is used to detect an error in the signal
transmission.
For details, refer to
7.1.5 Calculating CRC-16 (P. 7-5).
Slave address
Function code
Data
Error check CRC-16
Message format
Summary of Contents for Z-TIO-G
Page 8: ...i 6 IMS01T28 E4 MEMO...
Page 16: ...IMS01T28 E4 1 8 MEMO...
Page 22: ...2 6 IMS01T28 E4 MEMO...
Page 34: ...4 MOUNTING 4 4 IMS01T28 E4 4 2 Dimensions Terminal type module 85 100 5 Unit mm 30 6 7...
Page 52: ...5 14 IMS01T28 E4 MEMO...
Page 82: ...7 18 IMS01T28 E4 MEMO...
Page 211: ...TROUBLE SHOOTING IMS01T28 E4 10 1 10 1 Solutions for Problems 10 2...
Page 216: ...10 6 IMS01T28 E4 MEMO...
Page 217: ...SPECIFICATIONS IMS01T28 E4 11 1...
Page 230: ...11 14 IMS01T28 E4 MEMO...
Page 244: ...A 4 IMS01T28 E4 MEMO...
Page 245: ...The first edition SEP 2012 IMQ00 The fourth edition FEB 2019 IMQ00...