Delta AH500 Programming Manual page 450

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
1210
D
ABS
Device X
Y
M
D
Symbol:
Explanation:
1.
When the instruction ABS is executed, the absolute value of the value in the device specified
by D is gotten.
2.
Generally, the pulse instruction ABSP is used.
3.
Only the 32-bit instructions can use the 32-bit counter.
Example:
Suppose the value in D0 before the execution of the instruction is -1234. When X0.0 is switched
from OFF to ON, the absolute value of -1234 in D0 is gotten. That is, the value in D0 becomes 1234
after the instruction is executed.
6 - 2 8 2
Operand
D
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (3 steps) 32-bit instruction (3 steps)
AH500
Device involved in the getting of the
D :
absolute value
Absolute value
L
SM SR
E
PR
AH500
Function
K
16# "$"
DF
AH500
Word/Double word

Advertisement

Table of Contents
loading

Table of Contents