Chapter 7 Comparison Operation; Comparison (>) With Setting Value (M+P_Gt) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

7
COMPARISON OPERATION
The following FBs perform comparison operation (, >, =, <, ).
To set initial values of public variables of the general process FB arranged on a user-defined tag FB in "FB
Property" of the engineering tool, refer to the following.
 GX Works3 Operating Manual
7.1
Comparison (>) with setting value (M+P_GT)
M+P_GT
This FB compares (>) the input 1 (IN1) with the input 2 (IN2) using a setting value and hysteresis and outputs the result to the
comparison output (B_). This function block always outputs values to the input 1 (IN1) from the output (OUT_).
FBD/LD
M+P_GT
IN1
OUT_
IN2
B_
■Block diagram
M+P_GT
IN1
Comparison (>)
IN2
processing
Setting data
■Input/output variable
Variable
Description
name
IN1
Input 1
IN2
Input 2
OUT_
Output
B_
Comparison Output
■Public variable (operation constant)
Variable
Description
name
K_
Setting Value
HS
Hysteresis
(OUT_=IN1)
OUT_
(comparison
B_
output)
Recommended
Type
range
-999999 to 999999
Input variable
-999999 to 999999
Input variable
-999999 to 999999
Output variable
TRUE, FALSE
Output variable
Recommended
Initial value
range
-999999 to 999999
0.0
0 to 999999
0.0
7 COMPARISON OPERATION
7.1 Comparison (>) with setting value (M+P_GT)
Data type
REAL
REAL
REAL
BOOL
Set by
Data type
User
REAL
User
REAL
101
7

Advertisement

Table of Contents
loading

Table of Contents