High
−
level Instructions
3
−
736
Description
Takes the absolute value of real number data specified by S when the trigger turns on. The result (absolute
value) is stored in D+1 and D.
Real number
data
15
0
D:
Real number
data
Lower word
D+1:
Higher word
15
0
S:
Lower word
S+1:
Higher word
Specifying the integer device with [S], the integer data is internally converted to real numbers before
operations continue.
When the constant K is specified in [S], the operations are the same as when a integer device is specified.
Precaution during programming
For FP0, this instruction
F336 (FABS)
cannot be programmed in the interrupt program.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area specified using the index modifier exceeds the limit.
−
If data other than real number data is specified in S+1 and S.
・
= flag (R900B):
Turns on when result of processing is recognized as “0.”
・
Carry flag (R9009): Turns on for an instant when the result is overflowed.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...