User`s manual
8 - 19 8 - 19
MELSEC-Q
8 I/O CONTROL INSTRUCTIONS
Control data
(1) Data specified in S.MOUT instruction
Specified position Symbol Name Recommended range
*1
Unit Data format
Standard
value
Store
Block
memory
D1
+0
+1
BW Output value (-999999 to 999999)
Real
number
S
S2
+0
+1
NMAX
Output
conversion
upper limit
-999999 to 999999
Real
number
100.0 U
Operation
constant
+2
+3
NMIN
Output
conversion
lower limit
-999999 to 999999
Real
number
0.0 U
D2
+1 MODE
Operation
mode
0 to FFFF
H
b15 b12 b8
b4 b0
L
C
C
L
C
A
L
C
M
M
A
N
A
U
T
C
A
S
C
M
B
C
A
B
C
C
B
C
M
V
C
S
V
BIN
16bit
8
H
S/U
+3 ALM
Alarm
detection
0 to FFFF
H
b15 b12 b8 b4 b0
S
P
A
SPA
0: Loop RUN
1: Loop STOP
BIN
16bit
4000
H
S/U
Loop tag
memory *
2
+12
+13
MV
Manipulated
value
-10 to 110 %
Real
number
0.0 U
*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.
*2: The loop tag memory and loop tag past value memory occupy a total of 128 words. (Refer to Section 3.3.1 for details.)
(2) Execution cycle ( T)
Set the execution cycle in SD1500 and SD1501 as real numbers.
Processing contents
(1) Mode judgment
Either of the following processings is performed depending on the operation mode (MODE).
(a) When the operation mode (MODE) is any of MAN, CMB, CMV and LCM
1) The manipulated value (MV) is used as the output value (BW).
2) "(2) Output conversion processing" is performed.
(b) When the operation mode (MODE) is any of AUT, CAB, CAS, CCB, CSV, LCA and LCC,
BW retains the last value.
(2) Output conversion
In the output conversion, the output value is calculated from the following formula.
100
NMAX NMIN
BW
MV
NMIN










