4.2 Using Modbus/TCP to Enable the GX/GP to Read Data from and Write Data to Other Devices (Modbus client function)
4.2.5
Checking the Modbus Operation Status
Procedure
IM 04L51B01-01EN
Writing Computed Values to a Server
Example
Write the computed values from channel A001 to registers 40001 and 40002 of instrument A,
in the order lower 16 bits/higher 16 bits. Only the smallest register number need be specified
in commands.
Math channel
A001
Command setting
Setup Item
Client command number
Command setting
Type
Server
Data type
Register
Channel type
First-CH
Last-CH
For the procedure, see page 2-58 in section 2.3.6, "Checking the Command Status of the
Modbus Client and Modbus Master".
Register of instrument A
Lower bytes
40001
Higher bytes
40002
Value
6
Write
1
INT32_L
40001
Math channel
A001
A001
32-bit signed integer
App
Index
4-7
1
2
3
4
5