
TRT
TILTING ROTARY
TABLE
TRT
O
M
PERATOR’S
ANUAL
TILTING ROTARY
TABLE
96-5048 rev E
44
June 2002
5.9 S
UBROUTINES
(G96)
Subroutines allow you to repeat a particular step sequence up to 999 times. A subroutine is invoked by entering
96
into the G code. After entering
96
you must DISPLAY SCAN over to the LOC (short for location) register to
enter the step you wish to jump to. The location register replaces the feed rate register and is only present on
G96
steps. After executing a
G96
step, the control will jump to the step called out in the LOC register, execute
that step and the ones following until it reaches G code 95 or 99, the end of subroutine call. The program then
jumps back to the step following
G96
.
A subroutine can be repeated a number of times by utilizing the loop count of the
G96
step. To end the subrou-
tine, you must insert a G code of 95 or 99 after the last sequence step. A subroutine call is not considered a
step by itself since it will always execute itself and the first step of the subroutine. Nesting of subroutine calls
is not permitted.
5.10 D
ELAY
C
ODE
(G97)
G97
is used to program a dwell or delay time into a program.
G97
does not pulse the CNC relay at step
completion. As an example, programming a
G97
and setting L=10 will produce a 1 second dwell.
5.11 C
IRCLE
D
IVISION
Circle division is selected with a
G98
or
G85
. The
L
count defines how many equal sized parts a circle is to be
divided into. After the
L
count steps, the servo will be in the same position as it started. Circle division is only
available in the circular modes (i.e., Parameter 12=0, 5, or 6).
G85
selects division of an angle other than 360
degrees (360
o
). The steps size is divided into
L
parts. The axis with a non-zero stop mode is moved. The other
axis must have a zero stop.
5.12 A
UTO
C
ONTINUE
C
ONTROL
If Parameter 10 is set to 2, the controller can be run like a single axis CNC. The entire program will be ex-
ecuted until the last step is encountered. In all cases, the last step is the one with a G code of 99. Actually,
the step preceding the G99 is the last one to be executed. Step 99 may also be the last step if all of memory
is used.
When running automatically, the sequence of step operation can be stopped by pressing and holding the
START switch until the current step is finished. The program can then be continued by pressing START again.
5.13 I
NSERTING
A
L
INE
A new step may be inserted into a program by pressing and holding the START button for three seconds while
in PROGRAM mode. It will cause the present step and all following steps' contents to be moved down and the
present step to be initialized to default values. Subroutine jumps must be renumbered.
5.14 D
ELETING
A
L
INE
A step may be deleted from a program by pressing and holding the ZERO RETURN button for three seconds
while in PROGRAM mode. It will cause the next step and all following steps to be moved up by one. Subrou-
tine jumps must be renumbered.
PROGRAMMING
Содержание TRT210
Страница 2: ...Haas Technical Publications Manual_Archive_Safety_Pages Rev A June 6 2013...
Страница 6: ...MILL WARNING DECALS Haas Technical Publications Manual_Archive_Safety_Pages Rev A June 6 2013...
Страница 7: ...LATHE WARNING DECALS Haas Technical Publications Manual_Archive_Safety_Pages Rev A June 6 2013...