DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

b)Set up Master PLC ID by D1121 and the starting slave ID by D1399. Then, set slave ID of each slave PLC. The ID of master PLC and slave PLC cannot be the same.

c)Set data length for accessing. (If data length is not specified, PLC will take default setting or the previous value as the set value. For details of data length registers, please refer to the tables above)

d)Set starting reference of the Slave to be accessed. (Default setting for starting reference to be read: H1064 (D100); default setting for starting reference to be written: H10C8 (D200). For details of starting reference registers, please refer to the tables above)

e)Steps to start PLC LINK:

„Set ON M1354 to enable simultabeous data read/write in a polling of PLC LINK..

„M1355 = ON, Slave status is user-defined. Set the linking status of Slave manually by M1360~M1375. M1355 = OFF, Slave status is auto-detected. Linking status of Slave can be monitored by M1360~M1375

„Select auto mode on PLC LINK by M1351 or manual mode by M1352 (Note that the 2 flags should not be set ON at the same time.) After this, set up the times of polling cycle by D1431.

„Finally, enable PLC LINK (M1350)

8.The Operation of Master PLC:

a)M1355 = ON indicates that Slave status is user-defined. Set the linking status of Slave manually by M1360~M1375.

b)M1355 = OFF indicates that Slave status is auto-detected. Linking status of Slave can be monitored by M1360~M1375.

„Enable PLC LINK (M1350). Master PLC will detect the connected Slaves and store the number of connected PLCs in D1433. The time for detection differs by number of connected Slaves and time-out setting in D1129.

„M1360~M1375 indicate the linking status of Slave ID 1~16

„If no slave is detected, M1350 will be OFF and PLC LINK will be stopped.

„PLC will only detect the number of slaves at the first time when M1350 turns ON.

„After auto-detection is completed, master PLC starts to access each connected slave. Once slave PLC is added after auto-detection, master PLC cannot access it unless auto-detection is conducted again.

c)Simultaneous read/write function (M1354) has to be set up before enabling PLC LINK. Setting up this flag during PLC LINK execution will not take effect.

d)When M1354 = ON, PLC takes Modbus Function H17 (simultaneous read/write function) for PLC LINK communication function. If the data length to be written is set to 0, PLC will select Modbus Function H03 (read multiple WORDs) automatically. In the same way, if data length to be read is set to 0, PLC will select Modbus Function H06 (write single WORD) or Modbus Function H10 (write multiple WORDs) for PLC LINK communication function.

e)When M1353 = OFF, PLC LINK accesses the Slave with max 16 words, and the data is automatically stored in the corresponding registers. When M1353 = ON, up to 50 words are

2 - 78

Page 110
Image 110
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual