Subroutines

<< Click to Display Table of Contents >>

Navigation:  Reference Section > Machines > Advanced Post Processor Settings >

Subroutines

Some controllers require or benefit from the use of Subroutines.

Subroutine Call Macros

 The following macros may only be used within an active subroutine call:

 

$CALL_NAME$        The name of the Subroutine called

 

$CALL_X$

$CALL_Y$

 $CALL_Z$        X,Y, and Z coordinates for positioning the Subroutine

 

$CALL_ROT$                Subroutine Rotation (formatting is controlled by the Program Units, NC Code Angular Units settings)

$CALL_SEQ$        always 1,2,3,4,5- the subroutine number, used for example when naming subroutines

 

 

The following setting is valid outside of a subroutine call (LVD lasers may require an additional blank numbered subroutine call, this is useful for that).

 

$CALL_NUMBER$        defined by m_subroutineCallNumberingBegin and m_subroutineCallNumberingIncrement, can be used outside an active subroutine call.