
Chapter 4. Basic instructions
4-25
4.6.2
OUT Sxx.xx
OUT S
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#
D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
OUT S
O
2
* K10S1
: 0 ~ 15
K10S / K30S / K60S
: 0 ~ 31
K200S / K300S / K1000S
: 0 ~ 99
1) Function
-
Last-in priority control
-
When the input condition turns on, the specified step controller is switched on and keep the on
status until other step controller of same group turns on.
-
Only one step controller turns on even if multiple input conditions turn on. At this time, the last
turned on step controller has the highest priority.
-
The Sxx.00 is initialization step and the Sxx.xx group will be initialized by switching on the Sxx.00.
When the CPU is turned to RUN mode, the Sxx.00 is set by default.
2) Program example
D
S xx.xx
Step No. (00 ~ 99)
Group (00 ~ 99*)
( Sxx.xx )
S02.xx reset input condition
P020
P021
P022
P023
S02.01
S02.23
S02.98
S02.04
P024
( S02.01 )
P020
( S02.23 )
P021
( S02.98 )
P022
( S02.04 )
P023
( S02.00 )
P024
Reset
[ Program ]
[ Time chart ]