Outputting A Band Comparison Result Of Single-Precision Real Number - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Outputting a band comparison result of single-precision real
number
EZCP(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• The RnCPU and RnENCPU with firmware version "17" or later support these instructions. (Use an engineering tool with version "1.020W" or later.)
These instructions compare the band between the single-precision real number specified by lower limit value (s1) and the
single-precision real number specified by upper limit value (s2) with the single-precision real number in the device specified by
comparison data (s3). According to the comparison result (below, within zone, or above), (d), (d)+1, or (d)+2 is turned on.
Ladder
(s1)
(s2)
(s3)
FBD/LD
EN
ENO
s1
d
s2
s3
■Execution condition
Instruction
EZCP
EZCPP
Setting data
■Description, range, data type
Operand
Description
(s1)
Lower limit value or the start device for storing the lower
limit value
(s2)
Upper limit value or the start device for storing the upper
limit value
(s3)
Comparison data or the start device for storing the
comparison data
(d)
The start device where the comparison result is stored
EN
Execution condition
ENO
Execution result
RnSFCPU RnSFCPU
(Standard)
(Safety)
(d)
Execution condition
ST
ENO:= EZCP(EN, s1, s2, s3, d);
ENO:= EZCPP(EN, s1, s2, s3, d);
Range
Data type
-126
128
|(s1)|<2
0, 2
Single-precision real
number
-126
128
|(s2)|<2
0, 2
Single-precision real
number
-126
128
|(s3)|<2
0, 2
Single-precision real
number
Bit
Bit
Bit
7 APPLICATION INSTRUCTIONS
Data type (label)
ANYREAL_32
ANYREAL_32
ANYREAL_32
ANYBIT_ARRAY
(Number of elements: 3)
BOOL
BOOL
7.9 Real Number Instructions
7
713

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents