2. Programming Concepts d) Up to16 Slaves can be accessed through PLC LINK. For allocation of D100 ~ D115 and D200 ~ D215 in each Slave PLC, please refer to the tables of Special M and Special D of this function in previous pages. 15. Example 2: Conncet DVP-PLC with VFD-M inverter and control the RUN, STOP, Forward operation, Reverse operation through PLC LINK.
a) Write the ladder diagram program into Master PLC (ID#17) Master ID# COM2 communication protocol Retain communication setting Data length to be read Data length to be witten Starting reference of data to be read on Slave Starting reference of data to be written on Slave ID# of the starting Slave Set the Slave to be linked manually PLC LINK b) M1355 = ON. Set the Slave to be linked manually by M1360~M1375. Set ON M1360 to link Slave ID#1. c) Address H2100-H2105 maps to registers D1480-D1485 of PLC. When X1 = ON, PLC LINK executes, and the data in H2100-H2105 will be displayed in D1480-D1485. d) Address H2000-H2001 maps to registers D1496-D1497 of PLC.
When X1 = ON, PLC LINK executes, and the parameter in H2000-H2001 will be specified by D1496-D1497. e) Commands of VFD can be specified by changing the value in D1496. (e.g. D1496 = H12=>VFD forward operation; D1496 = H1=> VFD stops) f) Frequency of VFD can be specified by changing the value in D1497. (e.g. D1497 = K5000, set VFD frequency as 50kHz.) g) In addition to VFD AC motor drives, devices support MODBUS protocol such as DTA/DTB temperature controllers and ASDA servo drives can also be connected as Slaves. Up to 16 Slaves can be connected. 16. TD1354 is a PLC link scan cycle (unit: 1ms), and max. display value is K32000.
D1354 = K0 when PLC Link stops or when the first scan is completed. 2-69 Master PLC Preset value Slave PLC Preset value D1528 ~ D1543 K2,000 D200 ~ D215 of Slave ID#2 K2,000 M1002 MOV K17 D1121 MOV H86 D1120 SET M1120 Retain c MOV K6 D1434 MOV K2 D1450 MOV H2100 D1355 MOV H2000 D1415 MOV K1 D1399 SET M1355 Set the S SET M1360 Link Sla X1 M1351 Auto mode M1350 Enable EASY PL END END MOV K17 D1121 MOV H86 D1120 SET M1120 MOV K6 D1434 MOV K2 D1450 MOV H2100 D1355 MOV H2000 D1415 MOV K1 D1399 SET M1355 SET M1360