Machine Codes

The following variables contain many of the machine codes defined in the DF2 file. They can be used by the GPP2 developer in order to make his PP more generic whenever these codes have to be explicitly output to the machine.

Note: These system variables should be regarded as "read-only" by the EX2 program. GPP2 uses the codes specified in the DF2 file and will not respond to any changes made to these variables.

System Variable

Default format

Use and Comments

CODE_ADD_COOL1_ON

0

Machine code for additional coolant 1 (ON).

CODE_ADD_COOL1_OFF

0

Machine code for additional coolant 1 (OFF).

CODE_ADD_COOL2_ON

0

Machine code for additional coolant 2 (ON).

CODE_ADD_COOL2_OFF

0

Machine code for additional coolant 2 (OFF).

CODE_ADD_COOL3_ON

0

Machine code for additional coolant 3 (ON).

CODE_ADD_COOL3_OFF

0

Machine code for additional coolant 3 (OFF).

CODE_ADD_COOL4_ON

0

Machine code for additional coolant 4 (ON).

CODE_ADD_COOL4_OFF

0

Machine code for additional coolant 4 (OFF).

CODE_ADD_COOL5_ON

0

Machine code for additional coolant 5 (ON).

CODE_ADD_COOL5_OFF

0

Machine code for additional coolant 5 (OFF).

CODE_ADD_COOL6_ON

0

Machine code for additional coolant 6 (ON).

CODE_ADD_COOL6_OFF

0

Machine code for additional coolant 6 (OFF).

CODE_AIR_ON

0

Machine code for coolant AIR ON

CODE_AIR_OFF

0

Machine code for coolant AIR OFF.
GPP2 will use that code when coolant is turned off after it was set on to AIR for the procedure.

CODE_CIRC_CW

0

Machine code for circular motion at clockwise (CW) direction

CODE_CIRC_CCW

0

Machine code for circular motion at counterclockwise (CCW) direction

CODE_COOL_OFF

0

Machine code for default coolant OFF
GPP2 will use that code when coolant is off for the procedure.

CODE_CUTCOM_LEFT

0

Machine code for cutter compensation LEFT

CODE_CUTCOM_RIGHT

0

Machine code for cutter compensation RIGHT

CODE_CUTCOM_OFF

0

Machine code for cutter compensation OFF

CODE_CUTCOM_LEN

0

Machine code for cutter length compensation

CODE_DWELL

0

Machine code for machine dwell

CODE_FLOOD_ON

0

Machine code for coolant FLOOD ON

CODE_FLOOD_OFF

0

Machine code for coolant FLOOD OFF.
GPP2 will use that code when coolant is turned off after it was set on to FLOOD for the procedure.

CODE_LIN_FEED

0

Machine code for linear motion at feed rate

CODE_LIN_FAST

0

Machine code for linear motion at fast (rapid) rate

CODE_MIST_ON

0

Machine code for coolant MIST ON

CODE_MIST_OFF

0

Machine code for coolant MIST OFF.
GPP2 will use that code when coolant is turned off after it was set on to MIST for the procedure.

CODE_RETR_CLEAR

0

Machine code for cycle "return to clearance"

CODE_RETR_INIT

0

Machine code for cycle "return to init"

CODE_SPIN_CW

0

Machine code for clockwise spin

CODE_SPIN_CCW

0

Machine code for counter-clockwise spin

CODE_SPIN_OFF

0

Machine code for turning the spindle off

CODE_THROUGH_ON

0

Machine code for coolant THROUGH ON

CODE_THROUGH_OFF

0

Machine code for coolant THROUGH OFF.
GPP2 will use that code when coolant is turned off after it was set on to THROUGH for the procedure.

COOL_ADD1_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_ADD2_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_ADD3_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_ADD4_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_ADD5_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_ADD6_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_AIR_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_FLOOD_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_MIST_PRESSURE

0

String Value. May be not set if the value is irrelevant.

COOL_THROUGH_PRESSURE

0

String Value. May be not set if the value is irrelevant.

 

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.