Mitsubishi Electric MELSEC FX3U Programming Manual page 847

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
2. Example of fountain control
1) Cyclic operation (X001 = OFF, X002 = OFF)
When the start button X000 is pressed, the outputs turn ON in the order "Y000 (wait indication) → Y001
(center lamp) → Y002 (center fountain) → Y003 (loop line lamp) → Y007 (loop line fountain) → Y000
(wait indication)", and then the outputs return to the wait status.
Each output is switched in turn every 2 seconds by a timer.
2) Continuous operation (X001 = ON)
Y001 to Y007 turn ON in turn repeatedly.
3) Stepping operation (X002 = ON)
Every time the start button is pressed, each output turns ON in turn.
<Step ladder>
M8000
0
RUN monitor
X002 X000
3
Stepping
Start
M8002
7
Initial pulse
10
11
X000
12
Start button
15
16
T1
20
23
24
T2
28
31
32
T3
36
39
40
T7
X001
44
T7
X001
48
52
53
Enable
STL
M8047
monitoring
STL
M8040
transfer
disable
Initial state
SET
S3
relay
STL
S3
Wait
Y000
indication
SET
S20
STL
S20
Y001
Center lamp
T1
K20
SET
S21
STL
S21
Center
Y002
fountain
T2
K20
SET
S22
STL
S22
Loop line
Y003
lamp
T3
K20
SET
S27
STL
S27
Loop line
Y007
fountain
T7
K20
S20
Continuous
S3
Cyclic/stepping
RET
END
35 SFC Program and Step Ladder
35.2 Step Ladder
<List program>
0
LD
M8000
1
OUT
M8047
3
LD
X002
4
ANI
X000
5
OUT
M8040
7
LD
M8002
8
SET
S3
10
STL
S3
11
OUT
Y000
12
LD
X000
13
SET
S20
15
STL
S20
16
OUT
Y001
17
OUT
T1 K20
20
LD
T1
21
SET
S21
23
STL
S21
24
OUT
Y002
25
OUT
T2 K20
28
LD
T2
29
SET
S22
31
STL
S22
32
OUT
Y003
33
OUT
T3 K20
36
LD
T3
37
SET
S27
39
STL
S27
40
OUT
Y007
41
OUT
T7 K20
44
LD
T7
45
AND
X001
46
OUT
S20
48
LD
T7
49
ANI
X001
50
OUT
S3
52
RET
53
END
31
32
33
34
35
36
37
38
A
B
845

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents