CNC programming
Channel-specific
Programming is done in the usual fashion in conformity with DIN66025. The M/H function is output at the channel-specific part of the HLI.
For all M/H functions to be used, the synchronisation entry must be under the parameters P-CHAN-00041 (m_synch[mnr]) and P-CHAN-00027 (h_synch[mnr]) in the channel parameter list. This does not apply to the default M functions.
Programming example
N20 X75
N30 X50
N40 X25 M8
N50 X0 H1
Axis-specific (programming)
An extended CNC syntax is used for output of an M or H function to an axis.
If the output is always to take place to a specific axis, the extended syntax can be optionally dispensed with and the M/H function for this axis can be assigned by default.
The chosen axis must be in the channel. This is done by correspondingly assigning the output axis configuration in the channel parameter list or by programming axis exchange commands during execution in the CNC program [PROG].
Axis-specific (parameterization)
Configuration for standard output at the axis-specific part of the HLI when programming DIN66025 syntax.
m_default_outp_ax_name[7] Z
Programming example
N20X75
N30 X50
N40 X25 M7Output of M7 to the Z axis
N50X[M7] Output of M7 to the X axis
Explicit (extended syntax)
Programming in axis-specific syntax [PROG] for output at the axis-specific part of the HLI. In the case of explicit programming, an assignment from the channel parameter list is ignored.
Programming example
N20 X75
N30 X50
N40 X25 X[M7]Output of M7 to the X axis
N50 X0
Mixed programming
Output of M or H functions to several axes and the channel ranges in the same NC block.
Programming example
N10 X[M7] S[M7] M7Simultaneous output of M7 to the X axis,
the main spindle and the channel range
N20 X[H1] S[H1] H1Corresponding example
for the H function