5 Basic Instruction
5.3 OUT (Excluding timers and counters)
69
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Cautions
1) Some restrictions to applicable devices
S1: The FX
3U and FX3UC PLCs only are applicable.
S2: Only the FX
3U and FX3UC PLCs are capable of indexing applicable devices.
The following devices cannot be indexed.
• Special auxiliary relays (M)
• State (S)
• Word bit specification "D
.b"
2) The following instructions are used to operate the timer and counter in a structured program. Note that
they are not operable in the OUT instruction.
Errors
1) When a Y number used in OUT instruction does not exist due to indexing, M8316 (Non-existing I/O
specification error) turns ON. (Applicable to the FX
3U and FX3UC PLCs only)
2) When the device number of a device (M,T,C)other than I/O does not exist due to indexing, an operation
error (error code: 6706) occurs. (Applicable to the FX
3U and FX3UC PLCs only.)
Program example
1. When using bit device
2. When specifying bit of word device
Instruction name Reference
OUT_T Section 5.4.1
OUT_C Section 5.5.1
OUT_C_32 Section 5.5.1
[ ST ]
OUT(X5,Y33);
IF X6 THEN
OUT(TRUE,Y34);
OUT(TRUE,Y35);
END_IF;
X005
Or
X005
OUT
EN ENO
d
Y033
Y033
X006 Y034
Y035
OUT
EN ENO
d
Y034
OUT
EN ENO
d
Y035
X006
[Structured ladder]
X005
Or
X005
OUT
EN ENO
d
D0.5
D0.5
X006 D0.6
D0.7
OUT
EN ENO
d
D0.6
OUT
EN ENO
d
D0.7
X006
[Structured ladder]
[ ST ]
OUT(X5,D0.5);
IF X6 THEN
OUT(TRUE,D0.6);
OUT(TRUE,D0.7);
END_IF;
b0
b5b6
b7
b15
D0