
Chapter 4. Basic instructions
4-23
4.6
Step controller instructions
4.6.1
SET Sxx.xx
SET S
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#
D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
SET S
O
2
* K10S1
: 0 ~ 15
K10S / K30S / K60S
: 0 ~ 31
K200S / K300S / K1000S
: 0 ~ 99
1) Functions
-
The Sxx.xx contact will turn on when the previous step of same group and the input condition is on.
-
Once a Sxx.xx is switched on, it keeps on state until the next step turns on or the step controller
group is initialized. (The Sxx.00 is switched on)
-
Even if multiple input condition turn on, only one step controller is switched on.
-
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
A sequential control by using S01.xx group
D
SET S xx.xx
S xx.xx
Step No. (00 ~ 99)
Group (00 ~ 99*)
SET S01.01
P030
0000
SET S01.02
P031
0003
SET S01.03
P032
0006
SET S01.04
P033
0009
SET S01.00
Reset 0012
P034
S01.xx reset input condition
P030
P031
P032
P033
S01.01
S01.02
S01.03
S01.04
P034
[ Program ]
[ Time chart ]