Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
442
18 Applied Instructions (Floating Point)
18.1 DECMP / Floating Point Compare
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 32-bit operation (DECMP, DECMPP)
The compared value specified by and the comparison source specified by are compared as
floating decimal point data, and depending on the result of greater, smaller, or equal, any bit of devices ( ,
+1, and +2) specified by is turned ON.
Cautions
1. Number of devices occupied
occupies 3 points.
Be careful not to overlap with the devices used in other applications.
2. The instruction is provided in the FX3G PLC Ver. 1.10 or later.
3. Some restrictions to applicable devices.
S1: The FX3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S2: The FX
3U and FX3UC PLCs only are applicable.
S3: The FX
3U and FX3UC PLCs only are applicable.
However, index decoration is not applicable.
S4: The FX
3S, FX3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
ON when
ON when
ON when
To define the device for storing binary floating
decimal point data (data 1) to be compared.
*1.
To define the device for storing binary floating
decimal point data (data 2) to be compared.
*2.
Command
If the command input is OFF and DECMP instruction cannot be executed, the device specified by holds
the state before the command input is turned OFF.
+1
+2
DECMP
EN
s1
s2
ENO
d
d
d
d
d
Device for storing binary floating
decimal point data (data 1) to be compared
Device for storing binary floating
decimal point data (data 2) to be compared
Head bit device
for output of result
s1 s2
>
s2
=
s1
s1
s2
<