![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 808](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083808.webp)
806
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
4. Inputting and indicating a program using GX Developer
• Input a circuit for setting the initial state relay to ON using the relay ladder.
In this example, the initial state relay S0 is set to ON in a ladder block using the special auxiliary relay
M8002 which turns ON momentarily when the PLC mode is changed from STOP to RUN.
• When inputting a program using GX Developer, write a relay ladder program to a ladder block, and write an
SFC program to an SFC block.
• Programs expressing operations in state relays and transfer conditions are handled as internal circuits of
the state relays and transfer conditions.
Create each one using a relay ladder.
For details of programming procedure in GX Developer, refer to GX Developer Operating Manual.
Y023
Y021
Write a circuit not
belonging to SFC to a
ladder block using a
relay ladder.
Write an SFC program
to an SFC block.
Ladder block
SFC block
M8002
SET
S0
Program for setting the initial state
relay to ON
Indicate the state relay number and
transfer condition number.
0
20
0
1
21
2
22
3
23
4
24
5
S0
RET
END
X000
TRAN
Y021
Y023
X001
TRAN
T0
X002
TRAN
Y023
Y021
T0
TRAN
Y021
Y023
X003
TRAN
X002
TRAN
When a program is input using GX Developer,
“RET” and “END” are automatically written.
K50
Input them as
internal circuits.