Application of Data Exchange (1). Delta DVPEN01-SL


Add to my manuals
58 Pages

advertisement

Application of Data Exchange (1). Delta DVPEN01-SL | Manualzz

Ethernet Communication Module DVPEN01-SL

4. Switch to “Select Recipients” page. Check all the boxes of “Recipient 1”. Click on “OK” to complete the setting.

5. After all the settings in DVPEN01-SL are completed, compile the ladder diagram in the MPU and download it to the MPU. See below for the program design:

X0

T0 K100 K3 K1 K1

X0

T0 K100

K4

K1 K1

Y0

T0 K100 K5 K1 K1

Y0

T0 K100 K6 K1 K1

END

Explanations:

If the rising-edge of X0 is triggered, X0 will go from Off to On. Write “1” into CR#3 of

DVPEN01-SL, and the first E-Mail will be sent out.

If the falling-edge of X0 is triggered, X0 will go from On to Off. Write “1” into CR#4 of

DVPEN01-SL, and the second E-Mail will be sent out.

If the rising-edge of Y0 is triggered, Y0 will go from Off to On. Write “1” into CR#5 of

DVPEN01-SL, and the third E-Mail will be sent out.

If the falling-edge of Y0 is triggered, Y0 will go from On to Off. Write “1” into CR#6 of

DVPEN01-SL, and the fourth E-Mail will be sent out.

6.8 Application of Data Exchange (1)

Application

Network requirement

Writing the time in RTC in PLC_B into D0 ~ D6 of PLC_A

(1) Adopting static IP.

(2) IP of PLC_A: 192.168.0.4

(3) IP of PLC_B: 192.168.0.5”

(4) Update from PLC_B to PLC_A

DVP-PLC Operation Manual

45

Ethernet Communication Module DVPEN01-SL

1. See 6.1 for how to set up the communication.

2. Open the setup page of PLC_B and switch to “Data Exchange” page.

3. Check “Enable Data Exchange” box. Select “Program Control” for Execute Mode. Enter IP address of

PLC_A “192.168.0.4” in No. 1 Data Exchange Host IP column. Click on “OK” to complete the setting.

46

4. After all the settings in PLC_B are completed, compile the ladder diagram in the MPU and download it to PLC_B. See below for the program design:

DVP-PLC Operation Manual

Ethernet Communication Module DVPEN01-SL

M1000

D100

M1013

M2 M1

M1

SET M1

TOP

K100

TOP K100

TOP K100

TOP K100

K28

K29

K14

K13

K1

D100

K0

K1

K1

K7

K1

K1

M2

SET

RST

M2

M1

FROM K100 K14 D14 K1

= D14 K2

RST

RST

M2

M2 = D14 K3

END

Explanations:

The data exchange will be executed every one second.

Write the communication address of the destination PLC in CR#28, and DVPEN01-SL will automatically detect by the previous setting that No. 1 IP is “192.168.0.4".

Write the data in RTC into CR#29 ~ CR#35.

Write “1” into CR#13 to start the data exchange.

CR#14 = 2 refers to successful exchange. CR#14 = 3 refers to failed exchange.

5. Compile the ladder diagram for PLC_A and download it to PLC_A.

M1013

FROM K100 K49 D0 K7

END

Explanations:

The received data are stored in CR#49 ~ CR#55.

The data received every one second are written into D0 ~ D6.

DVP-PLC Operation Manual

47

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals