Delta DVPEN01-SL operation manual RTU Mapping

Page 56

Ethernet Communication Module DVPEN01-SL

= D0 K2

M2

TOP

K100

K125

H0

K1

TOP

K100

K119

K6

K1

TOP

K100

K116

K0

K1

TOP

K100

K115

K1

K1

INC

D0

 

 

 

MOV

K0

D0

 

 

SET

M2

 

 

 

RST

M1

 

 

 

FROM K100 K116 D14 K1

= D14 K2

 

 

RST

M2

 

 

= D14 K3

 

 

RST

M2

 

 

 

 

 

 

 

END

 

 

 

 

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.14RTU Mapping

Application

Network requirement

Using RTU mapping to read/write the remote digital I/O and analog I/O registers. DVP28SV+DVPEN01-SL Æ RTU-EN01+DVP06XA+DVP16SP

(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.

54

DVP-PLC Operation Manual

Image 56
Contents DVPEN01-SL Page Table of Contents Application Examples Specifications FunctionsDimension Product ProfilesRJ-45 PIN Definition LED IndicatorsInstallation Control Register CR Control Registers in DVPEN01-SLEthernet Communication Module DVPEN01-SL Explanations on CR „ E-mail Functions„ Data Exchange Ethernet Communication Module DVPEN01-SL „ Sending Modbus TCP Instruction Ethernet Communication Module DVPEN01-SL Numbering of Left-Side Modules „ RTU MappingSetting up Communication & Searching for Modules „ Communication settings„ Broadcast search „ Designating model to search Ethernet Communication Module DVPEN01-SL „ Searching by IP address „ Opening DVPEN01-SL setup page by RS-232 Basic Settings „ Setting up DVPEN01-SL basicsNetwork Settings „ Setting up static IP of the PCEthernet Communication Module DVPEN01-SL „ Setting up DVPEN01-SL Network DhcpSetting up E-Mails „ Setting up DVPEN01-SL mail„ Setting up DVPEN01-SL data exchange Data Exchange„ The settings RTUStatic ARP Table „ Setting up IP filterIP Filter „ Setting up DVPEN01-SL password Setting up Password„ Setting up static ARP table Returning to Default Setting „ DVPEN01-SL returning to default settingSetting up IP and Communicating through WPLSoft Application ExamplesEthernet Communication Module DVPEN01-SL Open Basic setup Switch to Network setup Connecting the PC with DVPEN01-SL through LAN DVPEN01 DVP-PLC Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL Setting up Password and Clearing Password Ethernet Communication Module DVPEN01-SL After the password is cleared, you can modify the parameters IP Filter Protection Ethernet Communication Module DVPEN01-SL Setting up Static ARP Table Ethernet Communication Module DVPEN01-SL Application of E-Mail Application of Data Exchange ExplanationsEthernet Communication Module DVPEN01-SL TRD Application of Data Exchange Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL From Explanations Data exchange will be executed every one second Application of Modbus TCP Master RTU Mapping Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL