beautypg.com

2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 148

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-120

You can modify the settings in D1434 ~ D1449, D1544 ~ D1559, D1450 ~ D1465 and D1560 ~ D1575

during the execution of EASY EASY PLC LINK, but the modified results will take effect in the next EASY

EASY PLC LINK polling.

b) Example

2: EASY EASY PLC LINK with M1353 and I170

M1002

SET

M1353

MOV

K17

D1121

H86

D1120

K2000

K3000

K300

K48

K48

M1350

FEND

MOV

SET

M1120

MOV

MOV

MOV

MOV

MOV

D1480

D1496

D1129

D1434

D1450

M1351

X1

IRET

END

I170

With I170, the processing of data in EASY EASY PLC LINK will not be done at END, but at the enabling of

I170 immediately after the receiving of data is completed

If the reaction speed of the RS-485 IC direction control signal pin of the Slave is slow, it is suggested that

you do not enable I170.

You can set up D1399 (starting Slave ID designated by EASY PLC LINK), and the ID# of the next 15

Slaves have to be in sequence. For example, when D1399 is set as K20, the Master PLC will detect Slave

ID# 20 ~ 35.

c) Example

3: Connection of 1 Master and 2 Slaves by RS-485 and exchange of 16 data between Master and

Slaves through EASY PLC LINK (M1353 = Off, linkage of 16 stations, 16 data read/write mode)

Write the ladder diagram program into Master PLC (ID#17)