![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 838](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083838.webp)
836
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.2 Step Ladder
35.2.4 Creation of step ladder program (SFC program
→
STL program)
The figure on the left shows one state relay extracted as an example from an SFC program.
Each state relay has three functions, driving a load, specifying a transfer destination and specifying a transfer
condition.
The step ladder shown on the right expresses this SFC program as a relay sequence.
In this program, a load is driven, and then the ON status is transferred.
In a state relay without any load, the drive processing is not required.
For the program creation procedure, refer to the description on SFC programs.
→
For the program creation procedure, refer to Subsection 35.1.3.
→
For the handling and role of initial state relays, refer to Subsection 35.1.4.
→
For latched (battery backed) type state relays, refer to Subsection 35.1.5.
→
For RET instruction, refer to Subsection 35.1.6.
*1.
SET and RST instructions for a state relay are two-step instructions.
• When every state relay used in an SFC program is defined, programming is complete.
• Program a step ladder program starting from the initial state relay in the order of state relay ON status
transfer.
Make sure to put the RET instruction at the end of a step ladder program.
21
20
Y010
1
X011
X000
TRAN
X010
Y010
STL
S20
Y011
SET
S21
<Step ladder>
<SFC program>
SET
STL
Y011
X010
X011
X001
X000 X001
<List program>
0
1
2
3
4
5
6
7
STL
OUT
LD
OR
OUT
LD
ANI
SET
S20
Y010
X010
X011
Y011
X000
X001
S21
*1
The above program can be expressed in the list format
(list program) shown on the left.
The segment from the STL instruction to the RET
instruction is handled as a step ladder program.