Variables are placeholders for real values
Example: Key assignment for a custom button to move to the upper right edge of the shown graphics:
(Move to upper right corner - fast)
G90 G0 X#GMAX Y#GMAY
Following variables are available and some of them used for automatic tool change Automatic pen change:
Probing coordinates |
Actual probing coordinates
from last PRB-message |
PRBX |
X |
PRBY |
Y |
PRBZ |
Z |
|
|
Delta probing coordinates:
delta = actual - last |
PRDX |
X |
PRDY |
Y |
PRDZ |
Z |
|
Actual position |
Actual Machine coordinates |
MACX |
X |
MACY |
Y |
MACZ |
Z |
|
|
Actual Work coordinates |
WACX |
X |
WACY |
Y |
WACZ |
Z |
|
Last position |
Last Machine coordinates (before break) |
MLAX |
X |
MLAY |
Y |
MLAZ |
Z |
|
|
Last Work coordinates (before break) |
WLAX |
X |
WLAY |
Y |
WLAZ |
Z |
|
Tool coordinates |
Tool Actual Number - to be applied |
TOAN |
Number |
Tool change position - to be applied |
TOAX |
X |
TOAY |
Y |
TOAZ |
Z |
TOAA |
A |
|
|
Tool Last Number - from tool in use |
TOLN |
Number |
Tool change position - from tool in use |
TOLX |
X |
TOLY |
Y |
TOLZ |
Z |
TOLA |
A |
|
Variables for custom buttons
Graphic XY coordinates |
|
Setup Z coordinates |
Minimum coordinates |
GMIX |
X |
GMIY |
Y |
Center coordinates |
GCTX |
X |
GCTY |
Y |
Maximum coordinates |
GMAX |
X |
GMAY |
Y |
|
|
Z axis |
GMIZ |
Z down |
GMAZ |
Z up |
GCTZ |
Z center |
PWM value |
GMIS |
PWM down |
GMAS |
PWM up |
GZES |
PWM zero |
GCTS |
PWM center |
|
|