Mitsubishi MELSEC-Q series Programming Manual page 236

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

S. >
Set Data
Set Data
(1) Data specified in S. > instruction
Specified
Symbol
position
+0
S1
E1
Input
+1
data
+2
E2
+3
+0
D1
BW
+1
BB
Block
memory
+2
BB1
+0
S2
K
Operation
+1
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.
Set 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.
Condition
E1 > (E2 + K)
E1  (E2 + K - HS)
(E2 + K - HS) < E1  (E2 + K)
Operation Error
In the following cases, the error flag (SM0) turns ON and the error code is stored in SD0.
Error code
When an operation error occurs
When the values of
4100
normalized number
When the hysteresis value is negative
When the values of
4140
normalized number
When an operation error occurs
4141
When the hysteresis value is negative
234
Name
Recommended range
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
b12
Comparison
output
(The result of comparison between E1 and
E2 is stored.)
Set value
-999999 to 999999
Hysteresis
0 to 999999
BB1
1
0
Last value is output
Error definition
,
are either a non-numeric or non-
S1
S2
,
are either a non-numeric or non-
S1
S2
*1
Unit
––
––
––
––
b8
b4
b0
B
B
1
––
––
––
QnPHCPU
QnPRHCPU
––
––
––
Standard
Set
Data format
value
by
Real number
––
U
Real number
––
U
Real number
––
S
BIN
––
S
16Bit
Real number
0.0
U
Real number
0.0
U
QnUDPVCPU
––
––
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents