User manual

Highlevel Instructions
3 735
Outline Takes absolute value of real number data.
For the FP0R/FPΣ/FPX/FP0/FPe, the P type highlevel instruction
“P336 (PFABS)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F336 FABS, DT10, DT2010
R0
10
11
ST R 0
F336 (F ABS)
DT 10
DT 20
S Real number data (2 words) or lower 16-bit area of 32-bit data (source)
D Lower 16-bit area of 32-bit data for storing converted data (destination)
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S A A A A A A A A A A A A A A* A
D N/A A A A A A A A A A N/A N/A N/A A N/A
* Index modification of a real number is not possible.
Explanation of example
When the real number data “1234.567” is in DT10 and DT11, as shown below.
DT10:
DT11:
(f1234.567)
DT20:
DT21:
(f1234.567)
When the real number data 1234.567” is in DT10 and DT11, as shown below.
DT10:
DT11:
(f1234.567)
DT20:
DT21:
(f1234.567)
F336
P336
(PFABS)
(FABS)
Floating point real number data absolute
A
:
A
vailable
N/A: Not Available