5 interrupt 0 - 3 routine call – Rockwell Automation 8520-ARM2 9/Series CNC AMP Reference Manual Documentation Set User Manual
Page 546

Interrupt Paramacros
Chapter 26
26-4
Parameter
Parameter
Number
Trigger method for interrupt 0
[116]
Trigger method for interrupt 1
[117]
Trigger method for interrupt 2
[118]
Trigger method for interrupt 3
[119]
Range
Selection
Result
(a)
Edge
(b)
Level
Notes
This is a global parameter. The value set here applies to all axes
and processes.
Function
This parameter determines the type of execution that the interrupt
paramacro call will use. Interrupt paramacros can be called as either a
subprogram or a non-modal paramacro.
Subprogram -- When subprogram is selected for this parameter, the
control executes the interrupt macro as if a subprogram call (M98) were
being used. This adds as one of the four nesting levels of subprograms.
The interrupt macro is executed by using the same provisions as a
subprogram call.
Macro -- When macro is selected for this parameter, the control executes
the interrupt macro as if a non-modal paramacro call (G65) were being
used. This adds as one of the four nesting levels of the paramacros. The
interrupt macro is executed with the same provisions as a G65
paramacro call.
The key difference a between macro type and a subprogram type of call
(aside from maximum nesting level considerations) is that the subprogram
call uses the same local parameter assignments as the calling program.
The macro type of call gets its own set of local parameter assignments.
26.5
Interrupt 0 - 3 Routine Call