July 2013 8.15 Tool changer 1605
Calling an
NC program with
TOOL CALL
With the NC block TOOL CALL you can call an NC program of your own
definition:
With the keyword TC = <path name>\<file name> in the
PLC:\NCMACRO.SYS file, define the name of the NC program to be called.
To synchronize the current machine status and the look-ahead calculation with
an NC macro call, see "NCMACRO.SYS" on page 1709.
The tool geometry is not taken over then. You must program a TOOL CALL at
another place to update the tool data.
NC functions that must be reset at the beginning of a tool-change macro:
The tool-change macro requires non-radius-compensated movements with
M91 (coordinates refer to the machine datum) or M92 (coordinates refer to a
position defined by the machine manufacturer):
M103 (Reduce feed rate during plunging to factor F)
M112 (Insert rounding radius between nontangential straight lines)
M114 (Automatic correction of machine geometry when machining with
tilting axes)
M118 (Superimpose handwheel positioning during program run)
M124 (Ignore points when machining non-radius compensated straight line
blocks)
M128 (Retain position of tool tip when positioning tilting axes) or FUNCTION
TCPM
Cycle19 (WORKING PLANE) or PLANE
Possibly M126 (Permit zero crossover on 360° rotary axes), if rotary axes are
moved and their traverse ranges permit multiple paths.
Possibly M136 (Feed rate F in millimeters per spindle revolution), if feed
rates other than FMAX are used.
Possibly M144 (Compensate the machine’s kinematics configuration for
ACTUAL/NOMINAL positions at end of block), if this function is activated via
MP7502.
Possibly Cycle 32 (TOLERANCE), if a certain tolerance (MP1096.x) is required
in the tool-change macro.
The functions FN17: SYSWRITE ID 230 ... are available to enable you to
influence the software limit switches in a tool change macro. This function is
therefore effective only for a limited period of time. The original software limit
switches are restored under the following conditions:
End of macro or cancelation of macro
Call of an NC or PLC function that results in machine parameters being read
in (e.g. switching the traverse range, activating an MP subfile)
Selection of an NC program or call of a GOTO block during NC program run