User`s manual
9 - 71 9 - 71
MELSEC-Q
9 CONTROL OPERATION INSTRUCTIONS
Control data
(1) Data specified in S.LS instruction
Specified position Symbol Name Recommended range
*1
Unit Data format
Standard
value
Store
S1
+0 n Input count 1 to 16
BIN
16bit
U
+1
+2
E1 Input value 1
+3
+4
E2 Input value 2
Input
data
+2
n-1
+2
n
E
n
Input value n
-999999 to 999999
Real
number
U
D1
+0
+1
BW Output value (Minimum value of E1 to En)
Real
number
S
+2 BB
Block
memory
BB1
to
BB16
Output
selection
b15 b12 b8 b4 b0
B
B
3
B
B
2
B
B
1
(0: The corresponding input value is not the
minimum value)
(1: The corresponding input value is the
minimum value)
B
B
4
B
B
5
B
B
6
B
B
7
B
B
8
B
B
9
B
B
10
B
B
11
B
B
12
B
B
13
B
B
14
B
B
15
B
B
16
BIN
16bit
S
*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) Low selector processing
The minimum value of the input values 1 (E1) to n (En) is stored into BW.
Also, any of BB1 to BB16 of BB corresponding to the minimum value is turned to 1.
Input value E16 E15 E14 to E2 E1
Bit turned to 1 at minimum value BB16 BB15 BB14 to BB2 BB1
(a) If there are two or more minimum values, the bits corresponding to the minimum values are
all turned to 1.
(b) If there is only one input
1) When only E1 is used as the input value
• E1 is stored into BW.
• BB1 of BB is turned to 1.
• BB2 to BB16 of BB are turned to 0.
2) Only one of E2 to E16 is used as the input value
• The input values of E2 to E16 and the data of E1 are used to perform processing.
Error
• When an operation error occurs Error code: 4100
• When not 1
number of inputs (n) 16 Error code: 4100










