
7 Application Instructions API 50-99
DVP-PLC APPLICATION MANUAL
7-106
API Mnemonic Operands Function
87
D ABS P
Absolute Value
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices Word Devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
D * * * * * * * *
ABS, ABSP: 3 steps
DABS, DABSP: 5 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
D: Device of the absolute value
Explanations:
1. See the specifications of each model for their range of use.
2. This instruction obtains the absolute value of the content in the designated in D.
3. This instruction adopts pulse execution instructions (ABSP, DABSP).
Program Example:
When X0 = Off→On, obtain the absolute value of the content in D0.
X0
ABS D0
Komentarze do niniejszej Instrukcji