466
18 Applied Instructions (Floating Point)
18.9 DESUB / Floating Point Subtraction
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 32-bit operation (DESUB, DESUBP)
The binary floating decimal point data in the device specified by are subtracted from the device specified
by , and the result is transferred to the device specified by in binary floating decimal point.
Cautions
1) When the same devices are specified, the same device numbers can be specified in and and
. In this case, when the continuous execution type instruction (DESUB) is used, it must be noted that
the subtraction result changes in every operation cycle.
2) The instruction is provided in the FX
3G PLC Ver. 1.10 or later.
3) Some restrictions to applicable devices.
S1: The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S2: The FX
3U and FX3UC PLCs only are applicable.
S3: The FX
3S, FX3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
Command input
DESUB
EN
s1
s2
ENO
d
[ +1, ] - [ +1, ] → [ +1, ]
Binary floating
decimal point
Binary floating
decimal point
Binary floating
decimal point
ds1 s2s1 s2 d
Device for storing binary floating
decimal point data to be subtracted
Device for storing binary floating
decimal point data to be subtracted
Device for storing the subtracted binary
floating decimal point data