mycnc:global_variables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:global_variables [2019/09/19 15:15] – ivan | mycnc:global_variables [2020/06/16 08:49] – ivan | ||
---|---|---|---|
Line 1: | Line 1: | ||
^ Variable Name ^ Variable Address ^ Comments ^ | ^ Variable Name ^ Variable Address ^ Comments ^ | ||
- | |GVAR_MODAL_G0_G3 |4001 | Modal state of G00, G01, G02, G03, G33, G34 | | + | |GVAR_MODAL_G0_G3 |4001 | Modal state of G00, G01, G02, G03 - motion |
- | |GVAR_MODAL_G96_G97 | + | |GVAR_MODAL2_G17_G19 |
- | |GVAR_MODAL_G68_G69 | + | |GVAR_MODAL3_G90_G91 |
- | |GVAR_MODAL_G98_G99 | + | |GVAR_MODAL5_G93_G94 |
- | |GVAR_MODAL_G20_G21 | 4006 | Modal state of G20, G21 | | + | |GVAR_MODAL_G20_G21 | 4006 | Modal state of G20, G21 - units | |
- | |GVAR_MODAL_G40_G42 | 4007 | Modal state of G40, G41, G42 | | + | |GVAR_MODAL_G40_G42 | 4007 | Modal state of G40, G41, G42 - cutter diameter |
- | |GVAR_MODAL_G25_G26 | + | |GVAR_MODAL8_G43_G49 |
|GVAR_MODAL_G22_G23 | 4009 | Modal state of G22, G23 | | |GVAR_MODAL_G22_G23 | 4009 | Modal state of G22, G23 | | ||
- | |GVAR_MODAL_G80_G89 | + | |GVAR_MODAL10_G98_G99 |
- | |GVAR_MODAL_G66_G67 | + | |GVAR_MODAL12_G54_G59 |
|GVAR_MODAL_G54_G59 | 4014 | Modal state of G54-G59 | | |GVAR_MODAL_G54_G59 | 4014 | Modal state of G54-G59 | | ||
|GVAR_MODAL_G17_G19 | 4016 | Modal state of G17-G19 | | |GVAR_MODAL_G17_G19 | 4016 | Modal state of G17-G19 | | ||
Line 69: | Line 69: | ||
| GVAR_JOG_STEP_FLOAT | 5523 | Obsolete global variable to set a float value for the jog step using the on-screen buttons. Has since been replaced, only used on old profile versions. | | | GVAR_JOG_STEP_FLOAT | 5523 | Obsolete global variable to set a float value for the jog step using the on-screen buttons. Has since been replaced, only used on old profile versions. | | ||
| GVAR_SPINDLE_SPEED | 5524 | Register represents given Spindle Speed. It's equal to " | | GVAR_SPINDLE_SPEED | 5524 | Register represents given Spindle Speed. It's equal to " | ||
- | | [[mycnc: | + | | [[mycnc: |
| GVAR_M30_SCHEDULED_REWIND | 5526 | The scheduled rewind allows the user to move back to the beginning of the program after the program run has completed. After moving back to the beginning, this variable is set to 0, so the M30 command needs to be added to the file every time the rewind is required (not on by default) | | | GVAR_M30_SCHEDULED_REWIND | 5526 | The scheduled rewind allows the user to move back to the beginning of the program after the program run has completed. After moving back to the beginning, this variable is set to 0, so the M30 command needs to be added to the file every time the rewind is required (not on by default) | | ||
| GVAR_SHOW_NCMESSAGE | 5527 | Reserved for future development to be able to display a line of text from the G-code file | | | GVAR_SHOW_NCMESSAGE | 5527 | Reserved for future development to be able to display a line of text from the G-code file | | ||
Line 170: | Line 170: | ||
| GVAR_MOTION_OVERSPEED | 7072 | Register represents Motion Overrate percentage. | | GVAR_MOTION_OVERSPEED | 7072 | Register represents Motion Overrate percentage. | ||
| GVAR_SPINDLE_OVERSPEED | 7073 | Register represents Spindle Overrate percentage. \\ Actual Spindle speed will be \\ Actual_Speed=Default_Speed * Spindle_Overspeed/ | | GVAR_SPINDLE_OVERSPEED | 7073 | Register represents Spindle Overrate percentage. \\ Actual Spindle speed will be \\ Actual_Speed=Default_Speed * Spindle_Overspeed/ | ||
- | | GVAR_JOG_OVERSPEED | 7074 | The jog overspeed value is directly edited through this global variable | | + | | GVAR_JOG_OVERSPEED | 7074 | The jog overspeed value is directly edited through this global variable |
| GVAR_PROBE_SENSOR_DIAMETER | 7075 | Specifies the probe sensor diameter in mm | | | GVAR_PROBE_SENSOR_DIAMETER | 7075 | Specifies the probe sensor diameter in mm | | ||
| GVAR_PROBE_SENSOR_XOFFSET | 7076 | X-axis offset for the probe sensor in millimeters | | | GVAR_PROBE_SENSOR_XOFFSET | 7076 | X-axis offset for the probe sensor in millimeters | | ||
Line 445: | Line 445: | ||
| GVAR_ENCODER_Z_EVENT | 9070 | Stores info on the wheel of the encoder passing the zero mark (the zero position)| | | GVAR_ENCODER_Z_EVENT | 9070 | Stores info on the wheel of the encoder passing the zero mark (the zero position)| | ||
| GVAR_POPUP_MESSAGE | 9100 | +16. Allows to assign popup messages with either 0 for OFF or 1 for ON (for example, 9103,1 to bring up message #3). Popup messages examples can be seen [[plc: | | GVAR_POPUP_MESSAGE | 9100 | +16. Allows to assign popup messages with either 0 for OFF or 1 for ON (for example, 9103,1 to bring up message #3). Popup messages examples can be seen [[plc: | ||
+ | | | 9200 | +16. Reserved to display the encoder position on an infinite scale (no value turnover on every full encoder turn, instead the value will keep climbing indefinitely into the positives/ | ||
+ | | | 9216 | +16. Reserved to display the encoder position on an infinite scale WITH the current encoder dimension (to indicate the current encoder position) | | ||
| GVAR_SERVO_PID_ON | 60000 | Denotes that the servo PID is ON | | | GVAR_SERVO_PID_ON | 60000 | Denotes that the servo PID is ON | | ||
| GVAR_SERVO_PID_OFF | 60001 | Denotes that the servo PID is OFF | | | GVAR_SERVO_PID_OFF | 60001 | Denotes that the servo PID is OFF | |
mycnc/global_variables.txt · Last modified: 2024/03/20 12:01 by ivan