2 Functions of Devices in DVP-PLC a) Example 1: Enabling 32 slave units linkage and up to 100 data for exchange in PLC LINK by M1353 M1353 has to be set On before PLC LINK is enabled. When PLC LINK is executed, On/Off of M1353 will not affect the execution. Registers designated in D1480 ~ D1495, D1576~D1591 (starting register for data read from Slave ID#1 ~ 16) and D1496 ~ D1511, D1592 ~ D1607 (starting register for data written into Slave ID#1 ~ 16) can only be register D, and every special D will correspond to one Slave ID#, e.g. D1480 corresponds to ID1, D1481 to ID2, and so on. D1480 ~ D1495, D1576 ~ D1591, D1496 ~ D1511 and D1592 ~ D1607 have to be set before PLC LINK is enabled.
In the execution of PLC LINK, you can modify the contents in these special Ds, but the modified results will take effect in the next PLC LINK polling. If the ID# designated by D1480 ~ D1495, D1576 ~ D1591, D1496 ~ D1511 and D1592 ~ D1607 is smaller than 0 or bigger than 9,900, PLC will automatically correct the ID# into 9,900. If M1353 is not enabled during the execution of PLC LINK, the range for D1434 ~ D1449, D1544 ~ D1559 (number of data read from Slave ID#) and D1450 ~ D1465, D1560 ~ D1575 (numbere of data written into Slave ID#) will be 0 ~ 16. If the setting in the special D exceeds the range, PLC will correct it to 16. When M1353 is enabled, the range will be 0 ~ 100.
If the setting in the special D exceeds the range, PLC will correct it to 100. You can modify the settings in D1434 ~ D1449, D1544 ~ D1559, D1450 ~ D1465 and D1560 ~ D1575 during the execution of PLC LINK, but the modified results will take effect in the next PLC LINK polling. DVP-PLC Application Manual 2-135 M1002 SET MOV MOV SET MOV MOV MOV MOV MOV X1 M1351 M1350 END END SET M1353 MOV K17 D1121 MOV H86 D1120 M1120 MOV K2000 D1480 MOV K3000 D1496 MOV K300 D1129 MOV K48 D1434 MOV K48 D1450 SET M1120