12 Program Example
12.4 Sequence Program
263
FX
3U
-20SSC-H Positioning Block User's Manual
11
Buffer
M
e
m
o
ry
12
Pr
ogr
am
Exam
ple
13
D
iagnostics
A
List
of
Par
a
m
e
ter
s and
Da
ta
B
V
e
rs
ion
Infor
m
at
ion
M109
Y-axis table operation
(individual)
M110
Always OFF
M112
Always OFF
Always OFF
M114
Always OFF
M115
Always OFF
X023
Selection of Y-axis table operation (individual)
M8000
RUN monitor
M113
From previous page
From previous page
Write the X- and Y-axis operation pattern selection to 20SSC-H.
M8000
RUN monitor
Set the table operation start No. for the X-, Y- and XY-axes.
K4M0
U0\G520
FNC 12
MOV
K4M100 U0\G620
FNC 12
MOV
X-axis operation pattern selection
M0 to M15 BFM #520
Y-axis operation pattern selection
M100 to M115 BFM #620
M200
Unit ready(X,Y-axis)
K0
D521
FNC 12
MOVP
Table operation start No. for
X-axis (XY-axis) K0 D521
K0
D621
FNC 12
MOVP
Table operation start No. for
Y-axis K0 D621
Set the target address 1 and operation speed 1 for X- and Y-axes 1-step positioning.
M200
Unit ready(X,Y-axis)
K5000000
D500
FNC 12
DMOVP
Target address 1 for X-axis
1-speed positioning
K5,000,000 D501,D500
K2000000
D502
FNC 12
DMOVP
Operation speed 1 for X-axis
1-seed positioning
K2,000,000 D503,D502
K5000000
D600
FNC 12
DMOVP
K2000000
D602
FNC 12
DMOVP
Target address 1 for Y-axis
1-speed positioning
K5,000,000 D601,D600
Operation speed 1 for Y-axis
1-speed positioning
K2,000,000 D603,D602
To next page
To next page
X021
Selection of Y-axis 1-speed positioning operation
M100
Y-axis 1-speed
positioning operation
M101
M8000
RUN monitor
Y-axis interrupt 1-speed
constant quantity feed
M102
Y-axis 2-speed
positioning operation
M103
Y-axis interrupt 2-speed
constant quantity feed
M104
Y-axis interrupt stop
M105
Y-axis variable speed
operation
M106
Y-axis manual pulse
generator operation
M107
Linear interpolation
operation
M108
Linear interpolation (interrupt
stop) operation
Select Y-axis operation pattern.
M111
Y-axis Reciprocal movement
instruction