447
Programming Examples
Section 8-1
8-1-2
Positioning with Linear Interpolation
Operation
When the optional input turns ON, this program uses linear interpolation to
move the X-axis by 300 and the Y-axis by 400 from the present position. This
positioning operation will be repeated (up to 21 times) until position data
address A1000 contains 1.
Programming Example
N000
P002
XY
N001
G91
N002
G01
X300
Y400
F50
#16
N003
G71
N005/A1000=1
N004
G70
N002/L20
N005
G79
Explanation
N001
Specifies incremental positioning.
N002
Waits until optional input 16 (general input 1) turns ON. When it turns 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).
Note
The operations above are performed in Stop Mode, and not Pass Mode,
because an option is specified.
Содержание 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 ...