hit counter script

Creation Of Step Ladder Program (Sfc Program → Stl Program) - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Creation of step ladder program (SFC program → STL program)
35.2.4
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.
<SFC program>
20
STL
X000
1
SET
21
<List program>
0
STL
1
OUT
2
LD
3
OR
4
OUT
5
LD
6
ANI
7
SET
*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.
Program with jump/repeated flows
1. Program for the transfer source
Use OUT instruction in the jump/repeated part.
<SFC program>
X001
40
X002
1
41
2
→ 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.
Y010
X010
Y011
X011
X001
TRAN
S20
Y010
The above program can be expressed in the list format
X010
(list program) shown on the left.
X011
The segment from the STL instruction to the RET
Y011
instruction is handled as a step ladder program.
X000
X001
*1
S21
Y001
X003
3
TRAN
TRAN
52
Jump/repeated part
35 SFC Program and Step Ladder
→ For RET instruction, refer to Subsection 35.1.6.
<Step ladder>
Y010
X010
Y011
X011
X000 X001
<Step ladder>
STL
S40
X001
Y001
X002
SET
S41
X003
S52
Use OUT instruction in the jump/
repeated part.
35.2 Step Ladder
STL
S20
SET
S21
<List program>
STL
S40
LD
X001
OUT
Y001
LD
X002
SET
S41
LD
X003
OUT
S52
787
31
32
33
34
35
36
37
38
A
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents