Mitsubishi Electronics FX3G User Manual

Page of 964
185
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.2 OUT
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
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.16.
2. Applicable devices
S1: Special auxiliary relays (M) and 32-bit counters (C) cannot be indexed with index registers (V and Z).
S2: State relays (S) cannot be indexed with index registers (V and Z).
S3: "D .b" is available only in FX
3U
 and FX
3UC
 PLCs. However, index modifiers (V and Z) are not available.
S4: This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs.
S5: This function is supported only in FX
3U
/FX
3UC
 PLCs.
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 the same device number, however, it results in a double output
(double coil) operation.
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
S
1
S
1
S
2
S
3
S
5
Set 
value
S
4
S
5
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