201
9-2
Positioning with Linear Interpolation
When the optional input goes ON, this program uses linear interpolation to move
the X-axis by 300 and the Y-axis by 400 from the current position. This position-
ing operation will be repeated (up to 21 times) until position data address A1000
contains 1.
Sample Program
N000
P002
XY
N001
G91
N002
G01
X300
Y400
F50
#5
N003
G71
N005/A1000=1
N004
G70
N002/L20
N005
G79
Explanation
Block N000 declares the program number and axes being used.
N001
Specifies incremental positioning.
N002
Waits until optional input 5 (general input 1) goes ON. When it goes ON, the
X-axis is moved by 300 and the Y-axis by 400 with linear interpolation at a speed
of 50.
N003
Checks the content of A1000 and ends the program if it is 1.
N004
Jumps to block N002. Block N004 will jump to N002 20 times (performing 21
positioning operations).
N005
Ends the program.
Note
The operations above are performed in Stop mode not Pass mode because an
optional input is specified.
Positioning with Linear Interpolation
Section 9-2
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......