Delta Electronics — 6.8.2 Explanation of Miscellaneous Instructions

Chapter 6 Applied Instructions The first row of input signals are read. Y0.0 1 3 The second row of input signals are read. 2 4 Y0.1 Additional remarks 1. When this instruction is executed, a cycle time that is too long or a too short causes the state of the switches to be read incorrectly. Use the following tips to solve this issue.  When the scan cycle is too short, the I/O may not be able to respond in time and the correct states of the inputs cannot be read. You can set a fixed scan time to solve this issue.  When the scan cycle is too long, the switch may be slow to react. You can write this instruction in a timer interrupt task to set a fixed time to execute this instruction. 2.

If S +7, D 1 + n -1, or D 2 +( n* 8)-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3. If n is not between 2–8, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 4. If you declare the operand S in ISPSoft, the data type is ARRAY [8] of BOOL. 6_ 6-191