203
N005
Moves the axes to (X400, Y400) by circular interpolation in the clockwise direc-
tion with a radius of 100. A negative value is specified for the radius, so an arc
greater than a semicircle (3/4 circle) is drawn.
N006
Ends the program.
Note
This series of operations is performed in Pass mode.
9-4
Indirect Addressing with Registers
This program uses registers to indirectly specify position data stored in position
data addresses and uses this data in positioning operations.
Sample Program
N000
P005
XY
N001
G11
N002
G63
E1=100
N003
G63
E2=101
N004
G01
X(E1) Y(E2) F100
N005
G60
E1=E1+2
N006
G60
E2=E2+2
N007
G75
3
N008
G70
N004/L3
N009
G79
Explanation
Block N000 declares the program number and axes being used.
N001
Specifies Stop mode.
N002 through N003
Set the initial position data addresses in the registers.
N004
Reads the position data from the addresses specified in the registers and moves
the axes to this point by linear interpolation.
N005 through N006
Updates the contents of the registers.
N007
If optional input 3 is ON, the next block will be skipped and the program will end.
N008
Jumps to block N004 and repeats the positioning operation 3 times.
N013
Ends the program.
Register contents
+ 2
First X-axis position
First Y-axis position
Second X-axis position
Second Y-axis position
E1
A100
E2
A101
E1
A102
E2
A103
Indirect Addressing with Registers
Section 9-4
Содержание 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: ......