Ethernet Communication Module DVPEN01-SL
DVP-PLC Operation Manual
56
K100
K1
TOP
K100
TOP
K1
K1
K0
K100
K1
TOP
K100
TOP
K1
H0
K6
K125
K119
K116
K115
SET
M2
M1
RST
MOV
K0
D0
= D0 K2
INC
D0
END
K100
K1
M2
D14
RST
M2
RST
M2
= D14 K2
= D14 K3
FROM
K116
Explanations:
•
The data exchange will be executed every one second.
•
Write the IP address of PLC_A into CR#117 and CR#118. The first two IP codes (192.168=H’C0A8) should
be written into CR#118, and the last two IP codes (0.4=H’0004) into CR#117.
•
Set CR#111 as “1” to enable the 8-bit mode. The MODBUS instruction is stored in the low byte of
CR#120~CR#247.
•
Write MODBUS instruction into CR#120~CR#125. CR#120 is the MODBUS address.
•
Write the length of the instruction into CR#119.
•
Write “1” into CR#115 to start the execution of MODBUS TCP instruction.
•
CR#116=2 refers to successful execution. CR#116=3 refers to failed execution.
•
If the execution is successful, Y0 on PLC_A will go between On and Off every one second.
6.14 RTU Mapping
Application
Using RTU mapping to read/write the remote digital I/O and analog I/O registers.
DVPEN01-SL
RTU-EN01+DVP16SP
Network
environment
(1) Adopt a static IP address.
(2) IP address of DVPEN01-SL: 192.168.1.90
(3) IP address of RTU-EN01: 92.168.1.91
(4) Use DCISoft for RTU-EN01and check 10 mapping data for read and 10 mapping data for write.
(5) Set the mapping start address and number of data for RX, RY, RCR (read) and RCR (write) at
DVPEN01-SL.
(6) Enable the mapping function in DVP-SV PLC at DVPEN01-SL. Use M2000 and D2000 in DVP-SV
to read and M3000 and D3000 to write the value in the remote RTU-EN01.
Содержание DVPEN01-SL
Страница 1: ...DVPEN01 SL Ethernet Communication Module Operation Manual DVP 0204320 04 ...
Страница 2: ......