7 Applied Instructions
7.12 Floating Point
490
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Program example
This is a program for inverting the sign of the binary floating decimal point data of D100, D101 when the X000
is turned ON, and storing in D100, D101.
1.2345 -1.2345
D101 D100D101 D100
X000
DENEGP
EN ENO
d
VAR_01
*1
[ST]
DENEGP(X000,VAR_01);
[Structured ladder]
*1. VAR_01 is global label, and D100 is defined.