Delta DVP-ES2 User Manual
Page 277
3 . I n s t r u c t i o n S e t
3 - 1 6 1
API Mnemonic
Operands
Function
62
D ABSD
Absolute Drum
Sequencer
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices
Word devices
Program Steps
Type
OP
X Y
M S K H KnX KnY KnM KnS T C D E F
S
1
*
*
*
*
*
*
*
S
2
*
*
*
D
*
*
*
n
*
*
ABSD: 9 steps
DABSD: 17 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: Start device of the data table S
2
: No. of counter D: Start device for indicating comparison
result n: Groups of data to be compared (n: 1~64)
Explanations:
105. ABSD instruction creates various output wave forms according to the current value of the
counter designated by S
2.
Usually, the instruction is applied for absolute cam control.
106. S
2
of DABSD instruction can designate high speed counters. However, when the present value
in the high speed counter is compared with the target value, the result cannot output
immediately owing to the scan time. If an immediate output is required, please use DHSZ
instruction that is exclusively for high speed counters.
107. When operand S
1
uses KnX, KnY, KnM, KnS patterns, Kn should be K4 for 16-bit instruction
and K8 for 32-bit instruction.
Program Example:
108. Before the execution of ABSD instruction, use MOV instruction to write all the set values into
D100 ~ D107 in advance. The even-number D is for lower bound value and the odd-number D
is for upper bound value.
109. When X10 = ON, the present value in counter C10 will be compared with the four groups of
lower and upper bound values in D100 ~ D107. The comparison results will be stored in M10 ~
M13.
110. When X10 = OFF, the original ON/OFF status of M10 ~ M13 will be retained.
X20
ABSD
D100
C10
M10
K4
C10
RST
C10
X21
CNT
C10
K400
X21