Mitsubishi Electronics FX3G User Manual

Page of 964
793
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.2 Step Ladder
31
FNC277
-F
NC2
79
Da
ta
 
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed 
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
 
Register C
ontrol
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt 
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
Inform
ati
on
B
Ex
ecuti
on
 T
imes
2. Example of selective recombination
Do not use MPS, MRD, MPP, ANB and ORB instructions in a transfer processing program with branches and
recombination.
Even in a load driving circuit, MPS instructions cannot be used immediately after STL instructions.
Pay attention to the programming order so that a branch line does not cross a recombination line.
Before recombination, first program the drive processing of state relays.
After that, program only the transfer processing to recombination state relays.
This rule should be observed to enable inverse conversion into an SFC program.
3. Example of parallel branch
Do not use MPS, MRD, MPP, ANB and ORB instructions in a program with branches and recombination.
Even in a load driving circuit, MPS instructions cannot be used immediately after STL instructions.
In the same way as programs for general state relays, program the drive processing first, and then program the
transfer processing.
Continuously program all transfer processing.
STL
OUT
STL
OUT
STL
OUT
STL
LD
SET
STL
LD
SET
STL
LD
SET
50
29
1
Y010
STL
S29
STL
S39
S29
Y010
S39
Y011
S49
Y012
S29
X010
S50
S39
X011
S50
S49
X012
S50
Y010
TRAN
2
TRAN
3
TRAN
STL
S49
X010
SET
S50
X010
39
Y011
X011
49
Y012
X012
Y011
Y012
STL
S39
X011
SET
S50
STL
S49
STL
S29
X012
SET
S50
<SFC program>
<Step ladder>
<List program>
Drive
processing
Transfer
processing
<List program>
STL
OUT
LD
SET
SET
SET
21
20
Y000
1
X000
TRAN
X000
Y001
STL
S20
SET
S21
S20
Y000
X000
S21
S31
S41
31
41
SET
S31
SET
S41
<Step ladder>
<SFC program>
Drive
processing
Transfer
processing