2. Programming Concepts

M1416

M1417

M1418

M1419

M1420

M1421

M1422

M1423

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

“Writing completed” flag (turns “Off” whenever access of a Slave is completed)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M1432

M1433

M1434

M1435

M1436

M1437

M1438

M1439

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slave PLC*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SLAVE ID 9

SLAVE ID 10

SLAVE ID 11

SLAVE ID 12

SLAVE ID 13

SLAVE ID 14

SLAVE ID 15

SLAVE ID 16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

 

Write

Read

 

Write

Read

 

Write

Reado

 

Write

Read

 

Write

Read

 

Write

Read

 

Write

Read

 

Write

out

 

in

out

 

in

out

 

in

ut

 

in

out

 

in

out

 

in

out

 

in

out

 

in

D100

 

D200

D100

 

D200

D100

 

D200

D100

 

D200

D100

 

D200

D100

 

D200

D100

 

D200

D100

 

D200

D115

 

D215

D115

 

D215

D115

 

D215

D115

 

D215

D115

 

D215

D115

 

D215

D115

 

D215

D115

 

D215

*Note:

„Default setting for starting reference of the Slave (DVP-PLC) to be read: H1064 (D100)

„Default setting for starting reference of the Slave (DVP-PLC) to be written: H10C8 (D200)

6.Explanation:

a)PLC LINK is based on MODBUS communication protocol

b)Baud rate and communication format of all phariferal devices connected to the Slave PLC should be the same as the communication format of Master PLC, no matter which COM port of Slave PLC is used.

c)When M1356 = OFF(Default), the station number of the starting Slave (ID1) can be designated by D1399 of Master PLC through PLC LINK, and PLC will automatically assign ID2~ID16 with consecutive station numbers according to the station number of ID1. For example, if D1399 = K3, Master PLC will send out communication commands to ID1~ID16 which carry station number K3~K18. In addition, care should be taken when setting the station number of Slaves. All station numbers of slaves should not be the same as the station number of the Master PLC, which is set up in D1121/D1255.

d)When both M1353 and M1356 are ON, the station number of ID1~ID16 can be specified by the user in D1900~D1915 of Master PLC. For example, when D1900~D1903 = K3, K3, K5, K5, Master PLC will access the Slave with station number K3 for 2 times, then the slave with station number K5 for 2 times as well. Note that all station numbers of slaves should not be the same as the station number of the Master PLC, and M1353 must be set ON for this function.

e)Station number selection function (M1356 = ON) is supported by versions of ES2/EX2 v1.4.2 or later, SS2/SX2 v1.2 or later, and SA2 v1.0 or later.

7.Operation:

a)Set up the baud rates and communication formats. Master PLC and all connected Slave PLCs should have the same communication settings. COM1_RS-232: D1036, COM2_RS-485: D1120, COM3_RS-485: D1109.

2 - 7 7

Page 109
Image 109
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual M1416 M1417 M1418 M1419 M1420 M1421 M1422 M1423