449
Programming Examples
Section 8-1
N003
Moves the axes to (X300, Y200) by circular interpolation in the counter-clock-
wise direction with a radius of 100. A positive value is specified for the radius,
so an arc smaller than a semicircle (1/4 circle) is drawn.
N004
Moves the axes to (X300, Y300) by linear interpolation.
N005
Moves the axes to (X400, Y400) by circular interpolation in the clockwise
direction 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.
8-1-4
Indirect Addressing with Registers
Operation
This program uses registers to indirectly specify position data stored in posi-
tion data addresses and uses this data in positioning operations.
Programming Example
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
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.
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...