
1. MACHINING PROGRAMS FOR
2–AXES (X AND Z AXIS) LATHES
B–62444E–1/04
TYPES OF MACHINING
PROGRAMS
370
This process calls and executes a subprogram registered beforehand in the
program area of the NC.
Up to four subprograms can be registered using subprogram numbers
O9990 to O9993.
When the cursor is moved to the end of the program, a new process is
created automatically, and a machining type menu is displayed in the soft
key field.
Pressing one of the [CA.SUB] soft key selects the subprogram call
process.
PROC(01) HEAD PROGRAM DATA 1 DATA 2 DATA 3 DATA 4
CALL SUB HEAD–L
NOTE
1 The sub–call process is not supported by the detail data
screen.
2 When bit 5 (SP6) of parameter 9776 is set to 1, up to six
programs can be registered.
PROGRAM : Subprogram specification
Select the desired type of PROGRAM from the
following menu items.
1= Program 1 → (O9990)
: AAAAAAAAAAAA
2= Program 2 → (O9991)
: BBBBBBBBBBBB
3= Program 3 → (O9992)
: CCCCCCCCCCCC
4= Program 4 → (O9993)
: DDDDDDDDDDDD
NOTE
Name AAAAAAAAAAAA is set in parameter 9700 to 9715;
name BBBBBBBBBBBB is set in parameter 9716 to 9731;
name CCCCCCCCCCCC is set in parameter 9732 to 9747;
and name DDDDDDDDDDDD is set in parameter 9748 to
9763.
DATA 1 : Variable 1 data (macro variable #20828)
DATA 2 : Variable 2 data (macro variable #20829)
DATA 3 : Variable 1 data (macro variable #20830)
DATA 4 : Variable 2 data (macro variable #20831)
1.10
CALLING
SUBPROGRAMS
1.10.1
Machining Type
Selection
1.10.2
Details of Process Data