Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
444
18 Applied Instructions (Floating Point)
18.2 DEZCP / Floating Point Zone Compare
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 32-bit operation (DEZCP, DEZCPP)
The compared value specified by , and the comparison source specified by are compared as
floating decimal point data, and depending on the result of smaller, within range, or greater, 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. Comparison data of and
The magnitude relation of comparison data is £ .
In the case of > , the value of is regarded to be same as , and is compared.
3. Some restrictions to applicable devices.
S1: The FX3U and FX3UC PLCs only are applicable.
S2: The FX
3U and FX3UC PLCs only are applicable.
However, index decoration is not applicable.
If the command input is OFF and DEZCP instruction cannot be executed, the device specified by holds
the state before the command input is turned OFF.
Command input
+1
+2
DEZCP
EN
s1
s2
ENO
d
s3
d
d
d
ON when >
s1 s3
Head bit device for output of result
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
Device for storing binary floating
decimal point data (data 3) to be compared
ON when >
s3 s2
s1 s3 s2
ON when
d