Chapter 6 Applied Instructions 3. If the value in D 2 is 2, 3, 5, 6 or 9, it is suggested that you set a timeout period. After you set a timeout period, the instruction tries to send the data again if a stop character is not received. 4. The instruction does not automatically clear the value in D 1 – D 1 +n whenever the instruction is executed or the PLC begins to receive new communication data. You can know whether and how much data the PLC receives only after a completion flag switches from OFF to ON . If the you want to clear the values in D 1 – D 1 +n, use the ZRST 5. If the value in S 1 is out of range, the instruction is not executed. instruction (API 1206). 6.
If the number of devices starting from S 2 is not equal to the value in S 3 , the instruction is executed, SM0 is ON, and the error code in SR0 is 16#2003. 7. If the value in D 2 is not between 0–9, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 8. If the value in D 2 is 6, 8 or 9, and the number of devices starting from D 1 is not equal to the value in D 2 +1, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 9. If the quantity of data received is greater than the number of devices starting from D 1 , the data that cannot be stored is ignored. 10. If a completion flag is ON, the PLC stops receiving data.
If a communication port receives data when a completion flag is ON, the data is not received. 11. If the setting value in S 3 is not between 0–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 12. When the mode of D 2 is 6 or 8, the length of D 2 +1 not between 1–256, the instruction is not executed. SM0 is ON, 6_ and the error code in SR0 is 16#200B. 6-579