FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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 on the programming procedure in GX Developer, refer to GX Developer Operating Manual.
Write a circuit not
belonging to SFC to a
ladder block using a
relay ladder.
Write an SFC program
to an SFC block.
M8002
Ladder block
SFC block
0
1
2
3
4
5
RET
35 SFC Program and Step Ladder
Program for setting the initial state
SET
S0
relay to ON
Indicate the state relay number and
transfer condition number.
0
X000
TRAN
Y023
20
Y021
X001
TRAN
Y021
21
Y023
X002
TRAN
22
T0
T0
TRAN
Y023
23
Y021
X003
TRAN
Y021
24
Y023
X002
TRAN
S0
When a program is input using GX Developer,
END
"RET" and "END" are automatically written.
35.1 SFC Program
Input them as
K50
internal circuits.
759
31
32
33
34
35
36
37
38
A
B