Delta AS Series Programming Manual page 793

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
10. CompS is where you store the values (in 32-bit integer format) for comparison. It takes several space of Dword in
CmpLen consecutively. You need to arrange the values (should be non-identical) in order, either ascending or
descending. When in ascending order, the counting method is count-up and the values used should be positive integer
numbers. When in descending order, the counting method is count-down and the values used should be negative
integer numbers. It is suggested to use array of Dword to declare.
When the counter type is linear, the value in CompS should satisfy the following condition: the smallest counter
value < CompS < the largest counter value.
If you are using SSI (serial synchronous interface) encoder and the setting of counter mode is in Absolute Position.
The value in CompS should satisfy the following condition: 0< CompS<2
11. The timing to be considered reaching the set value varies according to different settings on input interfaces in
HWCONFIG, for example pulse input and SSI input.
Comp
Counted Value
Pulse Input -
_6
Timing to consider as reaching the target
Timing to consider as reaching the target
If the input interface is pulse input, the timing to be considered to meet the set value is before the counting leaving the
set value. Take CompS = 5 as an example, when the counting goes from 5 to 6 or from 5 to 4, the timing here is
considered the set value reached.
If the input interface is SSI input, the timing to be considered reaching the set value is right before the counting touching
the set value. Take Comp = 5 as an example, when the counting goes from 4 to 5 or from 6 to 5, the timing here is
considered the set value reached.
12. If the counter value of ChNo met the set value, the appointed output point by YnoS reacts according to the settings
for ActionS. The value in ActionS should be a 16-bit integer and takes several space of Word in CmpLen
consecutively.
6-514
Ex. Comp = 5
Counting up
4
3
2
1
0
0
1
2
3
4
5
SSI Input -
8
7
6
5
6
7
8
9
(MT+ST Length)
.
7
Counting down
6
5
4
3
2
7
6
5
4
3
2
1
0
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents