A H 5 0 0 M o t i o n C o n t r o l M o d u l e M a n u a l
5 - 4 2
API
Instruction code
Operand
Function
25
D
DEC
P
D
Subtracting one from a
binary number
Device
X
Y
M
S
K
16#
F
KnM KnS
D
W
T
C
V
Z
D
Pulse instruction 16-bit instruction (3 steps) 32-bit instruction (3 steps)
E xp la nat io n
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.
D
: Destination device
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.
E xa mple
When X0.0 is turned from OFF to ON, the value in D0 decreases by one.
X0.0
D EC P
D 0
Summary of Contents for AH500
Page 9: ...viii...
Page 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Page 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Page 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Page 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Page 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Page 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Page 436: ...Chapter 8 Electronic Cam 8 17...
Page 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Page 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Page 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Page 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...