157
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.2 OUT
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
7.2
OUT
Outline
OUT instruction drives coils of output relays (Y), auxiliary relays (M), state relays (S), timers (T) and counters
(C).
1. Instruction format
→
For the number of instruction steps, refer to Section 7.15.
2. Applicable devices
S
1: Special auxiliary relays (M) and 32-bit counters (C) cannot be indexed with index registers (V and Z).
S
2: State relays (S) and "D
.b" cannot be indexed with index registers (V and Z).
Explanation of function and operation
1. When a bit device is used
A device described in OUT instruction turns ON or OFF according to the driven contact status.
Parallel OUT instructions can be used consecutively as many times as necessary.
In the program example shown below, OUT M100 and OUT M101 are parallel.
If two or more OUT instructions are executed for a same device number, however, the double output (double
coil) operation is resulted.
Instruc-
tion
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
OUT
3
S
1
3
S
1
S
2
S
2
3
Set
value
3 3
3
3 3
OUT
OUT
Basic Instruction
OUT
−
Continuous
Operation
Pulse (Single)
Operation
Mnemonic
Operation Condition
Program step numbers are
automatically controlled.
Circuit program
List program
LD
OUT
LDI
OUT
OUT
0000
0001
0002
0003
0004
X000
Y000
X001
M100
M101
X000
Y000
X001
M100
M101
OUT instruction
OUT instruction
OUT instruction
Drive contact of
OUT instruction