Yaskawa YASNAC PC NC Programming Manual User Manual

Page 243

Advertising
background image

4 - 106

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

While the interrupt program, where jump has been made in response to the input of the
interrupt signal during the execution of a program in the M91 mode, is executed,
another interrupt signal is invalid.

It is possible to specify the sequence number of the block where the interrupt program
should start by using a Q command in theM91P block.

(b) End of interruption (M90)

The program interrupt function is canceled by specifying “M90;”.

(2) Supplements to the Program Interrupt Function

In the program that is called up after interrupting the execution of another program, it
is not allowed to specify M90 or M91. If specified, alarm “0114” occurs.

The M91 command can be specified in a subprogram or macro program. Jump to an
interrupt program is not counted as a nesting level. Therefore, the level saved to the
macro local variable does not change.

By the execution of M99 specified in the interrupt program, the program returns to the
block next to the one where the interrupt program has been called up. It is also possi-
ble to specify the return block by specifying a P command with M99. When returning
to the previous program by the execution of M99, the modal information which was
valid before the interruption, is recovered. However, if M99P is used to return to the
previous program, the modal information changed during the execution of the inter-
rupt program is used for the execution of the previous program.

If the interrupt signal is input during the block stop state, the program jumps to the
interrupt program when the operation is started by depressing of the cycle start switch.

The program interrupt signal is invalid if input during the execution of high-speed cut-
ting.

If the program interrupt signal is input during the execution of the G28 block (low-
speed pattern), the program interrupt signal is disregarded. It is valid if it is input dur-
ing the execution of high-speed pattern reference point return.

If the program interrupt signal is input during the execution of G31 (skip), the skip
mode is canceled and the program interrupt function is executed.

If the program interrupt signal is input during the execution of a block including M, S,
T, or B command, the program jumps to the interrupt program. Before jumping to the
interrupt program, axis move is stopped after deceleration if the interrupt signal is
input during axis move. If the M or T function is being executed when the interrupt
signal is input, the program does not jump until the M or T function completion signal
is input.

If the program interrupt signal is input during the execution of tapping in the solid tap
mode, execution of the interrupt program starts only after the completion of the solid
tap block.

Advertising