Delta Electronics DVPEN01-SL manual End

Page 38

Ethernet Communication Module DVPEN01-SL

6.3Setting up IP and Communicating through WPLSoft

Application

Setting up network parameters of DVPEN01-SL by ladder diagram

 

 

 

Network

(1)

IP of DVPEN01-SL: 192.168.0.4

requirement

(2)

Subnet mask: 255.255.255.0; Gateway: 192.168.0.1

(3)If DVPEN01-SL is damaged, change to a new DVPEN01-SL and execute STOP→RUN. The IP of the new DVPEN01-SL will be modified into 192.168.0.4.

(4)DVPEN01-SL is the first extension module attached in the left hand side of PLC.

1.The connection

DVPEN01 DVP-PLC

PC

2. See 6.1 for how to set up the communication. Download the program to PLC.

M1002

MOV K0 D0

MOV H4 D1

MOV HC0A8 D2

MOV HFF00 D3

MOV HFFF D4

MOV H1 D5

MOV HC0A8 D6

T0

K100

K69

D0

K7

END

Explanations:

Use M1002 to trigger all the settings. When DVPEN01-SL goes from STOP to RUN, D0 = 4 refers to using static IP address. Write the IP address into D1 and D2, subnet mask into D3 and D4, and gateway into D5 and D6.

The IP address is to be set as 192.168.0.4. Therefore, write H’0004 into D1 and H’C0A8 into D2. (K192 = H’C0, K168 = H’A8, K0 = H’00, K2 = H’02)

The subnet mask is to be set as 255.255.255.0. Therefore, write H’FF00 into D3 and H’FFFF into D4. (K255 = H’FF)

The gateway is to be set as 192.168.0.1. Therefore, write H’0001 into D5 and H’C0A8 into D6. (K1 = H’1)

36

DVP-PLC Application Manual

Image 38
Contents DVPEN01-SL Page Table of Contents Application Examples Introduction Product Profile & Outline Installation & Wiring Control Register CR Ethernet Communication Module DVPEN01-SL „ E-mail Functions „ Data Exchange „ Network Settings CR#74, 75 Gateway Numbering of Left-Side Extension Modules Setting up Software Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL Basic Settings Ethernet Communication Module DVPEN01-SL Network Settings Ethernet Communication Module DVPEN01-SL Dhcp Ethernet Communication Module DVPEN01-SL Data Exchange IP Filter Static ARP Table Setting up Password Returning to Default Setting Export & Import of DVPEN01-SL Files Recording IP Address Application Examples Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL Connecting the PC with DVPEN01-SL through LAN DVPEN01 DVP-PLC Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL END Setting up Password and Clearing Password Ethernet Communication Module DVPEN01-SL Ethernet Communication Module DVPEN01-SL IP Filter Protection Ethernet Communication Module DVPEN01-SL Setting up Static ARP Table Application of E-Mail Ethernet Communication Module DVPEN01-SL Explanations TRD SET TOP From K100 K86 H1064 HFF Ethernet Communication Module DVPEN01-SL Memo