Mitsubishi Electronics FX3G User Manual

Page of 964
763
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
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
Operation of state relays and use of an output 
 two or more times
• In different state relays, the same output device (Y002 in this 
example) can be programmed as shown in the right figure.
In this case, when S21 or S22 is ON, Y002 is output.
However, if the same output coil (Y002) in a state relay is 
programmed in a ladder block program or if the same output 
coil is programmed twice in one state relay, it is handled in 
the same way as general double coil.
Interlock of outputs
• In the state relay ON status transfer process, both states 
turn ON at the same time only momentarily (during one 
operation cycle).
Accordingly, between a pair of outputs which should not be 
set to ON at the same time, provide an interlock outside the 
PLC in conformance to the handy manual of the PLC so that 
simultaneous driving can be prevented.
In addition, provide on interlock in the program as shown in 
the right figure.
Use of a timer two or more times
• In the same way as an output coil, a timer coil can be 
programmed in different state relays. However, it is not 
permitted to program the same timer coil in adjacent state 
relays. If the same timer coil is programmed in adjacent state 
relays, the timer coil is not set to OFF at process transfer, so 
the current value is not reset.
Output driving method
• It is not permitted to program an instruction without a contact after an LD or LDI instruction from a bus line in a state 
relay.
Change such a circuit as shown below.
21
22
20
Y001
Y002
Y002
When S21 or
S22 is ON,
Y002 is output.
21
20
Y001
Y002
Y001
Y002
Forward
rotation
Backward rotation
41
42
40
T1
T1
T1
K10
K20
Not
allowed
10
Y001
X005
Y002
Y003
10
Y001
X005
Y002
Y003
Move the
position.
10
Y001
M8000
Y003
Y002
Insert "Always ON"
contact.
X005
RUN
monitor
or
Change
Change