![FATEK FBs Series Manual Download Page 303](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826303.webp)
Advanced Function Instruction
7 -1 3 9
FUN 212
P
FNEG
CHANGE SIGN OF THE FLOATING POINT NUMBER
FUN 212
P
FNEG
D : Register to be changed sign
D may combine with V, Z, P0~P9 to serve indirect
address application
HR
ROR
DR
K
XR
Range
Operand
R0
∣
R383
9
R5000
∣
R8071
D0
∣
D4095
Integer
16 Bit
number
V
、
Z
P0
~
P9
D
○
○
*
○
○
Description
z
The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation of the
format please refer to 5.3 (Numbering System) page 5 - 9 .
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction) from 0 to 1, the sign of the floating point number
register specified by D will be toogled.
EN
X0
212P.
FNEG
R0
z
The instruction at left negates the value of the
DR0 register, and stores it back to DR0.