Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1389

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

Advertisement

■Block memory
Operand: (d1)
Device
Symbol
Name
+0
BW
Output value
+1
+2
BB
BB1
Comparison
output
■Operation constant
Operand: (s2)
Device
Symbol
Name
+0
K
Set value
+1
+2
HS
Hysteresis
+3
Processing details
This instruction compares input values 1 (E1) and 2 (E2) and outputs the result (d1) to the comparison output (BB1).
Condition
E1(E2+K)
E1<(E2+K-HS)
(E2+K-HS)E1<(E2+K)
Operation error
Error code
3402H
3403H
3405H
Recommended range
The same value as the input value 1 (E1) is stored.
b15
The comparison result of E1 and E2 is stored.
Recommended range
-999999 to 999999
0 to 999999
Error content
The value specified by (s1) or (s2) is a subnormal number or NaN (not a number).
An overflow has occurred.
Hysteresis (HS) is less than 0.
...
b0
BB1
1
0
Last value is output.
11 PROCESS CONTROL INSTRUCTIONS
11.6 Comparison Operation Instructions
Data type
Standard
Set by
value
Single-precision
System
real number
16-bit unsigned
System
binary
Data type
Standard
Set by
value
Single-precision
0.0
User
real number
Single-precision
0.0
User
real number
11
1387

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents