Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
788
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.2 Step Ladder
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