03.11.2014 Views

Download - Haas Automation, Inc.

Download - Haas Automation, Inc.

Download - Haas Automation, Inc.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

in conjunction with the Circle Division function to enter the number of divisions in<br />

the circle from 2 to 999. The Loop Count specifies the number of times to repeat a<br />

subroutine, when used with G96.<br />

Subroutines (G96)<br />

Subroutines allow repetition of a sequence up to 999 times. To “call” a subroutine,<br />

enter G96. After entering 96 move the blinking display 00 preceded by Step# registered<br />

to enter the step to jump to. The control will jump to the step called out in the<br />

Step# register, when the program reaches the G96 step. The control will execute<br />

that step and the ones following until it until a G95 or G99 is found. The program<br />

then jumps back to the step following the G96.<br />

A subroutine can be repeated by using a the loop count of a G96. To end the<br />

subroutine, insert either a G95 or G99 after the last step. A subroutine call is not<br />

considered a step by itself since it executes itself and the first step of the subroutine.<br />

Note that nesting is not permitted.<br />

Delay Code (G97)<br />

G-code 97 is used to program a pause (dwell) in a program. For example, programming<br />

a G97 and setting<br />

L = 10 will produce a 1 second dwell. G97 does not pulse the CNC relay at step<br />

completion.<br />

Circle Division<br />

Circle division is selected with a G98 (or G85 for TRT units). The L defines how<br />

many equal parts a circle is divided into. After the L count steps, the unit will be<br />

in the same position it started from. Circle division is only available in the circular<br />

modes (i.e., Parameter 12 = 0, 5, or 6). G85 selects division of an angle other than<br />

360 o for dual-axis units. Dual axis units must have one of the axis in non-zero stop<br />

mode to move, and the other axis must have a zero stop.<br />

Auto Continue Control<br />

If Parameter 10 is set to 2, the control will execute the entire program, and stop<br />

when the G99 is reached. The program can be stopped by pressing and holding<br />

Cycle Start until the current step is finished. To restart the program press Cycle<br />

Start again.<br />

96-0315 Rev P<br />

April 2012<br />

35<br />

Original Instructions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!