Mitsubishi Electric MELSEC-Q QnPHCPU Programming Manual page 227

Table of Contents

Advertisement

12 COMPARISON OPERATION INSTRUCTIONS
Control data
(1) Data specified in S.
Specified position
Symbol
+0
S1
E1
+1
Input
data
+2
E2
+3
+0
D1
BW
+1
BB
Block
memory
+2
BB1
+0
S2
K
+1
Operation
constant
+2
HS
+3
*1: The data of the item(s) where the values within the recommended range are given in the parentheses are stored by the system.
Users cannot set the data.
Processing contents
(1) Compares the input value 1 (E1) with the input value 2 (E2), and outputs the result of the
comparison to BB1 of the block memory.
E1
E1
(E2
Error
• When the hysteresis value is negative
12 - 4
instruction
Name
Input value 1
-999999 to 999999
Input value 2
-999999 to 999999
(The same value as the input value 1 (E1) is
Output value
stored)
b15
Comparison
output
(The result of comparison between E1 and
E2 is stored.)
Set value
-999999 to 999999
Hysteresis
0 to 999999
Condition
(E2
K)
(E2
K
HS)
K)
E1
(E2
K
HS)
*1
Recommended range
b12
b8
b4
BB1
1
0
Last value is output
MELSEC-Q
Standard
Unit
Data format
Real
number
Real
number
Real
number
b0
B
B
BIN
1
16Bit
Real
number
Real
number
Error code: 4100
Store
Value
U
U
S
S
0.0
U
0.0
U
12 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q qnprhcpu

Table of Contents