Delta AH500 Programming Manual page 336

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
0706
INCD
Device X
Y
M
S
1
S
2
D
n
Symbol:
Explanation:
1.
The instruction INCD is used to generate multiple pulses for a pair of counters.
2.
The current value of S
matches the setting value, the current value of S
group number is stored in S
3.
After the comparison between the current values of S
SM688 is ON for a scan cycle.
4.
When the conditional contact is not enabled, the value in S
D~D+n-1 are OFF, and SM688 is OFF.
5.
When the on-line editing is used, please reset the conditional contact to initialize the
instruction.
6.
The operand n should be within the range between 1 and 256.
Example:
1.
Before the instruction INCD is executed, the instruction MOV is used to write the setting values
in D100~D104. The values in D100~D104 are 15, 30, 10, 40, and 25 respectively.
2.
The current values of C10 is compared with the setting values in D100~D104. When the
current value matches the setting value, C10 is rest to 0, and counts again.
3.
The current comparison group number is stored in C11.
4.
When the value in C11 changes by one, M10~M14 act correspondingly. Please refer to the
timing diagram below.
5.
When the comparison between the current values of C10 and the values in D100~D104 is
complete, SM688 is ON for a scan cycle.
6.
When X0.0 is switched from ON to OFF, C10 and C11 are reset to 0, and M10~M14 are
switched OFF. When X0.0 is ON again, the execution of the instruction starts from the
beginning.
6 - 1 6 8
Operand
S
, S
, n, D
1
2
S
T
C
HC
D
Pulse instruction 16-Bit instruction (9 steps) 32-Bit instruction
Initial device in the
S
1
comparison
: Counter number
S
2
: Comparison result
D
Number of comparison
n
groups
is compared with the setting value in S
2
+1.
2
Incremental drum sequencer
L
SM SR
E
PR
AH500
Word
Word
Bit
Word
. When the current value
1
is rest to 0, and the current comparison
2
and the n groups of values is complete,
2
is 0, the value in S
2
Function
K
16# "$"
DF
+1 is 0,
2

Advertisement

Table of Contents
loading

Table of Contents