7. Basic Commands
OUT (Y, M, G, L, F, B, SB, SM)
- 121 -
Program example
(1) Program output to output unit.
Coding
No. of
steps
Com-
mand
Device
10 LD X5
11 OUT Y33
12 LD X6
13 OUT Y34
14 OUT Y35
X6 Y34
X5
Y33
10
12
Y35
15
(2) Program that turns internal relay or latch relay ON/OFF.
Coding
No. of
steps
Com-
mand
Device
93 LD X5
94 OUT M15
95 LDI X5
96 OUT L19
97 OUT M90
X5
L19
X5
M15
93
95
M90
F0
X7 X8
98
98 LD X7
99 AND X8
100 OUT F0
101