The Code Generator source text file must contain the machine tool macro. This defines the default values within the machining module; for example, maximum spindle speed, feedrate etc.
The macro can be used to define further options to be permitted during machining module initialisation.
The machine tool macro starts with a %MACHINE statement:
%MACHINE=[machine type]=[user defined text]
where [machine type] may be MILL, LATHE, or UVWIRE. The user-defined text may be up to 78 characters long and will appear on the screen during code generating and would typically contain machine tool/controller/user name information.
Here is an example layout for a turning centre:
%MACHINE=LATHE=Mori
Seiki SL-35 (MM units) Fanuc 16TF controller
MM=1,4000,3000,400,1,1,1,0,0,3,50
MT=Upper Turret,10,200,0,300,500,500,1000,-500,-500,-100,2000,1000,10
MT=Lower Turret,10,-200,0,300,-200,0,300,500,500,1000,-500,-500,-100,1000,200,5
%ENDMACH
The remaining lines of the machine tool macro are Code Generator defined modifiers which can be used with any of the Code Generator macros.
The machine tool macro is terminated by the %ENDMACH statement.
See Also