Ethernet Communication Module DVPEN01-SL
6.12 Application of Data Exchange (5)
Application
Network requirement
Writing the time in RTC in PLC_B directly into D0 ~ D6 of PLC_A without writing in ladder diagram into PLC_A.
(1)Adopting static IP.
(2)IP of PLC_A: 192.168.0.4
(3)IP of PLC_B: 192.168.0.5
(4)Update from PLC_B to PLC_A.
1.See 6.1 for how to set up communication.
2.Compile the ladder diagram in the MPU and download it to PLC_B. We do not need to write any corresponding ladder diagram into PLC_A.
M1000
M1013 M2 M1
M1
M2
= D14 K2
= D14 K3
TRD | D100 |
|
|
|
SET | M1 |
|
|
|
TOP | K100 | K28 | K0 | K1 |
TOP | K100 | K26 | HC0A8 | K1 |
TOP | K100 | K25 | H4 | K1 |
TOP | K100 | K81 | H1000 | K1 |
TOP | K100 | K84 | H1000 | K1 |
TOP | K100 | K85 | K7 | K1 |
TOP | K100 | K86 | H1064 | K1 |
TOP | K100 | K14 | K0 | K1 |
TOP | K100 | K13 | K1 | K1 |
SET | M2 |
|
|
|
RST | M1 |
|
|
|
FROM | K100 | K14 | D14 | K1 |
RST M2
RST M2
END
Explanations:
•The data exchange will be executed every one second.
52 |