Mitsubishi MELSEC-Q series Programming Manual page 240

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
Operation
+0
S2
K
constant
+1
*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)
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
4100
When the values of
normalized number
When the values of
4140
normalized number
4141
When an operation error occurs
238
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
BB1
1
0
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
QnUDPVCPU
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents