DVP-ES3 Series Programming Manual D tends to occupy more space in the stack area. If the required space exceeds the range of device D , the PLC only executes what is valid in the storage and does not show a no warning. It is suggested that you declare an array of 2xn+4xmxn words for D . 8. There is no limit on the number of times you can execute the instruction but only one execution can be done at a time. 9. It is suggested to use this instruction with the YOUT instruction (API 0710), and use the same first corresponding device for the comparison result in the stack area ( D ). _6 10.
The following timing diagram shows executing the high-speed counter and filter (reading from right to left). ① PLC reads the current counter value and stores the value in a register. ② Drop the counter value: the number of filters read is less than the number of filters set. ③ Record the counter value to the compared stack area for the entering-work-station ones, when the signal is stable. ④ Record the counter value to the compared stack area for the leaving-work-station ones, when the signal is stable.
⑤ The number of filters 6-220 Function Work station 1 Work station 2 ‧‧‧ Work station n Compared stack area 1 for the entering -work-station ones (32-bit) D+2xn D+2xn+2 ‧‧‧ D+2xn+2(n-1) Compared stack area 1 for the leaving-work-station ones (32-bit) D+4xn D+4xn+2 ‧‧‧ D+4xn+2(n-1) : : : : : Compared stack area m for the entering -work-station ones (32-bit) D+4xmxn-2xn ‧‧‧ D+4xmxn-2 Compared stack area m for the leaving-work-station ones (32-bit) D+4xmxn ‧‧‧ D+4xmxn+2 (n-1)