Skip to content

Renamed Macros Documentation

3dToolOffset

Function — CUTTER COMPENSATION

Status — RENAMED

Comment — Renamed to: Tool3dOffset


Debug

Function — MISCELLANEOUS

Status — RENAMED

Comment — Renamed to: DebugMacro


Dwell1

Function — DWELL

Status — RENAMED

Comment — Renamed to: DwellMacro


FlyAwayOffsetPercentage

Status — RENAMED

Comment — Renamed to FlyAwayXOffsetPercentage.


GetCurrentTime

Function — MISCELLANEOUS

Status — ACTIVE

Comment — Added V7.2

Inputs —

Text: Time variable or

Hour variable, Minutes variable, Seconds variable

Value: Not Used

If 3 variables are specified, it will set the variables with the current hour/mininutes/seconds. Otherwise, it will set the specified variable with the current hour/minutes/seconds in the following format: hhmmss

If the variables do not currently exist, they will be created.

For example:

GetCurrentTime OT=$A_TIME

GetCurrentTime OT=$A_HOUR $A_MINUTES $A_SECONDS


Input

Function — MISCELLANEOUS

Status — RENAMED

Comment — Renamed to: InputMacro


Label

Function — BRANCHING

Status — RENAMED

Comment — Renamed to: LabelMacro


Macros - Listed Alphabetically

The macros which can be referenced via groups in the G-Code Processing window: Word/Address and the events in the G-Code Processing window: Events sections are listed below in alphabetical order.

NOTES:

  1. Use of the Probe macro requires a CNC Machine Probing license.
  2. All of the macros are passed 3 Inputs:

Word — This is the G-Code Word that caused the macro to be called. Words are defined in the Word Format Table. If the macro is being called within one of the events, the word defaults to “”. Unless otherwise specified, assume that this value is not used.

Text — This is the text input that is associated with the value. The "Text" input comes from the NC program file but can be over-ridden by entering a text string in a macro's Override Text field.

Value — This is the numeric value. "Value" inputs come from the NC program but can be over-ridden by entering a value the macro's Override Value field.

Examples:

G-Code Word Text Value Comment
X(#1+#2) X (#1+#2) 5 Assuming (#1+#2)=5
X"2" X "2" 2
  1. If the Text or Value argument is defined within [], it means that the argument is optional.

Tip: Use the Debug Macro Arguments feature to see the macro name, the word, the text string value, and the numeric value for the macro being called.

Shortcut: Click on a letter below to go directly to the macros that start with that letter.


Null

Function — MISCELLANEOUS

Status — RENAMED

Comment — Renamed to: NullMacro


Rotate

Function — ROTATE 2D

Status — RENAMED

Comment — Renamed to: RotateMacro


RotateTurningTool

Status — OBSOLETE

Comment — No Longer Exists.


RPM

Function — FEEDS & SPEEDS

Status — RENAMED

Comment — Renamed to: RPMSpeed.


SetCircle360Tolearance

Function — CIRCLES

Status — RENAMED

Comment — Renamed to: SetCircle360Tolerance


Inputs

Function — SHIFT WORK PZ

Status — OBSOLETE

Comments — Added in V9.0

Inputs —

Text: Not used

Value: 0 = Off, 1 = ON

This macro enables (ON) and disables (OFF) the RPCP mode associated to the rotisserie, in robot offset mode.

If Value=0, rotisserie RPCP is OFF (which is the default): The internal Program Zero CSYS will not be impacted by rotisserie angle. It means that program coordinates must be neutral regarding rotisserie angle.

If Value=1, rotisserie RPCP is ON: The internal Program Zero CSYS will be impacted by rotisserie angle. It means that program coordinates must take the rotisserie angle into account.


SiemensVariableArrayAccess

Function — MISCELLANEOUS

Status —NOT RECOMMENDED

Comment — Added V7.4

Inputs —

Text: Not Used

Value: 0 = Standard logic (default), 1= cache logic

A new cache logic was implemented in an attempt to improve performance when dealing with large number of variables (which is typical when using a Siemens 840D control). This macro was created to allow the user to optionally use this new logic.

Unfortunately, numerous problem arose using this new high performance logic, so it is recommended that this macro never be used.

NOTE: It will be disabled in future releases.


SpindleCompName

Function — MISCELLANEOUS

Status — REPLACED

Comment — Replaced by ActiveSpindleCompName in V6.0.


SpindleCompOnOff

Function — MISCELLANEOUS

Status — REPLACED

Comment — Replaced by ActiveSpindleOnOff in V6.0.


SpindleSpeedMax

Function — FEEDS & SPEEDS

Status — REPLACED

Comment — Replaced by ActiveSpindleMaxSpeed in V6.0.


SpindleSpeedMin

Function — FEEDS & SPEEDS

Status — REPLACED

Comment — Replaced by ActiveSpindleMinSpeed in V6.0.


SubroutineSequenceEndReturn

Function — SUBROUTINES

Status — ACTIVE

Inputs —

Text: Subroutine name

Value: Not used

During the scan pass, this routine marks the end of the previous subroutine, and marks the beginning of a new subroutine (Subroutine name). During the run pass, if the input Subroutine name does not match the current subroutine, this macro will act like a ReturnFromSub.

NOTE: This macro (and any of the SubroutineSequence macros) should not be used as a Sequence macro in a non-multipass environment. Problems might occur if this is done.

This routine is identical to SubroutineSequenceEnd except during the run pass if the input Subroutine name does not match the current subroutine, this macro will act like a ReturnFromSub.


Sync


Sync_Macro

Sync

Function — SYNC

Status — RENAMED

Comment — Renamed to: SyncMacro.


ToolChainMotionXYZ

Function — MOTION

Status — ACTIVE

Inputs —

Text: Not Used

Value: Distance

Moves the tool the specified distance along the tool axis. This macro only handles XYZ – not UVW. It also does not handle reverse axis or non-orthognal axis.


ToolOffSetAptAdj2

Function — TOOL OFFSETS

Status — REPLACED

Comment — Replaced by ToolOffsetAptAdj.


ToolOffSetUpdate2

Function — TOOL OFFSETS

Status — REPLACED

Comment — Replaced by ToolOffsetUpdate.


UVW_Axis

Function — MAPPING

Status — RENAMED

Comment — Renamed to: UvwAxis


WTapeTurnOffWithCutOff

Function — TAPE LAYING

Status — ACTIVE

Comment — Added V9.2.1

Inputs —

Text: Note used

Value: 1 = Turns on this feature, 0 = Turns off this feature (default)

When this feature is turned on, and a “cut off” occurs, the position will be marked, and when the tape advances to this position, the tow will be turned off. This only works when there is a single roller, TapeHeadOnOff OV=1 is set, and the WTapeMTKnife macros are being used to cut the tape.


XYZ_Axis

Function — MAPPING

Status — RENAMED

Comment — Renamed to: XyzAxis