Navigation: Kipware® Conversion Software > Kipware® CNC XChange >

User Option Macros - Hidden Gems

 

 

 

There are some hidden commands that can be inserted into the START of conversion, END of conversion and PRE-CONVERSION user options. using pre-defined macro command codes users can :

Split lines at user defined positions using the ^ key.

Replace a program word or letter address using the * and $ keys.

Delete an entire line using the ~ key.

 

Examples are below.

 

SPLITTING LINES at a user defined position.

This option is available in START of conversion, END of conversion and PRE-CONVERSION options.

 

Original Command : G00G91G28Z0M09

Replacement Command : G00G91G28Z0^M09

Result :

G00G91G28Z0M09

to

G00G91G28Z0

M09

 

REPLACEMENT of single address or address and all data

This option is available in START of conversion, END of conversion and PRE-CONVERSION options.

 

(1) One-For-One Replacement

In the following example G43 is defined as the trigger to look for using the * to end the definition of the trigger.

Once the trigger is found, search the line for whatever follows the trigger ( in this case H ) and replace it with replacement command definition.

 

Original Command : G43*H

Replacement Command : HA

Result :

G43Z20.000H01M08

to

G43Z20.000HA01M08

 

(2) Address and All Data Replacement

In the following example G43 is defined as the trigger to look for using the * to end the definition of the trigger.

Once the trigger is found, search the line for whatever follows the trigger ( in this case H ) and any associated data that follows the search designation ( this option is defined by the $ key ) ... and replace it with the replacement command definition.

 

Original Command : G43*H$

Replacement Command : HA

Result :

G43Z20.000H01M08

to

G43Z20.000HAM08

 

Complete Line Replacement in END of Conversion Options

Users can use a trigger code along with the ~ key to designate a line for complete removal.

 

Original Command : G43

Replacement Command : ~

Result :

G43Z20.000H01M08

to

 

 

New macro options are being added as required and requested by CNC XChange users ...

check back often for new releases.

 

 

 

 

 

© 2020 - Kentech Inc.