beautypg.com

Delta DVP-ES2 User Manual

Page 113

background image

2 . P r o g r a m m i n g C o n c e p ts

M1002

MOV

K17

D1121

H86

D1120

K16

K16

M1351

END

SET

M1120

MOV

MOV

D1434

D1450

MOV

M1350

X1

K16

K16

MOV

MOV

D1435

D1451

Retain communication protocol

Data length to be read from Slave ID

Data length to be written into Slave

Data length to be read from Slave ID

Data length to be written into Slave

Auto mode

Master ID#

COM2 communication protocol

#1

ID#1

#2

ID#2

b)

automatically

into D1480 ~

and D1528 ~

When X1 = On, the data exchange between Master and the two Slaves will be

executed by PLC LINK. The data in D100 ~ D115 in the two Slaves will be read

D1495 and D1512 ~ D1527 of the Master, and the data in D1496 ~ D1511

D1543 will be written into D200 ~ D215 of the two Slaves.

Master PLC *1

Slave PLC*2

D1480 ~ D1495

D100 ~ D115 of Slave ID#1

D1496 ~ D1511

D200 ~ D215 of Slave ID#1

D1512 ~ D1527

D100 ~ D115 of Slave ID#2









D1528 ~ D1543

D200 ~ D215 of Slave ID#2

bling PLC LINK (M1350 = OFF) is

c)

Assume the data in registers for data exchange before ena

as below:

Master PLC

Preset value

Slave PLC

Preset value

D1480 ~ D1495

K0

D100 ~ D115 of Slave ID#1

K5,000

D1496 ~ D1511

K1,000

D200 ~ D215 of Slave ID#1

K0

D1512 ~ D1527

K0

D100 ~ D115 of Slave ID#2

K6,000

D1528 ~ D1543

K2,000

D200 ~ D215 of Slave ID#2

K0

After PLC LINK is enabled (M1350 = ON), the data in registers for data exchange becomes:

Write

Read

Read

Write

2 - 8 1

This manual is related to the following products: