Chapter 6 Communication Mode
6 - 59
Mod
b
u
s S
lav
e
(2) Description of the sample program
s parameters and sending data area are configured at the first scan (R7E3).
When R0 is set ON, TRNS 9 is executed then port 2 in slot A, unit 4 is configured as following table.
(In this example, when initial setting of EH-SIO is completed, initial setting completion flag X4A29 is set ON.
Once Modbus slave mode is configured, this mode will be kept after CPU is in STOP status. In this sample program,
initial setting program works only when initial setting has not been configured yet.)
Items
Setup value
Setup contents
Communication mode
H0011
Modbus slave mode
Modbus mode
H0000
Modbus RTU mode
Device address
H01xx
No. 01
Waiting time
Hxx14
200 ms (20
10ms)
I/O mapping (Bit)
H0000
Not used
I/O mapping (Word)
H0004
Not used
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...