App index examples of setting commands – Yokogawa Removable Chassis DX1000N User Manual
Page 67
1-59
IM 04L41B01-17E
Using the Ethernet Interface
1
2
3
4
5
6
App
Index
Examples of Setting Commands
The following are examples of setting commands for the Modbus Client function. For the
Modbus Master function, substitute “master” for “client,” and “slave” for “server.”
Ethernet
DXAdvanced
(Modbus client)
Instrument A
(Modbus server 1)
Instrument B
(Modbus server 2)
Instrument C
(Modbus server 3)
Connection
example
Loading to Communication Input Data
The DX inputs data loaded from the server to communication input data as floating point
type data.
• Example 1
Load the value of the 16-bit signed integer assigned to register 30001 of instrument A
to C01.
C01
30001
Communication input data
Register of instrument A
16-bit signed integer
Command setting
R-M
C01 - C01
1
30001
INT16
• Example 2
Load the value of the 32-bit signed integer assigned to registers 30003 and 30004
of instrument B to C03. Only the smallest register number need be specified in
commands.
30003
lower bytes
higher bytes
30004
C03
32-bit signed integer
Register of instrument B
Communication input data
Command setting
R-M
C03 - C03
2
30003
INT32_L
• Example 3
Load the values of the 16-bit signed integers assigned to registers 30001 and 30002
of instrument B to C01 and C02. Only the smallest register number need be specified
in commands.
30001
16-bit signed integer
16-bit signed integer
30002
C01
C02
Register of instrument B
Communication input data
Command setting
R-M
C01 - C02
2
30001
INT16
• Example 4
Load the values of the 32-bit floating point assigned to registers 30005 and 30006
of instrument B to C04. Only the smallest register number need be specified in
commands.
30005
lower bytes
higher bytes
30006
C04
32-bit floating point
Register of instrument B
Communication input data
Command setting
R-M
C04 - C04
2
30005
FLOAT_L
1.10 Using the Modbus Client Function