Ncmacro.sys - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.4.2 NCMACRO.SYS

July 2013
The NC macros are defined in this file. Certain NC macros are predefined. You
can also define new NC macros, see "Module 9291 Call an NC macro" on page
1711.
The following NC macros are predefined:
AFC = <Name of the macro that is called as a reaction to a detected
overload from AFC>
TC = <Name of the tool change macro>
PALETT = <Name of the pallet change macro>
CLAMP = <Name of the macro for changing the fixture (FIX)>
RUNCANCEL = <Name of the macro called when an NC program is
canceled>
MACROCANCEL = <Name of the macro called when an NC program is
canceled>
RESETINIT = <Name of the macro called when traverse reference point
is left>
If the macro is not performed completely,
• you cannot switch to the program run operating modes,
• the error message Machine not initialized appears, and
• the soft key INIT appears. The soft key can be used to restart the
macro.
STARTUPCANCEL = <Name of the macro called when mid-program startup
is not completed with Restore machine status>
TCSIMU = <Name of the tool-change macro that is called in the Test Run
mode for a tool change. As with the TOOL CALL macro for the machine
operating modes, a TOOL CALL block must be executed within a macro in
order to activate the new tool>
RUNENDPGM = <Name of the macro that is run with M02, M30 or END
PGM when a program is concluded. In the Manual operating mode, this
macro must also be saved in the M-function table under M02 and M30.>
PALEPILOG = <Name of the macro called at the end of an NC program that
was started from the pallet table>
Example entry: TC=PLC:\NC_MACRO\TOOLCALL.H
With RUNCANCEL you can define a macro that is run when an NC program is
terminated due to an error, emergency stop or external/internal stop. Use
MACROCANCEL to do the same for an NC macro. If an NC program calls a
macro (tool call or M function) and the macro is canceled, this is considered a
program cancelation, not a macro cancelation.
In order to increase the speed with which NC macros are executed, limit-
switch monitoring can be turned off with FN17: SYSWRITE ID230 NR5. At the
end of an NC macro the limit-switch monitoring is always switched on. For
transferring Q parameters between NC programs and NC macros, see page
1714.
9.4 System Files
1709

Advertisement

Table of Contents
loading

Table of Contents