Program Examples - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
4) Parallel recombination and selective branch
<SFC program>
20
X000
1
103
Dummy state
X001
2
40

35.2.7 Program examples

Examples of single flows
1. Example of flicker circuit
• When the PLC mode is changed from STOP to RUN, the state relay S3 is driven by the initial pulse
(M8002).
• The state relay S3 outputs Y000. 1 second later, the ON status transfers to the state relay S20.
• The state relay S20 outputs Y001. 1.5 seconds later, the ON status returns to the state relay S3.
Y000
Y001
1
second
844
30
TRAN
X002
3
TRAN
TRAN
50
Step
number
1.5
seconds
<Step ladder>
STL
STL
X000
SET
STL
X001
SET
X002
SET
<Step ladder>
M8002
SET
S3
0
Initial pulse
STL
S3
3
Y000
4
T0
T0
SET
S20
8
STL
S20
11
Y001
12
T1
T1
S3
16
RET
19
END
20
35 SFC Program and Step Ladder
35.2 Step Ladder
<List program>
STL
S20
S20
STL
S30
S30
LD
X000
SET
S103
S103
STL
S103
LD
X001
S103
SET
S40
LD
X002
S40
SET
S50
S50
<List program>
Step
0
LD
number
1
SET
3
STL
4
OUT
5
OUT
8
LD
K10
9
SET
11
STL
12
OUT
13
OUT
16
LD
17
OUT
19
RET
K15
20
END
M8002
S3
S3
Y000
T0 K10
T0
S20
S20
Y001
T1 K15
T1
S3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents