4.3
Using Modbus to Enable Other Devices to Read
Data from and Write Data to the GX/GP (Modbus
slave function)
4.3.1
Setting Serial Communication Conditions
Description
4.3.2
Reading from and Writing to the GX/GP from Other Devices
4-8
The GX/GP can operate as a Modbus slave device.
Other devices (Modbus master devices) can carry out the following operations on the GX/
GP.
• Read I/O channel and math channel (/MT option) data (input register)
• Read communication channel (/MC option) data (hold register)
• Write communication channel (/MC option) data (hold register)
• Start and stop recording, write messages, and perform other operations (using the hold
register)
• Load the recording start/stop condition, message strings, and other types of data (using
the hold register)
Modbus master device
• Configure the receiver function
• Set data transfer conditions
For details on the settings, see page 1-161 in section 1.18.1, "Setting Basic Communication
Conditions".
Other devices (master devices) can transmit commands to the GX/GP to read data from and
write data to the GX/GP. By writing data to the GX/GP registers, you can control the GX/GP
(such as start recording).
For details on the function codes that the GX/GP supports and the GX/GP registers that
master devices can access, see page 4-11 in section 4.5, "Modbus Function and Register
Assignments".
Serial communication
GX/GP internal register
GX/GP
Modbus slave
Command
Input register
Read
3XXXXX
Read
Hold register
Write
4XXXXX
Master
Read
Read
Write
IM 04L51B01-01EN