Mitsubishi Electronics FX3G User Manual

Page of 964
395
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
14 Handy Instruction – FNC 60 to FNC 69
14.1 FNC 60 – IST / Initial State
11
FN
C30
-FN
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
5. Program example
1) Circuit diagram
In the sequence circuit shown below, all areas except shaded areas are standard.
Program the shaded areas according to the contents of control.
a) Initial circuit
While the machine is operating, the operation mode can be switched arbitrarily (among stepping operation,
cycle operation and continuous operation) in the automatic mode.
When the operation mode is switched between the individual operation mode, zero return operation mode and
automatic mode while the machine is operating, all outputs are reset once to assure safety, after which the
following mode becomes valid.
(While M8045 (All output reset disable) is ON, outputs are not reset at all.)
b) Individual operation mode
Programming is not required when the individual operation mode is not provided.
X004
X002
M8044
Left limit
Upper
limit
Unclamping
Detects that the machine is located at the zero point, and
regards it as the condition to start the automatic mode.
FNC 60
IST
X020
S 20
S 27
M8000
RUN
monitor
Y001
Zero point condition
Initial state
Ladder block
X012
X007
Clamping command
Unclamping
command
RST
Y001
SET
Y001
Clamping
X005 Moving-up
command Y000
Y002
X010
Moving-down
command Y002
Y000
X006
Leftward travel
command
Y003
Y004
X002
X011
Rightward travel
command
Y004
Y003
X002
Moving
up
Moving
down
Leftward
travel
Rightward
travel
Upper limit
Initial state
for individual
operation
SFC block
0
State number