3. Instruction Set
Function Work station
1
Work station
2
‧‧‧
Work station
n
(16-bit)
D+0 D+1
‧‧‧
D+(n-1)
Value of the tail index
(16-bit)
D+n D+(n+1)
‧‧‧
D+(2xn-1)
Compared counter result 1
of the object when entering
(32-bit)
D+2xn D+2xn+2
‧‧‧
D+2xn+2(n-1)
Compared counter result 1
of the object when leaving
(32-bit)
D+4xn D+4xn+2
‧‧‧
D+4xn+2(n-1)
: : : : :
Compared counter result m
of the object when entering
(32-bit)
D+4xmxn-2xn
‧‧‧
D+4xmxn-2
Compared counter result m
of the object when leaving
(32-bit)
D+4xmxn
‧‧‧
D+4xmxn+2
(n-1)
9. 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.
10. There is no limit on the number of times you can execute the instruction but only one execution
can be done at a time.
11. 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).
12. The following timing diagram shows executing the high-speed counter and filter (reading from
right to left).