Specifications

Table Of Contents
10 - 20
10.5.3 Execution of servo program (motion control step)
When the servo program is executed at the motion control step of the SFC program,
the operation is executed according to the contents of the data and parameter block for
executed servo program.
Example 1 Example of SFC program used to execute the servo program No.10 (to
execute the linear interpolation of axis 1 and axis 2)
[Servo program]
Program No.: Mode ..............................
Axis linear interpolation command..............
Axis 1 address.........................................................
Axis 2 address.........................................................
Positioning speed ....................................................
AXIS
AXIS
COMPOSITE VELOCITY
DWELL
Real
[SFC program]
Servo program No. 10 start
SFC program No. 20
SFC program
No. 0
Real mode main
[Real mode main] program
The "Waiting point
positioning" is started
when X0 switch is turned
ON, and M2001 and
M2002 are turned OFF.
Waiting position
Waiting point positioning
Shift to END after completion of
motion control step for K10
G200
[Transition]
NOP
K10: REAL
[Motion control step]
1 ABS-2
AXIS 1, 0.0 µm
AXIS 2, 0.0 µm
COMPOSITE VELOCITY 4000.00 mm/min
DWELL 100 msec
PX0 : Positioning start command
[Timing chart]
M2401, M2421
Completion of positioning
M2400, M2420
Completion of positioning start
M2001, M2002
X0
Turned OFF when the
positioning is started or
when JOG operation is
started.