Specifications

Table Of Contents
9 - 49
9.9.3 Main routine SFC program (real mode operation)
This SFC program is executed in the main routine when the real mode is selected.
It is used to start other SFC programs (from this main routine SFC program) to execute
various operations in the real mode.
(1) SFC program started from main routine SFC program
SFC program No. Program name Description section
20 Zero point return 9.9.4
80 Servo program continuation 9.9.5
(2) Program example
G0 G1
PX19 PX0*!M2001*!M2002
G3 G4095
[Transition]
PX2*!M2001*!M2002 NOP
M2001 : Axis 1 start accept flag M2002 : Axis 2 start accept flag
PX0 : Zero point return command PX2 : Positioning start command
SFC program No. 0
Start of real mode
operation
Real mode main
Zero point return
Servo Pro.
Start of Zero point return
when X0 is set to ON, and
X2001 and M2002 are set to
OFF
Start of
Servo program con-
tinuation
when X2 is set to
ON, and M2001 and X2002
are set to OFF