STL
S
20
Y
2
Y3
Y
3
STL
STL
STL
S
21
S
22
S
Executed
Not executed
State number
Forward rotation
Reverse rotation
Y002
Y001
Y
0
Y
1
S20
S
21
S
30
S32
S
10
T2
K
20
T2 K5
T2 K30
Not allowed
STL
Y0
Y1
Y2
STL
internal
bus
X3
Use the STL
instruction marker
If the S contact of the STL instruction is connected
,
the circuit connected to
this contact becomes active
. If the S contact is disconnected
,
the circuit
becomes inactive
.
The instruction is no longer executed
(
in the jump state)
after a scan cycle
.
Different S states may correspond to the same output element
(
for example
,
Y
3).
When S
21 or S
22 is connected
, Y3 is output. The issue of dual coil
processing also exists in the same S state. Special attention is required.
The S state number cannot be used repeatedly
.
☆
Output interlock
:
Two states are both connected for a period of time
(
one scan
cycle
)
during state transition. To prevent simultaneous
connection of a pair of outputs that cannot be connected at
the same time
,
configure external interlock for the PLC and
configure interlock for the corresponding program.
☆
Repeated use of timers
Like output coils,
timer coils can be used to program the same
element in different states, but programming in adjacent
states is not allowed; otherwise, timer coils are not
disconnected during process transfer and the current value
cannot be reset
.
☆
Output driving
After the LD or LDI instruction is written to the intra
-
state bus
,
instructions that do not need contacts can no longer be used,
as shown in the figure on the left
. Use the method shown in the
following figure to modify the circuit
.
☆
Locations of MPS,
MRD,
and MPP for stack operation
The MPS
, MRD,
and MPP instructions cannot be used
directly in the STL internal bus in intra
-state mode. A program
must be compiled after the LD or LDI instruction
,
as shown in
the figure on the left.
☆
State transition method
The OUT and SET instructions have the same function
(automatic reset of the transition source
) for the state
(S
) after
the STL instruction. Both instructions have the self
-hold
function
.
However, the OUT instruction executes transition to the
isolated state in SFC
.
S
10
STL
S45
Position
change
Transition
condition
SET
S42
Transition to the next
state
Transition to the
isolated state
X
4
S10
STL
Y1
Y2
Y3
STL
internal
bus
X3
X
2X0
X
4
MPS
MPD
MPP
LD X0
S10
STL
Y
0
Y
1
Y
2
Insert an NC
contact
M
8000
X
3
S10
STL
Y0
Y2
Y1
Position change
X
3
Or
S33
T
1