Delta AS Series Programming Manual page 503

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
5.
There is no limit on the number of times you can execute the instruction but only one execution can be done at a
time.
6.
It is suggested that you use with the XCMP instruction, and use the same first corresponding device for the
comparison result in the stack area (S
7.
D is only for the outputs of Y and M devices; Y and M should be the BOOL data type. It occupies a consecutive
number of work stations Xn. When used as the output point of Y or the M device, the instruction refreshes the output
states.
8.
The odd numbered head index values (for example 1, 3, 5,...) are the compared counter results for the object when
entering (Compared stack areas for the entering -work-station ones). The even numbered head index values (for
example 2, 4, 6,...) are the compared counter result of the object when leaving (Compared stack areas for the
entering -work-station ones).
9.
When the compared counter result for entering and leaving in the stack area are 0, the actions in this area are not
executed and the state of the corresponding output work station is OFF. Add 2 to the value of the tail index and the
added value in the tail index should not exceed the value of the head index.
10.
When the YOUT instruction is executed, each work station checks the compared value for entering and leaving in
the tail index. When the counter value is larger or the same as the compared value for entering, the corresponding
output point is ON and adds 1 to the value of the tail index. When the counter value is larger or the same as the
compared value for leaving, the corresponding output is OFF and adds 1 to the value of the tail index; but the value
of the tail index (after adding 1) does not exceed the value of the head index.
_6
Example: three work stations and up to four objects
Step 1: use the input point X0.4 as the object detection interrupt, HC202 as the high-speed counter for the encoder and
output point Y0.0 as the first output point for the work station.
6 - 2 2 4
).
3
Object
detection
Obj ect
En co der
Wo rk
Work
station
station
1
2
Work
station
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents