Ethernet communication module dvpen01-sl, 14 rtu mapping – Delta DVPEN01-SL User Manual

Page 56

Advertising
background image

Ethernet Communication Module DVPEN01-SL

DVP-PLC Operation Manual

54

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.
DVP28SV+DVPEN01-SL Æ RTU-EN01+DVP06XA+DVP16SP

Network
requirement

(1) Adopt static IP.
(2) IP of DVPEN01-SL: 192.168.1.90
(3) IP 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 up 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.

Advertising