EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 454

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.12 Floating Point
452
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.
When constants (K, H) are specified in the devices specified by , , , the values are
automatically converted and handled as binary floating decimal point data.
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. Specification of input and output variables
When handling 32-bit data in structured program, you cannot specify 16-bit device directly unlike the simple
project. When handling 32-bit data, please use the label.
However, the 32-bit counter is a 32-bit long device, and can be specified directly.
When specifying the device, use the global label.
4. Applicable devices are limited.
S1: FX3U, FX3UC PLCs only are applicable.
S2: FX
3U, 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
Label 1
*1
Label 2
*2
Label 3
*3
ON when >
s3 s2
s1 s3 s2
ON when
*1. To define the device for storing binary floating decimal point data (data 1) to be compared.
*2. To define the device for storing binary floating decimal point data (data 2) to be compared.
*3. To define the device for storing binary floating decimal point data (data 3) to be compared.
d

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals