
Ethernet Communication Module DVPEN01-SL
6.13 Application of MODBUS TCP Master
Application Compiling MODBUS instruction by PLC_B, making Y0 of PLC_A flashing
Network
environment
(1) Adopt a static IP address.
(2) IP address of PLC_A: 192.168.0.4
(3) IP address of PLC_B: 192.168.0.5
(4) Update from PLC_B to PLC_A
(5) Use MODBUS instruction 050500FF00 to set “On” Y0.
(6) Use MODBUS instruction 0505000000 to set “Off” Y0.
(7) Y0 goes between On/Off once every one second.
1. See 6.1 for how to set the communication.
2. Compile the ladder diagram in the MPU and download it to PLC
B. See below for the program design. We do not
need to write any corresponding ladder diagram into PLC_A.
M1013
K100 K1
K100
K100 K1
M2
M1
M1SET
M1
TOP
TOP
TOP
K100TOP
K1H4
HC0A8
K1
H0
K100
K100 K1
TOP
TOP
K100TOP
K1
K1
K1
H0
H5
H5
K100TOP
K1
K100
TOP K1
H0
HFF
K118
K117
K111
K120
K121
K122
K123
K124
K124
= D0 K0
= D0 K1
DVP-PLC Operation Manual
56
Komentarze do niniejszej Instrukcji