
Ethernet Communication Module DVPEN01-SL
4.
After all the settings in PLC_A are completed, you have to write a ladder diagram for the MPU and download it to
PLC_B. The program designed is like the one shown below.
6.11 Application of Data Exchange (4)
Application
Writing the time of the RTC in PLC_B into D0~D6 of PLC_A by, and using a ladder diagram to
designate an IP address
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
1. See 6.1 for how to set the communication. Compile the ladder diagram in the MPU and download it to PLC_B.
The program designed is like the one shown below.
END
M1013
K100 K1
K100
K100 K1
M2 M1
M1SET
M1
TOP K28
TOP
TOP
K100TOP
SET M2
M1RST
K100 K1
M2
K14 D14
RST
M2
RST M2
= D14 K2
= D14 K3
FROM
K1
K100 K1TOP
K100TOP K1 K1
K0
K0
K26
K25
K29
K14
K13
D100 K7
H4
HC0A8
D100TDR
M1000
DVP-PLC Operation Manual
53
Comentários a estes Manuais