Yaskawa YASNAC PC NC Programming Manual User Manual

Page 240

Advertising
background image

4 - 103

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

(1) Programming Format

(a) Feedrate

For the execution of the G31 block, feedrate can be selected from the following two meth-
ods according to the setting for parameter pm2001 D0.

(b) If skip signal is turned ON

When the skip signal is input, the coordinate values of the point where the skip signal is
input are automatically saved to the parameters. Therefore, the coordinate values of the
skip point can be used as the coordinate data in macro programs.

Note:

The coordinate values of the point where the skip signal is input are saved.

This point differs from the point where axis moves are stopped.

(c) If skip signal is not turned ON

If the skip signal is not turned ON during the execution of the commands specified in the
G31 block, the operation stops upon completion of these commands and alarm “049 1”
occurs. Note that G31 is a non-modal G code.

Note that G31 is a non-modal code.

pm2001 D0 = 0

To specify the feedrate with F as another ordinary program.

pm2001 D0 = 1

To use the feedrate preset for parameter pm2440

pm0811

Saving the X-axis coordinate value

pm0812

Saving the Y-axis coordinate value

pm0813

Saving the 4th-axis coordinate value

pm0814

Saving the Z-axis coordinate value

pm0815

Saving the 5th-axis coordinate value

pm0007 D2 = 0

An alarm occurs if the skip signal is not input until the completion
of the G31 block.

pm0007 D2 = 1

An alarm does not occur if the skip signal is not input until the
completion of the G31 block. The program advances to the next
block.

Advertising