Cpu Unit Interrupt Processing - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

CPU Unit Interrupt Processing

Example for Reversing
Operation
Example for Helical
Circular Interpolation
6-11 CPU Unit Interrupt Processing
Overview
348
N001 G54 X0 Y0
N002 G01 X100 Y100
N003 G01 X0 Y200 M123/X10
Y
0
N010 G90
N011 G17
N012 G02 X100 Y200 Z20 I0 J0 F200 L4
N013 G02 X100 Y200 Z20 I0 J0 F500 L4 M600/Z10
Speed
Circular
axis
Speed
Added
axis
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.
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.
80
90
100
Overlapping section
Start point for
next operation
Previous
operation
The stopover output
position will be offset
by this amount.
Section 6-11
X
Time
Next
operation
Time
Stopover start point =
Overlap midpoint

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents