
C.CUSTOMIZATION BY THE MACHINE TOOL BUILDER B-63874EN-1/02
- 308 -
C.1.3 Support for a Machine with a CNC for Combined Machine
Tools
Measurement variable
As variables for measurement, P-CODE macro variables common to
turning and milling are used.
When variables numbered #10000 to less than #20000 are used as
variables for measurement, set bit 1 (TIVR1) of compile parameter
No. 9007 to 1. (When variables numbered #20000 to less than #30000
are used, those variables are common to turning and milling. So, the
compile parameter need not be set.)
Auxiliary macro
After measurement execution, an auxiliary macro is used to set the
results of measurement as the offset value and workpiece origin offset
of the other system. The number of this auxiliary macro is O3650.
Accordingly, set 3650 in the compile parameter No. 9039 on the
turning and milling side.
If the auxiliary macro is already used, add processing so that O3650 is
called from the main macro program.