![background image](http://html1.mh-extra.com/html/omron/cs1w-mc221/cs1w-mc221_operation-manual_742361375.webp)
348
CPU Unit Interrupt Processing
Section 6-11
Example for Reversing
Operation
N001 G54 X0 Y0
N002 G01 X100 Y100
N003 G01 X0 Y200 M123/X10
Example for Helical
Circular Interpolation
N010 G90
N011 G17
N012 G02 X100 Y200 Z20 I0 J0 F200 L4
N013 G02 X100 Y200 Z20 I0 J0 F500 L4 M600/Z10
6-11 CPU Unit Interrupt Processing
Overview
Mode:
Automatic;
Method:
G language (D code output)
It is possible to set a D code in the G-language program related to positioning
as an interrupt to the CPU Unit. The specified D code is output after position-
ing is completed, and the CPU Unit executes an interrupt task taking the D
code (0 to 255) as the task number.
When the stopover function is used, this D code can be output during opera-
tion without stopping the operation. For details on the stopover function, refer
to
6-10 Stopover Function
.
Note
This interrupt function can be used only when the MC Unit is mounted to the
CPU Backplane. It cannot be used if the MC Unit is mounted to an Expansion
I/O Rack.
When an interrupt task is used in the CPU Unit, a setting must be made in the
PLC Setup. For details, refer to the manual for the CPU Unit.
X
0
80
100
90
Y
Overlapping section
M code/D code not output if
a position in this range is
specified in the previous
operation.
M code/D code output at the
beginning of the overlapping
section if a position in the
overlapping area is specified
in the next operation.
Time
Speed
Overlapping section
The stopover output
position will be offset
by this amount.
Circular
axis
Added
axis
Stopover start point =
Overlap midpoint
Start point for
next operation
Next
operation
Previous
operation
Time
Speed
Содержание 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 ...