Delta Electronics AH500 Manual page 157

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
API
Instruction code
25
D
DEC
Device
X
Y
M
D
E xp la nat io n
E xa mple
Operand
P
S
K
16#
F
Pulse instruction 16-bit instruction (3 steps) 32-bit instruction (3 steps)
D: Destination device
If the instruction used is not a pulse instruction, the value in D used by
the instruction decreases by one whenever the instruction is executed.
Generally, the pulse instructions DECP and DDECP are used.
If a 16-bit operation is performed, -32,768 minus 1 leaves 32,767. If a
32-bit operation is performed, -2,147,483,648 minus 1 leaves
2,147,483,647.
When X0.0 is turned from OFF to ON, the value in D0 decreases by one.
X0.0
D
KnM KnS
D
W
DECP
D0
Function
Subtracting one from a
binary number
T
C
V
Z
5 - 4 2

Advertisement

Table of Contents
loading

Table of Contents