Help Cycles; Calling An Nc Macro With An M Function - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

Help cycles

Calling an NC
macro with an
M function
December 2001
Cycles 18 (thread cutting) and 33 (thread on taper) are so-called auxiliary
cycles. You cannot use them alone, but you can use them for your OEM cycles
(see also the User's Manual):
7 7 7 7
Set MP7245 = 1 to enable the auxiliary cycle.
MP7245
Disabling auxiliary cycles
Input:
0: Auxiliary cycles disabled
1: Auxiliary cycles permitted
The M functions M0 to M88 and M300 to M999 can call an NC macro in all
operating modes. First the table PLC:\MFUNCT\MFUNCT.TAB must be
present. Line number 0 represents M0, line number 1 represents M01, etc.
The NC macros must be entered in the directory PLC:\MFUNCT\ with the
name of their M function (e.g. M301.H).
M functions that call an NC macro are not sent to the PLC.
To synchronize the current machine status and the look-ahead calculation with
an NC macro call, (See "NCMACRO.SYS" on page 7 – 44).
For behavior during a block scan, (See "Instructions in MGROUPS.SYS" on
page 6 – 297).
With FN17: SYSWRITE ID420 NR0 IDX0 = 0, all coordinate transformations (e.g.
cycles 7, 8, 10, 11, 19) performed in the NC macro become globally effective.
Without this block, they remain locally effective (only in the NC macro).
Explanation of the columns in the table MFUNCT.TAB:
Column name
Description
NR
Number of the M function
MACRO
Is the macro present?
EFFECTIV
Is the M function effective at the
beginning or end of block (only M0 to
M88 and M300 to M999)?
WAIT
Only for M functions that do not call
NC macros:
Should the NC wait for
acknowledgement from the PLC (only
for M0 to M88 and M300 to M999)?
If there is no entry in this column,
MP7440 bit 2 is valid.
Display and Operation
Input
YES:
"Y", "y" or "1"
NO:
"N", "n" or "0"
6 – 287

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents