User Tools

Site Tools


mycnc:global_variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mycnc:global_variables [2019/04/04 11:45]
skirillov
mycnc:global_variables [2019/09/19 15:15] (current)
ivan
Line 12: Line 12:
 |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 |
-|GVAR_TOOL_1_X_CORRECTION | 4600 | +98 | +|GVAR_TOOL_1_X_CORRECTION | 4600 | (+98) Tool correction (small value corrections in the x direction) ​
-|GVAR_TOOL_1_Z_CORRECTION | 4700 | +98 |+|GVAR_TOOL_1_Z_CORRECTION | 4700 | (+98) Tool correction (small value corrections) in the z direction) ​|
 |<​del>​GVAR_RUNNING_STOP</​del>​ | 4800 | | |<​del>​GVAR_RUNNING_STOP</​del>​ | 4800 | |
 |<​del>​GVAR_CURRENT_BLOCK_END_POSITION</​del>​ | 5001 | (+8) program position at the end of current block | |<​del>​GVAR_CURRENT_BLOCK_END_POSITION</​del>​ | 5001 | (+8) program position at the end of current block |
 ^   ​^ ​ ^  ^ ^   ​^ ​ ^  ^
-|GVAR_CURRENT_MACHINE_POSITION| 5021 | (+8) Current position in Machine coordinates \\ 5021 - Machine Position X \\ 5022 - Machine Position Y \\ 5023 - Machine Position Z \\ 5024 - Machine Position A \\ 5025 - Machine Position B \\ 5026 - Machine Position C \\ 5027 - Machine Position U \\ 5028 - Machine Position V \\ 5029 - Machine Position W |+|GVAR_CURRENT_MACHINE_POSITION| 5021 | (+8) Current position in Machine coordinates \\ 5021 - Machine Position X \\ 5022 - Machine Position Y \\ [[mycnc:​global_variables:​5023|5023]] ​- Machine Position Z \\ 5024 - Machine Position A \\ 5025 - Machine Position B \\ 5026 - Machine Position C \\ 5027 - Machine Position U \\ 5028 - Machine Position V \\ 5029 - Machine Position W |
 |GVAR_CURRENT_PROGRAM_POSITION | 5041 | (+8) Current position in Work coordinates \\ 5041 - Work Position X \\ 5042 - Work Position Y \\ 5043 - Work Position Z \\ 5044 - Work Position A \\ 5045 - Work Position B \\ 5046 - Work Position C \\ 5047 - Work Position U \\ 5048 - Work Position V \\ 5049 - Work Position W| |GVAR_CURRENT_PROGRAM_POSITION | 5041 | (+8) Current position in Work coordinates \\ 5041 - Work Position X \\ 5042 - Work Position Y \\ 5043 - Work Position Z \\ 5044 - Work Position A \\ 5045 - Work Position B \\ 5046 - Work Position C \\ 5047 - Work Position U \\ 5048 - Work Position V \\ 5049 - Work Position W|
-|GVAR_OFFSET_G38_PROBE | 5061 | | +|GVAR_OFFSET_G38_PROBE | 5061 | Specifies the probe offset from the main working tool (or the offset from some coordinate that has been chosen to be the offset zero) 
-|GVAR_G38_PROBE_RESULT | 5070 | |+|GVAR_G38_PROBE_RESULT | 5070 | Stores the result of the probe coming into contact with a surface ​|
 ^   ​^ ​ ^  ^ ^   ​^ ​ ^  ^
 |GVAR_OFFSET_G28 | 5161 | Machine coordinates for G28 Home Position \\ 5161 - G28 X Position \\ 5162 - G28 Y Position \\ 5163 - G28 Z Position \\ 5164 - G28 A Position \\ 5165 - G28 B Position \\ 5166 - G28 C Position \\ 5167 - G28 U Position \\ 5168 - G28 V Position \\ 5169 - G28 W Position | |GVAR_OFFSET_G28 | 5161 | Machine coordinates for G28 Home Position \\ 5161 - G28 X Position \\ 5162 - G28 Y Position \\ 5163 - G28 Z Position \\ 5164 - G28 A Position \\ 5165 - G28 B Position \\ 5166 - G28 C Position \\ 5167 - G28 U Position \\ 5168 - G28 V Position \\ 5169 - G28 W Position |
Line 37: Line 37:
 |GVAR_OFFSET_G593_DATA | 5381 | (+8) Offsets between **Machine** and **Work** coordinates for Coordinates system #9 (G59.3) \\ #5381 - G59.3 Offset X, \\ #5382 - G59.3 Offset Y, \\ #5383 - G59.3 Offset Z, \\ #5384 - G59.3 Offset A, \\ #5385 - G59.3 Offset B, \\ #5386 - G59.3 Offset C, \\ #5387 - G59.3 Offset U, \\ #5388 - G59.3 Offset V, \\ #5389 - G59.3 Offset W  | |GVAR_OFFSET_G593_DATA | 5381 | (+8) Offsets between **Machine** and **Work** coordinates for Coordinates system #9 (G59.3) \\ #5381 - G59.3 Offset X, \\ #5382 - G59.3 Offset Y, \\ #5383 - G59.3 Offset Z, \\ #5384 - G59.3 Offset A, \\ #5385 - G59.3 Offset B, \\ #5386 - G59.3 Offset C, \\ #5387 - G59.3 Offset U, \\ #5388 - G59.3 Offset V, \\ #5389 - G59.3 Offset W  |
 ^   ​^ ​ ^  ^ ^   ​^ ​ ^  ^
-| GVAR_CHECK_TOOL_MISMATCH | 5397 | | +| GVAR_CHECK_TOOL_MISMATCH | 5397 | Checks if the tools present correspond to the specified number of tools that are supposed to be used / if any tool mismatch is present ​
-| GVAR_CHECK_TOOL_BREAKAGE | 5398 | A register contains Tool integrity flag. It's supposed a Tool integrity procedure will write "​1"​ to this register is a Tool Breakage is detected. A "​0"​ value is written ​while the broken tool is replaced. ​+| GVAR_CHECK_TOOL_BREAKAGE | 5398 | A register contains Tool integrity flag. It's supposed a Tool integrity procedure will write "​1"​ to this register is a Tool Breakage is detected. A "​0"​ value is written ​when the broken tool is replaced ​(tool is intact). | 
-| GVAR_OFFSET_TOOL_PARAMS | 5400 | +| GVAR_CURRENT_TOOL_NUMBER | 5400 | Current Tool Number ​(that is being used by the machine at the moment) ​is stored in this register | 
-| GVAR_CURRENT_TOOL_NUMBER | 5400 | Current Tool Number is stored in this register | +| GVAR_CURRENT_TOOL_OFFSET | 5401 | Offset values. ​+8 for all axes 
-| GVAR_CURRENT_TOOL_OFFSET | 5401 | +8 for all axes | +|  | 5403 | Tool length (in mm) is stored in this register (z-axis tool offset) ​
-| GVAR_SCHEDULED_TOOL_NUMBER | 5409 | A Tool numberthat going to be next in tool holder. \\ ATC procedure uses both #5400 and #5409 registers to find where to put a current tool and where from to get the new one. | +| GVAR_SCHEDULED_TOOL_NUMBER | 5409 | The register stores the tool number that is going to be next in tool holder. \\ ATC procedure uses both #5400 and #5409 registers to find where to put a current tool and where from to get the new one. | 
-| GVAR_CURRENT_TOOL_DIAMETER | 5410 | The register ​keeps a diameter of the Current Tool. Register value is updated from Tool table when Current Tool number (#5400) is changed. | +| GVAR_CURRENT_TOOL_DIAMETER | 5410 | The register ​stores the diameter of the Current Tool. Register value is updated from Tool table when the Current Tool number (#5400) is changed. | 
-| GVAR_TOOL_FRONTANGLE | 5411 | A register is reserved for future implementation | +| GVAR_TOOL_FRONTANGLE | 5411 | Register ​reserved for future implementation ​(tool front angle) ​
-| GVAR_TOOL_BACKANGLE | 5412 | A register is reserved for future implementation| +| GVAR_TOOL_BACKANGLE | 5412 | Register ​reserved for future implementation ​(tool back angle) ​
-| GVAR_TOOL_ORIENTATION | 5413 | A register is reserved for future implementation| +| GVAR_TOOL_ORIENTATION | 5413 | Register ​reserved for future implementation ​(tool orientation) ​
-| GVAR_TOOL_HOLDER_ORIENTATION | 5415 | A register is reserved for future implementation |+| GVAR_TOOL_HOLDER_ORIENTATION | 5415 | Register ​reserved for future implementation ​(orientation values for the tool holder) ​|
 | GVAR_SOFT_LIMITS_MIN | 5421 | (+8) Soft Limits Minimum Position \\ 5421 - Soft Limit Minimum X Position \\ 5422 - Soft Limit Minimum Y Position \\ 5423 - Soft Limit Minimum Z Position \\ 5424 - Soft Limit Minimum A Position \\ 5425 - Soft Limit Minimum B Position \\ 5426 - Soft Limit Minimum C Position \\ 5427 - Soft Limit Minimum U Position \\ 5428 - Soft Limit Minimum V Position \\ 5429 - Soft Limit Minimum W Position | | GVAR_SOFT_LIMITS_MIN | 5421 | (+8) Soft Limits Minimum Position \\ 5421 - Soft Limit Minimum X Position \\ 5422 - Soft Limit Minimum Y Position \\ 5423 - Soft Limit Minimum Z Position \\ 5424 - Soft Limit Minimum A Position \\ 5425 - Soft Limit Minimum B Position \\ 5426 - Soft Limit Minimum C Position \\ 5427 - Soft Limit Minimum U Position \\ 5428 - Soft Limit Minimum V Position \\ 5429 - Soft Limit Minimum W Position |
 | GVAR_SOFT_LIMITS_MAX | 5431 | (+8) Soft Limits Maximum Position \\ 5431 - Soft Limit Maximum X Position \\ 5432 - Soft Limit Maximum Y Position \\ 5433 - Soft Limit Maximum Z Position \\ 5434 - Soft Limit Maximum A Position \\ 5435 - Soft Limit Maximum B Position \\ 5436 - Soft Limit Maximum C Position \\ 5437 - Soft Limit Maximum U Position \\ 5438 - Soft Limit Maximum V Position \\ 5439 - Soft Limit Maximum W Position ​ | | GVAR_SOFT_LIMITS_MAX | 5431 | (+8) Soft Limits Maximum Position \\ 5431 - Soft Limit Maximum X Position \\ 5432 - Soft Limit Maximum Y Position \\ 5433 - Soft Limit Maximum Z Position \\ 5434 - Soft Limit Maximum A Position \\ 5435 - Soft Limit Maximum B Position \\ 5436 - Soft Limit Maximum C Position \\ 5437 - Soft Limit Maximum U Position \\ 5438 - Soft Limit Maximum V Position \\ 5439 - Soft Limit Maximum W Position ​ |
-| GVAR_OFFSET_G282 | 5441 | |+| GVAR_OFFSET_G282 | 5441 | Offsets - G28.2, G28.3 and G28.4 are used to record the current machine position coordinate for a certain axis. The syntax for that will be "G28.2 X0", for example, noting that only the x-axis value is to be recorded. NOTE: The recorded value will NOT be zero in this case, but rather the current x-axis position. The number after the axis symbol is IGNORED. The G28.5,G28.6 and G28.7 will then be used to retrieve these axis values. ​|
 | GVAR_HOME_AFTER_POSITION | 5451 | (+8) Registers contain values that used by Homing macros to initialize Machine Position after Homing done \\ 5451 - Machine Position X after Homing \\ 5452 - Machine Position Y after Homing \\ 5453 - Machine Position Z after Homing \\ 5454 - Machine Position A after Homing \\ 5455 - Machine Position B after Homing \\ 5456 - Machine Position C after Homing \\ 5457 - Machine Position U after Homing \\ 5458 - Machine Position V after Homing \\ 5459 - Machine Position W after Homing | | GVAR_HOME_AFTER_POSITION | 5451 | (+8) Registers contain values that used by Homing macros to initialize Machine Position after Homing done \\ 5451 - Machine Position X after Homing \\ 5452 - Machine Position Y after Homing \\ 5453 - Machine Position Z after Homing \\ 5454 - Machine Position A after Homing \\ 5455 - Machine Position B after Homing \\ 5456 - Machine Position C after Homing \\ 5457 - Machine Position U after Homing \\ 5458 - Machine Position V after Homing \\ 5459 - Machine Position W after Homing |
-| GVAR_CURRENT_NUM_LINE | 5480 | Stop NC line | +| GVAR_CURRENT_NUM_LINE | 5480 | Stores the current program ​line number. This global variable is used in the percent/​estimated time calculations. ​
-| GVAR_CURRENT_NUM_NC | 5460 | Stop NC line +| GVAR_CURRENT_NUM_NC | 5460 | Stores the current ​NC block number (command number) ​
-| GVAR_CURRENT_NC_POSITION | 5461 | (+8) Registers keeps Toolpath Work coordinates when Job running was stopped (Paused). This registers are used by "Back to Path" procedure to return the tool on the toolpath position \\ 5461 - Current NC Position X \\ 5462 - Current NC Position Y \\ 5463 - Current NC Position Z \\ 5464 - Current NC Position A \\ 5465 - Current NC Position B \\ 5466 - Current NC Position C \\ 5467 - Current NC Position U \\ 5468 - Current NC Position V \\ 5469 - Current NC Position W | +| GVAR_CURRENT_NC_POSITION | 5461 | (+8) Registers keeps Toolpath Work coordinates when Job running was stopped (Paused). This registers are used by the "Back to Path" procedure to return the tool to the toolpath position \\ 5461 - Current NC Position X \\ 5462 - Current NC Position Y \\ 5463 - Current NC Position Z \\ 5464 - Current NC Position A \\ 5465 - Current NC Position B \\ 5466 - Current NC Position C \\ 5467 - Current NC Position U \\ 5468 - Current NC Position V \\ 5469 - Current NC Position W | 
-| GVAR_TOOL_SENSOR_POSITION | 5471 | (+8) | +| GVAR_TOOL_SENSOR_POSITION | 5471 | Stores the position of the tool sensor ​(+8) | 
-| GVAR_SURFACE_SENSOR_WIDTH | 5490 | | +| GVAR_SURFACE_SENSOR_WIDTH | 5490 | Specifies the sensor width in mm to be used for the distance calculation between the sensor position and the actual work position ​
-| GVAR_PIERCE_HEIGHT | 5491 | | +| GVAR_PIERCE_HEIGHT | 5491 | Specifies the pierce height ​
-| GVAR_OFFSETZ_MANUAL | 5492 | | +| GVAR_OFFSETZ_MANUAL | 5492 | Specifies a manual z-axis offset ​
-| GVAR_OFFSETZ_THC | 5493 | | +| GVAR_OFFSETZ_THC | 5493 | Z-axis offset for THC 
-| GVAR_SURFACE_SENSOR_NUMBER | 5494 | | +| GVAR_SURFACE_SENSOR_NUMBER | 5494 | Specifies sensor number ​
-| GVAR_SURFACE_SENSOR_TYPE | 5495 | | +| GVAR_SURFACE_SENSOR_TYPE | 5495 | Specifies sensor type - open or closed ​
-| GVAR_SHEET_THICKNESS | 5496 | | +| GVAR_SHEET_THICKNESS | 5496 | Specifies the thickness of the working material ​
-| GVAR_OFFSET_G283 | 5501 | | +| GVAR_OFFSET_G283 | 5501 | Similar to 5441 (G282), stores the position.  ​
-| GVAR_OFFSET_G284 | 5511 | +9 |+| GVAR_OFFSET_G284 | 5511 | +9. See 5441 (G282) for description.|
 | [[mycnc:​global_variables_description#​5521|GVAR_END_SENSORS_IGNORE]] | [[mycnc:​global_variables_description#​5521|5521]] | Writing "​1"​ to this register will turn off Hardware Limit Sensors control temporarily. | | [[mycnc:​global_variables_description#​5521|GVAR_END_SENSORS_IGNORE]] | [[mycnc:​global_variables_description#​5521|5521]] | Writing "​1"​ to this register will turn off Hardware Limit Sensors control temporarily. |
-| GVAR_JOG_STEP_SIZE | 5522 | | +| GVAR_JOG_STEP_SIZE | 5522 | Specifies the jog step size. This variable can be written to (and is what the user should be interacting with rather than the 7381/​7382/​etc variables) ​
-| GVAR_JOG_STEP_FLOAT | 5523 | | +| 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 "​Default Spindle Speed" by default. If G-code program "​S"​-code with new spidnle ​speed settings executed, the value will be changed accordingly. |+| GVAR_SPINDLE_SPEED | 5524 | Register represents given Spindle Speed. It's equal to "​Default Spindle Speed" by default. If G-code program "​S"​-code with new spindle ​speed settings executed, the value will be changed accordingly. |
 | [[mycnc:​global_variables_description#​5525|GVAR_SOFT_LIMITS_IGNORE]] | [[mycnc:​global_variables_description#​5525|5525]] | Writing "​1"​ to this register will turn off Software Limits control temporarily. | | [[mycnc:​global_variables_description#​5525|GVAR_SOFT_LIMITS_IGNORE]] | [[mycnc:​global_variables_description#​5525|5525]] | Writing "​1"​ to this register will turn off Software Limits control temporarily. |
-| GVAR_M30_SCHEDULED_REWIND | 5526 | +| 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 | | +| GVAR_SHOW_NCMESSAGE | 5527 | Reserved for future development to be able to display a line of text from the G-code file 
-GVAR_DRAWING_MODE ​| 5528 | | +GVAR_SIMULATION_MODE ​| 5528 | Indicates that the machine will be in drawing mode to be able to draw/etch on the working material ​
-| GVAR_SHOCK_SENSOR_IGNORE | 5529 | | +| GVAR_SHOCK_SENSOR_IGNORE | 5529 | Ignores shock sensor data (useful when utilizing the sensors for procedures other than shock information gathering) ​
-| GVAR_STEP_PER_UNIT | 5530 | +6 |+| GVAR_STEP_PER_UNIT | 5530 | (+6) Specifies the steps per unit value 
 | <​del>​GVAR_PARKING1</​del>​ | 5541 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates |  | <​del>​GVAR_PARKING1</​del>​ | 5541 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates | 
 | <​del>​GVAR_PARKING2</​del>​ | 5551 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ | | <​del>​GVAR_PARKING2</​del>​ | 5551 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ |
Line 81: Line 81:
 | <​del>​GVAR_PARKING5</​del>​ | 5581 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ | | <​del>​GVAR_PARKING5</​del>​ | 5581 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ |
 | <​del>​GVAR_PARKING6</​del>​ | 5591 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ | | <​del>​GVAR_PARKING6</​del>​ | 5591 | (+8) Registers are obsolete since another address space is reserved to ge up to 20 parking coordinates ​ |
-| GVAR_CURRENT_TOOLCHANGER_TYPE | 5600 | | +| GVAR_CURRENT_TOOLCHANGER_TYPE | 5600 | Allows to select the toolchanger type (whether it is off/​linear/​rotary/​manual tool change) ​
-| GVAR_TOOLCHANGER_UNLOAD_OFFSET | 5601 | +8 | +| GVAR_TOOLCHANGER_UNLOAD_OFFSET | 5601 | +8 | Specifies the offset for machine to position itself before unloading the current working tool. Typically done so that the tool is not in danger of breaking due to being pushed into the tool changer) 
-| GVAR_TOOLCHANGER_BLOW_OFF_OFFSET | 5610 | +8 | +| GVAR_TOOLCHANGER_BLOW_OFF_OFFSET | 5610 | (+8) The offset for the machine to position itself if the tool will be blown out by the compressed air, done for safety reasons ​
-| GVAR_MYDEV_MSG_COUNTER |5630 | +64 till 5694 |+| GVAR_MYDEV_MSG_COUNTER |5630 | +64 till 5694. Allows for a quick display of the number of messages in the UDP message counter field in the Network tab |
 | GVAR_TECHNOLOGY_CFG | 5701 | | GVAR_TECHNOLOGY_CFG | 5701 |
   0- flexible;   0- flexible;
Line 100: Line 100:
  ​TECH5701_LASER_ENG ​ //5  ​TECH5701_LASER_ENG ​ //5
 };</​code>​ | };</​code>​ |
-| GVAR_THC_ENABLE | 5702 | 0- disable; 1- enable | +| GVAR_THC_ENABLE | 5702 | THC toggle, ​0- disable; 1- enable | 
-| GVAR_IHC_ENABLE | 5703 | 0- disable; 1- enable |+| GVAR_IHC_ENABLE | 5703 | IHC toggle, ​0- disable; 1- enable |
 | <​del>​GVAR_ET5_SLOW_PID_ENABLE</​del>​ | 5705 | ET5 SLOW PID: 0- disable; 1- enable | | <​del>​GVAR_ET5_SLOW_PID_ENABLE</​del>​ | 5705 | ET5 SLOW PID: 0- disable; 1- enable |
-| GVAR_CV_MODE | 5710 | | +| GVAR_CV_MODE | 5710 | Enables or disables the Constant Velocity mode (0 - disable, 1 - enable) ​
-| GVAR_CV_TOLERANCE | 5711 | | +| GVAR_CV_TOLERANCE | 5711 | This stores the constant velocity tolerance, as described in the [[mycnc:​constant_velocity_mode_cv|Constant Velocity Mode (CV)]] manual ​
-| GVAR_SOFT_LIMITS_CHECKER | 5714 | | +| GVAR_SOFT_LIMITS_CHECKER | 5714 | Checks whether the machine is within or outside the software limits ​
-| GVAR_LATHE_GEARS | 5715 | | +| GVAR_LATHE_GEARS | 5715 | Gear ratios can be used on lathe machines. In order to allow for constant surface speed while changing gears, the gear ratio is used. This global variable stores the value of the gear ratio to be used to calculate CSS 
-| GVAR_MODE_SINGLE_BLOCK | 5720 | | +| GVAR_MODE_SINGLE_BLOCK | 5720 | Writing "​1"​ into this register will make the program run in single blocks (single lines). In this mode, the program runs through a single next line of code before stopping again. Useful for safety evaluations when running through the entire program can be dangerous. | 
-| GVAR_POSITION_STORED | 5900 | | +| GVAR_POSITION_LOG_DATA | 5730 | Height map logging. If Logging is stopped, writing to this register does not have an effect. If the Logging is started, writing any value to this register will add current position to the Log data array. Beside of storing into the Log Array, the Log position is stored into Global Variables 5731-5736 as well (5731 - X, 5732 - Y, 5733 - Z, 5734 - A, 5735 - B, 5736 - C) |  
-| GVAR_CURRENT_MOTION_CODE | 6060 | |+| GVAR_POSITION_LOG_CMD | 5740 | Begin/Eng Height Map Log. Writing “1” to this register will start logging. Writing “0” to this register will stop logging and save the data which will be stored in a log file with a given filename and time stamp. Writing "​100"​ into this global variable will load the data from the log file. 
 +| GVAR_POSITION_STORED | 5900 | This register stores the flag (0 or 1) for whether the current position has been saved in flash memory. This is done every few seconds after the movement has been stopped in order to conserve the number of write operations onto flash memory. The variable flag visualization can be seen in the Diagnostics window in the bottom-right corner next to the stop button (grey for not saved - 0, red for saved - 1) 
 +| GVAR_CURRENT_MOTION_CODE | 6060 | Specifies the current motion code (useful to wait until motion has finished, for example). ​|
 | GVAR_CURRENT_MOTION_WORK_PTR | 6061 | Motion controller work command pointer | | GVAR_CURRENT_MOTION_WORK_PTR | 6061 | Motion controller work command pointer |
-| GVAR_CURRENT_MOTION_LAST_PTR | 6062 | Motion controller work command pointer | +| GVAR_CURRENT_MOTION_LAST_PTR | 6062 | Motion controller work command pointer ​(last) ​
-| GVAR_CURRENT_NC_LINE | 6063 | Current ​NC line number | +| GVAR_CURRENT_NC_LINE | 6063 | Current line number ​within the control program ​
-| GVAR_TOTAL_NC_LINES | 6064 | | +| GVAR_TOTAL_NC_LINES | 6064 | Stores the total number of lines of the control program ​
-| GVAR_SYSTEM_JOB_RUN | 6065 | | +| GVAR_SYSTEM_JOB_RUN | 6065 | Denotes whether program is currently running | 
-| GVAR_OIL_LENGTH_COUNTER | 6080 | | +| GVAR_JOB_PROGRESS | 6067 | Denotes the current job progress in percentage of total lines done from the control program (useful for time estimation) ​|  
-| GVAR_OIL_REVERSE_COUNTER | 6081 | | +| GVAR_OIL_LENGTH_COUNTER | 6080 | Oil system counter which stores the distance that the lathe has travelled. ​
-| GVAR_SOFT_LIMITS_CONTROL | 6083 | | +| GVAR_OIL_REVERSE_COUNTER | 6081 | Oil system counter which stores the number of direction changes for the machine system (as those require more frequent lubrication). Both the length and the reverse counter are used in the lubrication process ​
-| GVAR_TOOLCHANGER_POSITION | 6101 | +8 |+| GVAR_SOFT_LIMITS_CONTROL | 6083 | Enables or disables software limits (this can otherwise be set through the check mark in Settings > Config > Inputs/​Outputs/​Sensors > Limits) | 
 +| GVAR_OIL_SERVICE_COUNTER_X |  6090 | Mileage/oil change X-direction trips counter ​ | 
 +| GVAR_OIL_SERVICE_COUNTER_Y |  6091 | Mileage/oil change Y-direction trips counter ​ | 
 +| GVAR_OIL_SERVICE_COUNTER_Z |  6092 | Mileage/oil change Z-direction trips counter  ​
 +| GVAR_TOOLCHANGER_POSITION | 6101 | Specifies the tool changer position on the machine (+8 axes) |
 | GVAR_TOOLCHANGER_NEXT_POSITION | 6111 | +6 | | GVAR_TOOLCHANGER_NEXT_POSITION | 6111 | +6 |
-| GVAR_TOOLPOT_1_POSITION | 6121 | +6 |+| GVAR_TOOLPOT_1_POSITION | 6121 | +6. Registers 6121-6271 specify the positions for the tool pots |
 | GVAR_TOOLPOT_2_POSITION | 6131 | +6 | | GVAR_TOOLPOT_2_POSITION | 6131 | +6 |
 | GVAR_TOOLPOT_3_POSITION | 6141 | +6 | | GVAR_TOOLPOT_3_POSITION | 6141 | +6 |
Line 136: Line 142:
 | GVAR_TOOLPOT_15_POSITION | 6261 | +6 | | GVAR_TOOLPOT_15_POSITION | 6261 | +6 |
 | GVAR_TOOLPOT_16_POSITION | 6271 | +6 | | GVAR_TOOLPOT_16_POSITION | 6271 | +6 |
-| GVAR_TOOL_CHANGE_SPEED | 6970 | +| GVAR_OIL_SERVICE_LIMIT_X | 6890 | Mileage/oil change X-direction limit | 
-| GVAR_TAGENTKNIFE_ANGLE | 7001 | +| GVAR_OIL_SERVICE_LIMIT_Y | 6891 | Mileage/oil change Y-direction limit | 
-| GVAR_TAGENTKNIFE_POSITION | 7002 +| GVAR_OIL_SERVICE_LIMIT_Z | 6892 | Mileage/oil change Z-direction limit | 
-| GVAR_FEEDRATE_UNIT | 7003 | | +| GVAR_TOOL_CHANGE_SPEED | 6970 | Specifies the speed during the tool changing phase 
-| GVAR_ROTATERATE_UNIT | 7004 | |+| GVAR_TAGENTKNIFE_ANGLE | 7001 | Current angle of the tangential knife 
 +| GVAR_TAGENTKNIFE_POSITION | 7002 | Current position of the tangential knife | 
 +| GVAR_FEEDRATE_UNIT | 7003 | Sets the unit which the feedrate will be using (mm or inch) 
 +| GVAR_ROTATERATE_UNIT | 7004 | Sets the angular rotation unit (degrees/​rad/​grad) ​|
 | [[mycnc:​mycnc_setup_examples#​how_to_setup_tangential_knife_cutting|GVAR_TANGENTKNIFE_ENABLE]] | 7005 | Register represents Automatic Tangential Knife control. \\ If the register value is "​0",​ tangential control is disabled. \\ If the register value is "​1",​ [[mycnc:​mycnc_setup_examples#​how_to_setup_tangential_knife_cutting|tangential knife control is enabled]] ​ | | [[mycnc:​mycnc_setup_examples#​how_to_setup_tangential_knife_cutting|GVAR_TANGENTKNIFE_ENABLE]] | 7005 | Register represents Automatic Tangential Knife control. \\ If the register value is "​0",​ tangential control is disabled. \\ If the register value is "​1",​ [[mycnc:​mycnc_setup_examples#​how_to_setup_tangential_knife_cutting|tangential knife control is enabled]] ​ |
-| GVAR_PLC_MOVE_PROCESS | 7006 | | +| GVAR_PLC_MOVE_PROCESS | 7006 | Obsolete global variable - used on old control boards ​
-| GVAR_THC_PWMSPEED | 7009 | | +| GVAR_THC_PWMSPEED | 7009 | Obsolete global variable, previously used with a separate Torch Height Control board 
-| GVAR_THC_ARC_VOLTAGE | 7010 | +| GVAR_THC_ARC_VOLTAGE | 7010 | Current arc voltage value is stored here 
-| GVAR_THC_ARC_VOLTAGE_REF | 7011 | | +| GVAR_THC_ARC_VOLTAGE_REF | 7011 | Reference arc voltage for torch height control is stored in this register ​
-| GVAR_THC_ARC_VOLTAGE_ADJ | 7012 | | +| GVAR_THC_ARC_VOLTAGE_ADJ | 7012 | Obsolete global variable ​
-| GVAR_SAFE_HEIGHT (GVAR_TOOL_LIFT) | 7020 | Height ​value for safe XY motion. | +| GVAR_SAFE_HEIGHT (GVAR_TOOL_LIFT) | 7020 | Spindle lift height, in mm. This specifies a height ​value for safe XY motion ​(no obstructions at that height). | 
-| GVAR_CREEP_SPEED | 7021 | Safe speed while motion down to path position+| GVAR_CREEP_SPEED | 7021 | Safe speed while motion down to path position ​- allows to increase initial plasma arc stability while cutting materials of a higher than normal thickness ​
-| GVAR_FEED_SPEED | 7030 | Feed Speed +9 | +| GVAR_FEED_SPEED | 7030 | Feed Speed for the machine (+9
-| GVAR_FEED_SPEED_X | 7030 | Feed Speed_X ​+| GVAR_FEED_SPEED_X | 7030 | Feed Speed for the X axis 
-| GVAR_RAPID_SPEED | 7040 | +9 | +| GVAR_RAPID_SPEED | 7040 | +9. Specifies the rapid speed for the machine (all axes) 
-| GVAR_RAPID_SPEED_X | 7041 | Rapid Speed_X ​+| GVAR_RAPID_SPEED_X | 7041 | Rapid Speed for the X axis 
-| GVAR_JOG_SPEED | 7050 | +9 | +| GVAR_JOG_SPEED | 7050 | +9. Specifies the machine jog speed (all axes). ​
-| GVAR_JOG_SPEED_X | 7050 | Jog Speed_X ​+| GVAR_JOG_SPEED_X | 7050 | Jog Speed for the X axis 
-| GVAR_MARKING_SPEED | 7060 | +9 +| GVAR_MARKING_SPEED | 7060 | Specifies the marking speed for the machine. | 
-| GVAR_JOG_STEP_UNLIMITED | 7070 | the value is "​1"​ if Current Jog Mode is "​Unlimited",​ otherwize is "​0"​ (integer) |+| GVAR_SIMULATION_SPEED | 7061 | Specifies the machine'​s simulation speed (use global variable 7530 to turn simulation mode on/off for a test run through a control program). ​
 +| GVAR_JOG_STEP_UNLIMITED | 7070 | the value is "​1"​ if Current Jog Mode is "​Unlimited",​ otherwize is "​0"​ (integer). This is a read-only register (useful for user panel displays, etc) |
 | GVAR_JOG_LOCKED | 7071 | the value is "​1"​ if Jogging is Locked, otherwize is "​0"​ (integer) ​ | | GVAR_JOG_LOCKED | 7071 | the value is "​1"​ if Jogging is Locked, otherwize is "​0"​ (integer) ​ |
-| GVAR_MOTION_OVERSPEED | 7072 | |+| 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/​100 \\ Default Spindle Speed defined by "​Default Spindle Speed" variable and can be chaned in G-code program with S-code. ​ | | GVAR_SPINDLE_OVERSPEED | 7073 | Register represents Spindle Overrate percentage. \\ Actual Spindle speed will be \\ Actual_Speed=Default_Speed * Spindle_Overspeed/​100 \\ Default Spindle Speed defined by "​Default Spindle Speed" variable and can be chaned in G-code program with S-code. ​ |
-| GVAR_JOG_OVERSPEED | 7074 | | +| GVAR_JOG_OVERSPEED | 7074 | The jog overspeed value is directly edited through this global variable ​
-| GVAR_PROBE_SENSOR_DIAMETER | 7075 | | +| GVAR_PROBE_SENSOR_DIAMETER | 7075 | Specifies the probe sensor diameter in mm 
-| GVAR_PROBE_SENSOR_XOFFSET | 7076 | | +| GVAR_PROBE_SENSOR_XOFFSET | 7076 | X-axis offset for the probe sensor in millimeters ​
-| GVAR_PROBE_SENSOR_YOFFSET | 7077 | | +| GVAR_PROBE_SENSOR_YOFFSET | 7077 | Y-axis offset for the probe sensor ​
-| GVAR_MOTION_OVERSPEED_G0 | 7079 | | +| GVAR_MOTION_OVERSPEED_G0 | 7079 | Sets the overspeed value for G0 movement (rapid move) 
-| GVAR_PLC_MOVE_SPEED | 7080 | | +| GVAR_PLC_MOVE_SPEED | 7080 | Allows to set a certain speed to be used in PLC commands (for example: gvarset(7080,​speed_z); ​
-| GVAR_PLC_MOVE_ACCELERATION | 7081 | | +| GVAR_PLC_MOVE_ACCELERATION | 7081 | Stores PLC movement acceleration value 
-| GVAR_PLC_RESET_COORDINATES | 7082 | | +| GVAR_PLC_RESET_COORDINATES | 7082 | Allows to reset the coordinates to 0 using a PLC command ​
-| GVAR_CAMERA_READY | 7090 | | +| GVAR_CAMERA_READY | 7090 | Variable denotes the camera state (gvarset(7090);​ denotes that the camera is ready) ​
-| GVAR_MULTIDEV_MASK | 7100 | | +| GVAR_MULTIDEV_MASK | 7100 | Allows for multi-device control directly using global variables. Typically not used, as multi-dev configuration is done through the myCNC software. ​
-| GVAR_MULTIDEV_ENABLE1 | 7101 | +| GVAR_MULTIDEV_ENABLE1 | 7101 | Denotes whether device 1 is ON. Typically, global variables 7101-7132 are only used for edge cases when direct global variable control is required for a multi-device setup. + 31 
-| GVAR_MULTIDEV_ENABLE2 | 7102 | | +| GVAR_MULTIDEV_ENABLE32 | 7132 | Multi-device control is reserved ​for up to 32 devices | 
-| GVAR_MULTIDEV_ENABLE3 | 7103 | | +| GVAR_MD_MASTER_MOTION_CODE | 7140 | Used for multi-device setups (master ​motion) ​
-| GVAR_MULTIDEV_ENABLE4 | 7104 | | +| GVAR_M1_CONDITIONAL_STOP | 7150 | Allows to use the M01 conditional stop (motion break) command which can be located in Hardware PLC 
-| GVAR_MULTIDEV_ENABLE5 | 7105 | | +| GVAR_LATHE_THREAD_PULLOUT | 7154 | Specifies whether to perform a chamfer at the end of a thread (1) or not (0). This will be using the M23/M24 commands, which are described [[mycnc:​gcodes_list:​m23_m24|here]] ​
-| GVAR_MULTIDEV_ENABLE6 | 7106 | | +| GVAR_SPINDLE_ORIENTATION | 7155 | Reserved for future development in order to specify spindle orientation ​
-| GVAR_MULTIDEV_ENABLE7 | 7107 | | +| GVAR_PLASMA_PROCESS_CURRENT | 7156 | The value for plasma current is stored in this register ​
-| GVAR_MULTIDEV_ENABLE8 | 7108 | | +| GVAR_ALIGN_CHECK | 7170 | Reserved for future development regarding the gantry alignment procedure ​
-| GVAR_MULTIDEV_ENABLE9 | 7109 | | +| GVAR_HW_INPUTS0 | 7180 | Stores the input value in 32 bit increments. In this way, Input0 is 0-31, Input1 is 32-63, etc 
-| GVAR_MULTIDEV_ENABLE10 | 7110 | | +| GVAR_HW_INPUTS1 | 7181 |  |
-| GVAR_MULTIDEV_ENABLE11 | 7111 | | +
-| GVAR_MULTIDEV_ENABLE12 | 7112 | | +
-| GVAR_MULTIDEV_ENABLE13 | 7113 | | +
-| GVAR_MULTIDEV_ENABLE14 | 7114 | | +
-| GVAR_MULTIDEV_ENABLE15 | 7115 | | +
-| GVAR_MULTIDEV_ENABLE16 | 7116 | +
-| GVAR_MULTIDEV_ENABLE32 | 7132 | reserved up to 32 devices | +
-| GVAR_MD_MASTER_MOTION_CODE | 7140 | master | +
-| GVAR_M1_CONDITIONAL_STOP | 7150 | | +
-| GVAR_LATHE_THREAD_PULLOUT | 7154 | | +
-| GVAR_SPINDLE_ORIENTATION | 7155 | | +
-| GVAR_PLASMA_PROCESS_CURRENT | 7156 | | +
-| GVAR_ALIGN_CHECK | 7170 | | +
-| GVAR_HW_INPUTS0 | 7180 | | +
-| GVAR_HW_INPUTS1 | 7181 | |+
 | GVAR_HW_INPUTS2 | 7182 | | | GVAR_HW_INPUTS2 | 7182 | |
 | GVAR_HW_INPUTS3 | 7183 | | | GVAR_HW_INPUTS3 | 7183 | |
-| GVAR_HW_OUTPUTS0 | 7184 | | +| GVAR_HW_OUTPUTS0 | 7184 | Stores the output value (can be both read and written to) 
-| GVAR_HW_OUTPUTS1 | 7185 | | +| GVAR_HW_OUTPUTS1 | 7185 | Stores the output value (can be both read and written to)  ​
-| GVAR_HW_OUTPUTS2 | 7186 | | +| GVAR_HW_OUTPUTS2 | 7186 | Stores the output value (can be both read and written to)  ​
-| GVAR_HW_OUTPUTS3 | 7187 | |+| GVAR_HW_OUTPUTS3 | 7187 | Stores the output value (can be both read and written to)  ​|
 | GVAR_HW_INPUTS4 | 7188 | | | GVAR_HW_INPUTS4 | 7188 | |
 | GVAR_HW_INPUTS5 | 7189 | | | GVAR_HW_INPUTS5 | 7189 | |
 | GVAR_HW_INPUTS6 | 7190 | | | GVAR_HW_INPUTS6 | 7190 | |
 | GVAR_HW_INPUTS7 | 7191 | | | GVAR_HW_INPUTS7 | 7191 | |
-| GVAR_HW_OUTPUTS4 | 7192 | |+| GVAR_HW_OUTPUTS4 | 7192 | Stores the output value (can be written/​read) ​|
 | GVAR_HW_OUTPUTS5 | 7193 | | | GVAR_HW_OUTPUTS5 | 7193 | |
 | GVAR_HW_OUTPUTS6 | 7194 | | | GVAR_HW_OUTPUTS6 | 7194 | |
 | GVAR_HW_OUTPUTS7 | 7195 | | | GVAR_HW_OUTPUTS7 | 7195 | |
-| GVAR_HW_ADC0 | 7196 | |+| GVAR_HW_ADC0 | 7196 | Stores the ADC value to be read |
 | GVAR_HW_ADC1 | 7197 | | | GVAR_HW_ADC1 | 7197 | |
 | GVAR_HW_ADC2 | 7198 | | | GVAR_HW_ADC2 | 7198 | |
Line 217: Line 212:
 | GVAR_HW_ADC6 | 7202 | | | GVAR_HW_ADC6 | 7202 | |
 | GVAR_HW_ADC7 | 7203 | | | GVAR_HW_ADC7 | 7203 | |
-| GVAR_HW_INP_TCOUNT0 | 7206 | | +| GVAR_HW_INP_TCOUNT0 | 7206 | Only for ET10, special purpose global variables. On the ET10 controller, there are two ports which allow to count impulse signals sent on these ports and which can then be used as a timer. These timer values are set in to the myCNC program on the host computer with a period of 32 ms 
-| GVAR_HW_INP_TCOUNT1 | 7207 | | +| GVAR_HW_INP_TCOUNT1 | 7207 | Only the first two registers ​ (7207 and 7208) are currently used on the existing ET10 controller. Registers 7208 and 7209 have been reserved for future development. ​
-| GVAR_HW_INP_TCOUNT2 | 7208 | | +| GVAR_HW_INP_TCOUNT2 | 7208 | Reserved for future development ​
-| GVAR_HW_INP_TCOUNT3 | 7209 | | +| GVAR_HW_INP_TCOUNT3 | 7209 | Reserved for future development ​
-| GVAR_PARKING_LAST | 7210 | |+| GVAR_PARKING_LAST | 7210 | Data for the last machine parking location is stored in this register ​|
 | GVAR_RTCP_DEBUG_X | 7211 | RTCP correction data for X axis is stored in this register for debug purpose. This register is read-only | | GVAR_RTCP_DEBUG_X | 7211 | RTCP correction data for X axis is stored in this register for debug purpose. This register is read-only |
 | GVAR_RTCP_DEBUG_Y | 7212 | RTCP correction data for Y axis is stored in this register for debug purpose. This register is read-only ​ | | GVAR_RTCP_DEBUG_Y | 7212 | RTCP correction data for Y axis is stored in this register for debug purpose. This register is read-only ​ |
 | GVAR_RTCP_DEBUG_Z | 7213 | RTCP correction data for Z axis is stored in this register for debug purpose. This register is read-only ​ | | GVAR_RTCP_DEBUG_Z | 7213 | RTCP correction data for Z axis is stored in this register for debug purpose. This register is read-only ​ |
-| GVAR_RTCP_SHOULDER | 7215 | Shoulder Length (in units) for RTCP correction ​calculation. | +| GVAR_RTCP_SHOULDER | 7215 | Shoulder Length (in units) for RTCP correction ​calculations (calculating the correction value for the rotation). Note that the shoulder length is measured from the pivot to the end of the shoulder, and not for the entire shoulder length should it extend past the pivot point. | 
-GVAR_HEAD1_ENABLE ​7221 | | +GVAR_HCONTROL2_VREF ​7228 System-reserved global variable for reference voltage. ​
-| GVAR_HEAD2_ENABLE | 7222 | | +| GVAR_HCONTROL_VREF | 7229 | A global variable reserved for system usage (specifies the reference voltage). For user-facing THC interactions,​ the 7011 global variable should be used instead of 7228 and 7229. 
-| GVAR_HEAD3_ENABLE | 7223 | | +| GVAR_PLC_USER_DATA | 7230 | (+32) Allows to specify the PLC user data not through var00/etc, but through global variables. This is an older PLC implementation which can still be used by the controller. ​
-| GVAR_HEAD4_ENABLE | 7224 | | +| GVAR_PLC_USER_DATA_LAST | 7261 | Stores the last PLC user global variable data for easy retrieval. ​
-| GVAR_HCONTROL_VREF | 7229 | | +| GVAR_HW_DAC0 | 7270 | Stores the DAC 0 value to be read 
-| GVAR_PLC_USER_DATA | 7230 | (+32) | +| GVAR_HW_DAC1 | 7271 | Stores the DAC 1 value to be read 
-| GVAR_PLC_USER_DATA_LAST | 7261 | +| GVAR_HW_DAC2 | 7272 | Stores the DAC 2 value to be read 
-| GVAR_HW_DAC0 | 7270 | | +| GVAR_HW_DAC3 | 7273 | Stores the DAC 3 value to be read 
-| GVAR_HW_DAC1 | 7271 | | +| GVAR_HW_DAC4 | 7274 | Stores the DAC 4 value to be read 
-| GVAR_HW_DAC2 | 7272 | | +| GVAR_HW_DAC5 | 7275 | Stores the DAC 5 value to be read 
-| GVAR_HW_DAC3 | 7273 | | +| GVAR_HW_DAC6 | 7276 | Stores the DAC 6 value to be read 
-| GVAR_HW_DAC4 | 7274 | | +| GVAR_HW_DAC7 | 7277 | Stores the DAC 7 value to be read 
-| GVAR_HW_DAC5 | 7275 | | +| GVAR_HW_PWM0 | 7278 | Stores the PWM 0 value to be read 
-| GVAR_HW_DAC6 | 7276 | | +| GVAR_HW_PWM1 | 7279 | Stores the PWM 1 value to be read 
-| GVAR_HW_DAC7 | 7277 | | +| GVAR_HW_PWM2 | 7280 | Stores the PWM 2 value to be read 
-| GVAR_HW_PWM0 | 7278 | | +| GVAR_HW_PWM3 | 7281 | Stores the PWM 3 value to be read 
-| GVAR_HW_PWM1 | 7279 | | +| GVAR_HW_PWM4 | 7282 | Stores the PWM 4 value to be read 
-| GVAR_HW_PWM2 | 7280 | | +| GVAR_HW_PWM5 | 7283 | Stores the PWM 5 value to be read 
-| GVAR_HW_PWM3 | 7281 | | +| GVAR_HW_PWM6 | 7284 | Stores the PWM 6 value to be read 
-| GVAR_HW_PWM4 | 7282 | | +| GVAR_HW_PWM7 | 7285 | Stores the PWM 7 value to be read 
-| GVAR_HW_PWM5 | 7283 | | +| GVAR_GOTO_PROGRAMMING | 7290 | Specifies absolute/​incremental programming modes. Reserved for certain custom myCNC profiles, and should not be used by most default profile configurations. The selected mode will specify how the machine will move to the GOTO_POSITION described in register 7291 below. ​
-| GVAR_HW_PWM6 | 7284 | | +| GVAR_GOTO_POSITION | 7291 | +16. These describe the position to which the machine will be moving. Not used on most default profile configurations. ​ | 
-| GVAR_HW_PWM7 | 7285 | | +| GVAR_REFERENCE_POSITION | 7311 | +16. Specifies a reference position on some custom myCNC profiles (to be used separately from the zero position). This allows to set a reference work location somewhere on the machine (for example, at the point where the multiple axes of the machine are all at zero, etc) and to refer to that position during the work process. ​
-| GVAR_GOTO_PROGRAMMING | 7290 | | +| GVAR_PRG_RECT_P | 7330 | +16. P=plus (positive direction). Allows to draw a rectangle to specify certain sizes in the visualization window, etc by specifying one of the three-dimensional points to be used as a corner. ​
-| GVAR_GOTO_POSITION | 7291 |+16  | +| GVAR_PRG_RECT_M | 7350 | +16. M=minus (negative direction). Allows to draw a rectangle by specifying the second of the three-dimensional points to be used. 
-| GVAR_REFERENCE_POSITION | 7311 | +16 | +| GVAR_PLC_SPINDLE_STATE | 7370 | Specifies the spindle state (OFF or ON) by writing 0 or 1 into the variable field (for example, gvarset(7370,​0);​ will specify that the spindle is OFF) 
-| GVAR_PRG_RECT_P | 7330 | +16 | +| GVAR_PLC_SPINDLE_SPEED | 7371 | Variable stores the spindle speed 
-| GVAR_PRG_RECT_M | 7350 | +16 | +| GVAR_PLC_COOLANT_STATE | 7372 | Variable stores the coolant state 
-| GVAR_PLC_SPINDLE_STATE | 7370 | | +| GVAR_PLC_MIST_STATE | 7373 | Mist state is stored (0 for OFF, 1 for ON) 
-| GVAR_PLC_SPINDLE_SPEED | 7371 | | +| GVAR_JOG_STEP_SIZE | 5522 | Prepresents ​current jog step size (double) | 
-| GVAR_PLC_COOLANT_STATE | 7372 | | +| GVAR_JOG_STEP_0_0001 | 7381 | the value is "​1"​ if Current Jog Step Size is "​0.0001",​ \\ otherwize is "​0"​ (integer). These values can only be read, not written to. |
-| GVAR_PLC_MIST_STATE | 7373 | | +
-| GVAR_JOG_STEP_SIZE | 5522 | prepresents ​current jog step size (double) | +
-| GVAR_JOG_STEP_0_0001 | 7381 | the value is "​1"​ if Current Jog Step Size is "​0.0001",​ \\ otherwize is "​0"​ (integer) |+
 | GVAR_JOG_STEP_0_001 | 7382 | the value is "​1"​ if Current Jog Step Size is "​0.001",​ \\ otherwize is "​0"​ (integer) | | GVAR_JOG_STEP_0_001 | 7382 | the value is "​1"​ if Current Jog Step Size is "​0.001",​ \\ otherwize is "​0"​ (integer) |
 | GVAR_JOG_STEP_0_01 | 7383 | the value is "​1"​ if Current Jog Step Size is "​0.01",​ \\ otherwize is "​0"​ (integer) | | GVAR_JOG_STEP_0_01 | 7383 | the value is "​1"​ if Current Jog Step Size is "​0.01",​ \\ otherwize is "​0"​ (integer) |
Line 265: Line 257:
 | GVAR_JOG_STEP_1_0 | 7385 | the value is "​1"​ if Current Jog Step Size is "​1.0",​ \\ otherwize is "​0"​ (integer) | | GVAR_JOG_STEP_1_0 | 7385 | the value is "​1"​ if Current Jog Step Size is "​1.0",​ \\ otherwize is "​0"​ (integer) |
 | GVAR_JOG_STEP_10 | 7386 | the value is "​1"​ if Current Jog Step Size is "​10",​ \\ otherwize is "​0"​ (integer) | | GVAR_JOG_STEP_10 | 7386 | the value is "​1"​ if Current Jog Step Size is "​10",​ \\ otherwize is "​0"​ (integer) |
-| GVAR_SYSTEM_CONFIGURED | 7390 | |+| GVAR_SYSTEM_CONFIGURED | 7390 | Specifies that homing has been performed for all axes and that the system is configured and ready to use |
 | GVAR_HOMING_X_RESET | 7391 | The register value is used as a flag that Homing X needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - X Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible X position lost    | | GVAR_HOMING_X_RESET | 7391 | The register value is used as a flag that Homing X needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - X Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible X position lost    |
 | GVAR_HOMING_Y_RESET | 7392 | The register value is used as a flag that Homing Y needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - Y Servo Driver not ready event received \\ \\ The register can be used either for [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible Y position lost    | | GVAR_HOMING_Y_RESET | 7392 | The register value is used as a flag that Homing Y needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - Y Servo Driver not ready event received \\ \\ The register can be used either for [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible Y position lost    |
Line 272: Line 264:
 | GVAR_HOMING_B_RESET | 7395 | The register value is used as a flag that Homing B needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - B Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible B position lost    | | GVAR_HOMING_B_RESET | 7395 | The register value is used as a flag that Homing B needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - B Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible B position lost    |
 | GVAR_HOMING_C_RESET | 7396 | The register value is used as a flag that Homing C needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - C Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible C position lost    | | GVAR_HOMING_C_RESET | 7396 | The register value is used as a flag that Homing C needed. \\ The value is automatically set to "​1"​ is \\ - CNC control software just loaded \\ - Emergency button pressed \\ - C Servo Driver not ready event received \\ \\ The register can be used for either [[plc:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|Mandatory Homing Handler]] procedure or just to display information about possible C position lost    |
-| GVAR_PRG_EXTREMA_P | 7400 | +16 | +| GVAR_PRG_EXTREMA_P | 7400 | +16. Functionally a duplicate of the 7330 global variable ​|  
-| GVAR_PRG_EXTREMA_M | 7420 | +16 | +| GVAR_PRG_EXTREMA_M | 7420 | +16. Functionally a duplicate of the 7350 global variable ​
-| GVAR_CURRENT_FEEDRATE | 7440 | | +| GVAR_CURRENT_FEEDRATE | 7440 | Stores the current feedrate value 
-| GVAR_TUBE_DIAMETER | 7450 | | +| GVAR_TUBE_DIAMETER | 7450 | Stores tube diameter (in mm) 
-| GVAR_HT_CURRENT_SETPOINT \\ GVAR_PLASMA_PROCESS_CURRENT | | | +| GVAR_HT_CURRENT_SETPOINT \\ GVAR_PLASMA_PROCESS_CURRENT | | Same as the GVAR_PLASMA_PROCESS_CURRENT 7156 global variable. Sets the current for the plasma cutting process. ​
-| GVAR_HT_PLASMA_PREFLOW | 7461 | | +| GVAR_HT_PLASMA_PREFLOW | 7461 | Specifies the plasma preflow pressure value (HT = Hypertherm parameter) ​
-| GVAR_HT_PLASMA_CUTFLOW | 7462 | | +| GVAR_HT_PLASMA_CUTFLOW | 7462 | Specifies the plasma cutflow pressure value (Hypertherm parameter) ​
-| GVAR_HT_SHIELD_PREFLOW | 7463 | | +| GVAR_HT_SHIELD_PREFLOW | 7463 | Specifies the shield preflow pressure value (Hypertherm) ​
-| GVAR_HT_SHIELD_CUTFLOW | 7464 | | +| GVAR_HT_SHIELD_CUTFLOW | 7464 | Specifies the shield cutflow pressure (Hypertherm) ​
-| GVAR_HT_PLASMA_GAS_TYPE | 7465 | | +| GVAR_HT_PLASMA_GAS_TYPE | 7465 | Sets the gas type used for cutting ​
-| GVAR_HT_SHIELD_GAS_TYPE | 7466 | | +| GVAR_HT_SHIELD_GAS_TYPE | 7466 | Sets the gas type used for shielding ​
-| GVAR_HT_GAS_MIXING_SETPOINT | 7467 | | +| GVAR_HT_GAS_MIXING_SETPOINT | 7467 | Hypertherm parameter for gas mixing that will be read from the cutcharts (typically not edited by the user directly by using a global variable but rather by editing the cutcharts file if needed) ​
-| GVAR_HT_SYSTEM_ERROR | 7468 | | +| GVAR_HT_SYSTEM_ERROR | 7468 | Register for the Hypertherm system error 
-| GVAR_HT_SYSTEM_STATUS | 7469 | | +| GVAR_HT_SYSTEM_STATUS | 7469 | Hypertherm register for system status ​
-| GVAR_HT_PUMP_CONTROL | 7470 | | +| GVAR_HT_PUMP_CONTROL | 7470 | Hypertherm register for storing the pump control value 
-| GVAR_HT_FIRMWARE_VERSION | 7471 | | +| GVAR_HT_FIRMWARE_VERSION | 7471 | Hypertherm firmware version register ​
-| GVAR_HT_TEST_CUTFLOW_GASES | 7472 | | +| GVAR_HT_TEST_CUTFLOW_GASES | 7472 | Cutflow test gases variable for Hypertherm consoles ​
-| GVAR_HT_TEST_PREFLOW_GASES | 7473 | | +| GVAR_HT_TEST_PREFLOW_GASES | 7473 | Preflow test gases variable for Hypertherm consoles ​
-| GVAR_HT_LINE_VOLTAGE | 7474 | | +| GVAR_HT_LINE_VOLTAGE | 7474 | Line voltage value (Hypertherm) ​
-| GVAR_HT_CHOPPER_CURRENT | 7475 | | +| GVAR_HT_CHOPPER_CURRENT | 7475 | Chopper current value (Hypertherm) ​
-| GVAR_HT_WORK_LEAD_CURRENT | 7476 | | +| GVAR_HT_WORK_LEAD_CURRENT | 7476 | Lead current ​
-| GVAR_HT_CHOPPER_TEMPERATURE | 7477 | | +| GVAR_HT_CHOPPER_TEMPERATURE | 7477 | Chopper temperature value (Hypertherm) ​
-| GVAR_HT_TRANS_TEMPERATURE | 7478 | | +| GVAR_HT_TRANS_TEMPERATURE | 7478 | Hypertherm temperature value 
-| GVAR_HT_GAS_PRESSURE | 7479 | | +| GVAR_HT_GAS_PRESSURE | 7479 | Gas pressure value for Hypertherm machines is stored in this register ​
-| GVAR_HT_COOLANT_FLOW_RATE | 7480 | | +| GVAR_HT_COOLANT_FLOW_RATE | 7480 | Coolant flow rate (Hypertherm) ​
-| GVAR_HT_CURRENT_ACTUAL | 7481 | | +| GVAR_HT_CURRENT_ACTUAL | 7481 | The real current value for a Hypertherm machine is stored in this register ​
-| GVAR_OXYFUEL_PREHEAT_COUNTDOUN | 7490 | | +| GVAR_OXYFUEL_PREHEAT_COUNTDOUN | 7490 | Oxyfuel preheat countdown value 
-| GVAR_OXYFUEL_PREHEAT_COUNTDOUN_V2 | 7491 | | +| GVAR_OXYFUEL_PREHEAT_COUNTDOUN_V2 | 7491 | The preheat countdown which is set by default (the preheat can then be turned off by the operator if they consider the process to be complete prior to the countdown end) 
-| GVAR_PROBE_SENSOR_CORRECTION_XMINUS | 7501 | | +| GVAR_PROBE_SENSOR_CORRECTION_XMINUS | 7501 | Edge sensing correction values for the probe: this register specifies the negative-x correction value 
-| GVAR_PROBE_SENSOR_CORRECTION_XPLUS | 7502 | | +| GVAR_PROBE_SENSOR_CORRECTION_XPLUS | 7502 | Positive x probe correction value 
-| GVAR_PROBE_SENSOR_CORRECTION_YMINUS | 7503 | | +| GVAR_PROBE_SENSOR_CORRECTION_YMINUS | 7503 | Negative y probe correction value 
-| GVAR_PROBE_SENSOR_CORRECTION_YPLUS | 7504 | | +| GVAR_PROBE_SENSOR_CORRECTION_YPLUS | 7504 | Positive y probe correction value 
-| GVAR_PROBE_SENSOR_CORRECTION_CENTERX | 7505 | | +| GVAR_PROBE_SENSOR_CORRECTION_CENTERX | 7505 | Stores the value for the X-position of the probe sensor'​s center ​
-| GVAR_PROBE_SENSOR_CORRECTION_CENTERY | 7506 | | +| GVAR_PROBE_SENSOR_CORRECTION_CENTERY | 7506 | Stores the value for the Y-position of the probe sensor'​s center ​
-| GVAR_CUTTING_FROM_EDGE | 7520 | | +| GVAR_CUTTING_FROM_EDGE | 7520 | Specifies whether the Edge Cutting mode is used for plasma/​oxy-fuel machines (this mode allows for easier cuts on thicker material). ​
-| GVAR_MIST_PULSE_WIDTH | 7521 | NS-CNC Pulse Mist Mode | +| GVAR_MIST_PULSE_WIDTH | 7521 | NS-CNC Pulse Mist Mode. Sets the pulse width for mist control ​
-| GVAR_MIST_PULSE_PAUSE | 7522 | | +| GVAR_MIST_PULSE_PAUSE | 7522 | Specifies the pause for the pulse mist mode (the cycle consists of mist-pause-mist-pause). ​
-| GVAR_GANTRY_CORRECTION | 7525 | | +| GVAR_GANTRY_CORRECTION | 7525 | Register used for gantry alignment procedure. If the sensors are not aligned perfectly level, and if it is possible to measure exactly what the distance between Sensor 1 and Sensor 2 is (in the machine movement axis), then this value will be stored here and will specify how far the machine should align 
-| GVAR_DRAWING_FAST | 7530 | | +| GVAR_DRAWING_FAST | 7530 | Allows to move over a part in a drawing process to check the movement path at a speed higher than the normal cutting speed. Useful for plasma/gas setups with a lower cutting speed. Writing 0 will disable fast drawing, writing 1 will enable fast drawing. The fast drawing speed is set in Global Variable 7061. 
-| GVAR_SHOW2D_AXISA_RADIUS | 7540 | | +| GVAR_SHOW2D_AXISA_RADIUS | 7540 | Used on certain tube-cutting machine setups to unfold the a-axis for easier visualization. The radius of the tube is set in this register. This should only be used if the user does not want the 4-axis visualization ​
-| GVAR_ASSIGN_TOOL_OFFSET_X | 7515 | | +| GVAR_ASSIGN_TOOL_OFFSET_X | 7515 | This register specifies the x-axis tool offset ​
-| GVAR_ASSIGN_TOOL_OFFSET_Z | 7517 | | +| GVAR_ASSIGN_TOOL_OFFSET_Z | 7517 | This register specifies the z-axis tool offset
-| GVAR_LATHE_TOOL_LENGTH_CORRECTION_X | 7511 | | +| GVAR_LATHE_TOOL_LENGTH_CORRECTION_X | 7511 | Specifies the x-axis tool length correction for lathes ​
-| GVAR_LATHE_TOOL_LENGTH_CORRECTION_Z | 7513 | | +| GVAR_LATHE_TOOL_LENGTH_CORRECTION_Z | 7513 | Specifies the y-axis tool length correction for lathes ​
-| GVAR_LATHE_TOOL_OFFSET_CORRECTION_X | 7514 | | +| GVAR_LATHE_TOOL_OFFSET_CORRECTION_X | 7514 | Specifies the z-axis tool length correction for lathes ​
-| GVAR_SAW_WIDTH |7550 | | +| GVAR_SAW_WIDTH | 7550 | Specifies the saw width. The saw configuration is used on certain custom user profiles, and alterations to suit a particular machine are available upon request. ​
-| GVAR_SAW_POSTION_START | 7551 | | +| GVAR_SAW_POSTION_START | 7551 | Starting position for a saw setup 
-| GVAR_SAW_POSTION_END | 7552 | |+| GVAR_SAW_POSTION_END | 7552 | End position for a saw setup |
 | GVAR_SAW_SLOT_L | 7553 | | | GVAR_SAW_SLOT_L | 7553 | |
 | GVAR_SAW_SLOT_L1 | 7554 | | | GVAR_SAW_SLOT_L1 | 7554 | |
 | GVAR_SAW_GROOVE_L | 7555 | | | GVAR_SAW_GROOVE_L | 7555 | |
 | GVAR_SAW_GROOVE_T | 7556 | | | GVAR_SAW_GROOVE_T | 7556 | |
-| GVAR_SAW_Z_SAFE | 7557 | |+| GVAR_SAW_Z_SAFE | 7557 | Flag to show that the saw is safe to operate ​|
 | GVAR_SAW_Z_WORK | 7558 | | | GVAR_SAW_Z_WORK | 7558 | |
-| GVAR_SAW_CUT_WIDTH | 7559 | | +| GVAR_SAW_CUT_WIDTH | 7559 | Specifies the cut width for the saw 
-| GVAR_SAW_DIAMETER | 7560 | |+| GVAR_SAW_DIAMETER | 7560 | Specifies the circular saw diameter ​|
 ^ THC Control variables ^^^ ^ THC Control variables ^^^
 ^ THC #0 ^^^ ^ THC #0 ^^^
Line 356: Line 348:
 | GVAR_KNIFE_FLAG | 7587 | PLC/​Software controlled variable. \\ Tool change PLC procedure writes "​1"​ to the register \\ when Tool number changed to Tangential Knife Tool, \\ otherwise writes "​0"​. ​  | | GVAR_KNIFE_FLAG | 7587 | PLC/​Software controlled variable. \\ Tool change PLC procedure writes "​1"​ to the register \\ when Tool number changed to Tangential Knife Tool, \\ otherwise writes "​0"​. ​  |
 ^ Cutchart variables ^^^ ^ Cutchart variables ^^^
-| GVAR_CUTPROCESS_ID | 7600 | | +| GVAR_CUTPROCESS_ID | 7600 | Specifies the cut process ID from the cutchart ​
-| GVAR_CUTPROCESS_KERF | 7601 | | +| GVAR_CUTPROCESS_KERF | 7601 | Specifies the kerf value for the cutchart ​
-| GVAR_CUTPROCESS_MATERIAL_THICKNESS | 7602 | | +| GVAR_CUTPROCESS_MATERIAL_THICKNESS | 7602 | Specifies the material thickness ​
-| GVAR_CUTPROCESS_TIME_PREHEAT | 7603 | | +| GVAR_CUTPROCESS_TIME_PREHEAT | 7603 | Preheat time for the cut process ​
-| GVAR_CUTPROCESS_TIME_SOFT_OXY_START | 7604 | | +| GVAR_CUTPROCESS_TIME_SOFT_OXY_START | 7604 | Cutchart - time value for the oxyfuel cutting start 
-| GVAR_CUTPROCESS_CUTSPEED | 7605 | |+| GVAR_CUTPROCESS_CUTSPEED | 7605 | Specifies the cutting speed |
 ^ Oxy Fuel cutting, Automatic Gas Console ^^^ ^ Oxy Fuel cutting, Automatic Gas Console ^^^
-| GVAR_CUTPROCESS_AGC_IGNITION_FUEL | 7610 | | +| GVAR_CUTPROCESS_AGC_IGNITION_FUEL | 7610 | Automatic gas console ignition fuel variable ​
-| GVAR_CUTPROCESS_AGC_IGNITION_OXY_HEAT | 7611 | | +| GVAR_CUTPROCESS_AGC_IGNITION_OXY_HEAT | 7611 | Automatic gas console ignition heating flow 
-| GVAR_CUTPROCESS_AGC_PREHEAT_FUEL | 7612 | | +| GVAR_CUTPROCESS_AGC_PREHEAT_FUEL | 7612 | AGC preheat fuel 
-| GVAR_CUTPROCESS_AGC_PIERCE_FUEL | 7613 | |+| GVAR_CUTPROCESS_AGC_PIERCE_FUEL | 7613 | AGC pierce fuel |
 | GVAR_CUTPROCESS_AGC_PIERCE_OXY_CUT | 7614 | | | GVAR_CUTPROCESS_AGC_PIERCE_OXY_CUT | 7614 | |
 | GVAR_CUTPROCESS_AGC_PIERCE_OXY_HEAT | 7615 | | | GVAR_CUTPROCESS_AGC_PIERCE_OXY_HEAT | 7615 | |
Line 378: Line 370:
 | GVAR_CUTPROCESS_GAS_SELECT2 | 7622 | | | GVAR_CUTPROCESS_GAS_SELECT2 | 7622 | |
 ^ Plasma Cutting, Torch consumables ^^^ ^ Plasma Cutting, Torch consumables ^^^
-| GVAR_CUTPROCESS_SHIELD_RETAINING_CAP | 7630 | | +| GVAR_CUTPROCESS_SHIELD_RETAINING_CAP | 7630 | Specifies the state of the retaining cap 
-| GVAR_CUTPROCESS_SHIELD | 7631 | | +| GVAR_CUTPROCESS_SHIELD | 7631 | Specifies shield state 
-| GVAR_CUTPROCESS_NOZZLE_RETAINING_CAP | 7632 | | +| GVAR_CUTPROCESS_NOZZLE_RETAINING_CAP | 7632 | Specifies the state of the nozzle retaining cap 
-| GVAR_CUTPROCESS_NOZZLE | 7633 | | +| GVAR_CUTPROCESS_NOZZLE | 7633 | Specifies the nozzle state 
-| GVAR_CUTPROCESS_SWIRL_RING | 7634 | | +| GVAR_CUTPROCESS_SWIRL_RING | 7634 | Swirl ring state 
-| GVAR_CUTPROCESS_ELECTRODE | 7635 | | +| GVAR_CUTPROCESS_ELECTRODE | 7635 | Electrode state 
-| GVAR_CUTPROCESS_WATER_TUBE | 7636 | |+| GVAR_CUTPROCESS_WATER_TUBE | 7636 | Water tube state |
 ^ Plasma Cutting, Height control settings ^^^ ^ Plasma Cutting, Height control settings ^^^
-| GVAR_CUTPROCESS_HC_PIERCE_DELAY | 7640 | | +| GVAR_CUTPROCESS_HC_PIERCE_DELAY | 7640 | Pierce delay in seconds for the THC process -loaded from the cutcharts and is a separate value from the Items that set the working THC values ​
-| GVAR_CUTPROCESS_HC_IGNITION_HEIGHT | 7641 | | +| GVAR_CUTPROCESS_HC_IGNITION_HEIGHT | 7641 | Ignition height in mm for the THC process  ​
-| GVAR_CUTPROCESS_HC_PIERCE_HEIGHT | 7642 | | +| GVAR_CUTPROCESS_HC_PIERCE_HEIGHT | 7642 | Pierce height in mm 
-| GVAR_CUTPROCESS_HC_CUT_HEIGHT | 7643 | | +| GVAR_CUTPROCESS_HC_CUT_HEIGHT | 7643 | Cutting height in mm 
-| GVAR_CUTPROCESS_HC_CONTROL_DELAY | 7644 | | +| GVAR_CUTPROCESS_HC_CONTROL_DELAY | 7644 | THC delay, in seconds ​
-| GVAR_CUTPROCESS_HC_ARC_VOLTAGE | 7645 | | +| GVAR_CUTPROCESS_HC_ARC_VOLTAGE | 7645 | Reference arc voltage ​
-| GVAR_CUTPROCESS_HC_PIERCE_HEIGHT_FACTOR | 7646 | | +| GVAR_CUTPROCESS_HC_PIERCE_HEIGHT_FACTOR | 7646 | Reserved for Hypertherm consoles, denotes the factor between the pierce height and the cutting height ​
-| GVAR_CUTPROCESS_CREEP_TIME | 7650 | | +| GVAR_CUTPROCESS_CREEP_TIME | 7650 | Creep time, in seconds (plasma cutting, Torch Height Control) ​
-| GVAR_CUTPROCESS_CREEP_SPEED | 7651 | |+| GVAR_CUTPROCESS_CREEP_SPEED | 7651 | Creep speed for the plasma cutting process ​|
 ^  ^^^ ^  ^^^
-| GVAR_CUTPROCESS_MIX_GAS1 | 7652 | | +| GVAR_CUTPROCESS_MIX_GAS1 | 7652 | Register stores the mix gas data for Hypertherm consoles (gas #1) 
-| GVAR_CUTPROCESS_MIX_GAS2 | 7653 | |+| GVAR_CUTPROCESS_MIX_GAS2 | 7653 | Register stores the mix gas data for Hypertherm consoles (gas #2) |
 ^ Plasma Cutting, Automatic Gas Console ^^^ ^ Plasma Cutting, Automatic Gas Console ^^^
-| GVAR_CUTPROCESS_AGC_PLASMA_PREFLOW | 7660 | | +| GVAR_CUTPROCESS_AGC_PLASMA_PREFLOW | 7660 | Automatic gas console preflow value 
-| GVAR_CUTPROCESS_AGC_SHIELD_PREFLOW | 7661 | | +| GVAR_CUTPROCESS_AGC_SHIELD_PREFLOW | 7661 | Shield preflow value 
-| GVAR_CUTPROCESS_AGC_PLASMA_CUTEFLOW | 7662 | | +| GVAR_CUTPROCESS_AGC_PLASMA_CUTEFLOW | 7662 | Plasma cutflow value 
-| GVAR_CUTPROCESS_AGC_SHIELD_CUTEFLOW | 7663 | |+| GVAR_CUTPROCESS_AGC_SHIELD_CUTEFLOW | 7663 | Shield cutflow value |
 ^ Plasma Cutting, Manual Gas Console ^^^ ^ Plasma Cutting, Manual Gas Console ^^^
-| GVAR_CUTPROCESS_MGC_PLASMA_PREFLOW | 7670 | | +| GVAR_CUTPROCESS_MGC_PLASMA_PREFLOW | 7670 | Manual plasma preflow value taken from the operator panel in order to display on the screen ​
-| GVAR_CUTPROCESS_MGC_SHIELD_PREFLOW | 7671 | | +| GVAR_CUTPROCESS_MGC_SHIELD_PREFLOW | 7671 | Manual shield preflow value 
-| GVAR_CUTPROCESS_MGC_PLASMA_CUTEFLOW | 7672 | | +| GVAR_CUTPROCESS_MGC_PLASMA_CUTEFLOW | 7672 | Manual plasma cutflow value 
-| GVAR_CUTPROCESS_MGC_SHIELD_CUTEFLOW | 7673 | |+| GVAR_CUTPROCESS_MGC_SHIELD_CUTEFLOW | 7673 | Manual shield cutflow value |
 ^ Plasma Cutting ^^^ ^ Plasma Cutting ^^^
-| GVAR_CUTPROCESS_SET_PROCESS_CURRENT | 7675 | | +| GVAR_CUTPROCESS_SET_PROCESS_CURRENT | 7675 | Register indicates the process current ​
-| GVAR_CUTPROCESS_SET_ARC_CURRENT | 7676 | | +| GVAR_CUTPROCESS_SET_ARC_CURRENT | 7676 | Set the arc current ​
-| GVAR_CUTPROCESS_CORNER_REDUCTION | 7677 | | +| GVAR_CUTPROCESS_CORNER_REDUCTION | 7677 | Sets the corner reduction value in order to reduce process current and prevent overheating at the corners during the cut 
-| GVAR_CUTPROCESS_TORCH_TYPE | 7680 | | +| GVAR_CUTPROCESS_TORCH_TYPE | 7680 | Sets the cutchart torch type 
-| GVAR_CUTPROCESS_MATERIAL_TYPE | 7681 | | +| GVAR_CUTPROCESS_MATERIAL_TYPE | 7681 | Sets the material type 
-| GVAR_CUTPROCESS_SPECIFIC_MATERIAL | 7682 | | +| GVAR_CUTPROCESS_SPECIFIC_MATERIAL | 7682 | Sets the specific material used in the cut 
-| GVAR_CUTPROCESS_PLASMA_SHIELD_GASES | 7683 | | +| GVAR_CUTPROCESS_PLASMA_SHIELD_GASES | 7683 | Denotes the shield gases used 
-| GVAR_CUTPROCESS_PROCESS | 7684 | | +| GVAR_CUTPROCESS_PROCESS | 7684 | Denotes the particular process employed (bevel cutting, fine cutting, etc) - can be found in the Cutchart menu. 
-| GVAR_CUTPROCESS_VENDOR | 7685 | | +| GVAR_CUTPROCESS_VENDOR | 7685 | Denotes the machine vendor ​
-| GVAR_CUTPROCESS_TECHNOLOGY | 7686 | | +| GVAR_CUTPROCESS_TECHNOLOGY | 7686 | Denotes the technology for the cutting process.  ​
-| GVAR_CUTPROCESS_REVISION | 7687 | |+| GVAR_CUTPROCESS_REVISION | 7687 | The cutchart version used (reserved for Hypertherm machines) | 
 +^ Timers ^^^ 
 +| GVAR_TIMER0_ENABLED | 8100 | Writing "​0"​ to this register will disable Timer0, \\ writing "​1"​ will enable Timer0 | 
 +| GVAR_TIMER0_PORT | 8101 | Writing to this register will change Output pin connected to Timer0. Writing value is the Output Pin# | 
 +| GVAR_TIMER0_PULSE | 8102 | A value written to this register specifies the Timer 0 Pulse width in milliseconds | 
 +| GVAR_TIMER0_PAUSE | 8103 | A value written to this register specifies the Timer 0 Pause in milliseconds | 
 +| GVAR_TIMER1_ENABLED | 8104 | Writing "​0"​ to this register will disable Timer1, \\ writing "​1"​ will enable Timer1 | 
 +| GVAR_TIMER1_PORT | 8105 | Writing to this register will change Output pin connected to Timer1. Writing value is the Output Pin# | 
 +| GVAR_TIMER1_PULSE | 8106 | A value written to this register specifies the Timer 1 Pulse width in milliseconds | 
 +| GVAR_TIMER1_PAUSE | 8107 | A value written to this register specifies the Timer 1 Pause in milliseconds | 
 +| GVAR_TIMER2_ENABLED | 8108 | Writing "​0"​ to this register will disable Timer2, \\ writing "​1"​ will enable Timer2 | 
 +| GVAR_TIMER2_PORT | 8109 | Writing to this register will change Output pin connected to Timer2. Writing value is the Output Pin# | 
 +| GVAR_TIMER2_PULSE | 8110 | A value written to this register specifies the Timer 2 Pulse width in milliseconds | 
 +| GVAR_TIMER2_PAUSE | 8111 | A value written to this register specifies the Timer 2 Pause in milliseconds | 
 +| GVAR_TIMER3_ENABLED | 8112 | Writing "​0"​ to this register will disable Timer3, \\ writing "​1"​ will enable Timer3 | 
 +| GVAR_TIMER3_PORT | 8113 | Writing to this register will change the Output pin connected to Timer3. Written values specifies the Output Pin# | 
 +| GVAR_TIMER3_PULSE | 8114 | A value written to this register specifies the Timer 3 Pulse width in milliseconds | 
 +| GVAR_TIMER3_PAUSE | 8115 | A value written to this register specifies the Timer 3 Pause in milliseconds | 
 +| GVAR_GENERATOR_FRQ_RATIO | 8132 | Ratio for the step-dir coolant control to convert the step motor values into the software units. Set experimentally. | 
 +| GVAR_GENERATOR_FRQ | 8133 | Rate, in ml/hour, for the step-dir coolant control | 
 +| GVAR_FLY0_ZOFFSET ​ | 8140 | Z correction (mm) - on-the-fly correction. This is a read-only value, writing to this register will not have an effect | 
 +| GVAR_CORRECTIONX_OFFSET | 8151 | Register reserved for future development - analogous to flatbed correction, for x-axis | 
 +| GVAR_CORRECTIONY_OFFSET | 8152 | Register reserved for future development - y-axis | 
 +| GVAR_CORRECTIONZ_OFFSET | 8153 | Flatbed correction (z-axis). This value will impact the program (work) coordinate. It is a read-only value which will be retrieved from the flatbed correction table in myCNC software. Writing to this register directly by setting it through a command is not recommended. | 
 +| GVAR_CURRENT_XMACHINE_POSITION | 8221 | (+8) Stores the current machine position for the 8 axes | 
 +| GVAR_CURRENT_XWORK_POSITION | 8231 | (+8) Stores the current work position for the 8 axes | 
 +| GVAR_CURRENT_XMACHINE_CORRECTION | 8241 | (+8) Stores the current machine correction for the 8 axes|
 ^ Encoders ^^^ ^ Encoders ^^^
 | GVAR_ET5_ENCODER | 9000  | (+16) Registers represent Encoder values. Writing to this registers does not affect anything. Selected channel Current Encoder value will be returned when reading these registers. \\ Reading these registers from the controller Hardware PLC will return actual Encoder value. \\ Encoder values in the software are updated about every 128ms. This delay should be counted when using Encoder values from the Software PLC. \\ 9000 - Encoder #0 value \\ 9001 - Encoder #1 value \\ 9002 - Encoder #2 value \\ 9003 - Encoder #3 value \\ 9004 - Encoder #4 value \\ 9005 - Encoder #5 value \\ 9006 - Encoder #6 value \\ 9007 - Encoder #7 value | | GVAR_ET5_ENCODER | 9000  | (+16) Registers represent Encoder values. Writing to this registers does not affect anything. Selected channel Current Encoder value will be returned when reading these registers. \\ Reading these registers from the controller Hardware PLC will return actual Encoder value. \\ Encoder values in the software are updated about every 128ms. This delay should be counted when using Encoder values from the Software PLC. \\ 9000 - Encoder #0 value \\ 9001 - Encoder #1 value \\ 9002 - Encoder #2 value \\ 9003 - Encoder #3 value \\ 9004 - Encoder #4 value \\ 9005 - Encoder #5 value \\ 9006 - Encoder #6 value \\ 9007 - Encoder #7 value |
 | GVAR_ET5_EXPOSITION | 9016 | (+16) Registers represent Motor PID Following Error (a difference between commanded and sensed position). Writing to this registers does not affect anything. A Following Error of Selected PID will be returned when reading these registers. \\ Reading these registers from the controller Hardware PLC will return actual value of the Following Error. \\ Following Error values in the software are updated about every 128ms. This delay should be counted when using the registers in the Software PLC. \\ 9016 - Motor channel #0 PID Following Error \\ 9017 - Motor channel #1 PID Following Error \\ 9018 - Motor channel #2 PID Following Error \\ 9019 - Motor channel #3 PID Following Error \\ 9020 - Motor channel #4 PID Following Error \\ 9021 - Motor channel #5 PID Following Error \\ 9022 - Motor channel #6 PID Following Error \\ 9023 - Motor channel #7 PID Following Error \\ \\ Examples \\ [[plc:​FERROR implementation]] | | GVAR_ET5_EXPOSITION | 9016 | (+16) Registers represent Motor PID Following Error (a difference between commanded and sensed position). Writing to this registers does not affect anything. A Following Error of Selected PID will be returned when reading these registers. \\ Reading these registers from the controller Hardware PLC will return actual value of the Following Error. \\ Following Error values in the software are updated about every 128ms. This delay should be counted when using the registers in the Software PLC. \\ 9016 - Motor channel #0 PID Following Error \\ 9017 - Motor channel #1 PID Following Error \\ 9018 - Motor channel #2 PID Following Error \\ 9019 - Motor channel #3 PID Following Error \\ 9020 - Motor channel #4 PID Following Error \\ 9021 - Motor channel #5 PID Following Error \\ 9022 - Motor channel #6 PID Following Error \\ 9023 - Motor channel #7 PID Following Error \\ \\ Examples \\ [[plc:​FERROR implementation]] |
-| GVAR_ET5_ENCODER_Z | 9032 | +16 | +| GVAR_ET5_ENCODER_Z | 9032 | +16. Stores the values for the encoders connected to the controller. Available within the PLC controller - stores the encoder value within the cycle (value within one turn).  ​
-| GVAR_ET5_ENCODER_WZ | 9048 | +16 | +| GVAR_ET5_ENCODER_WZ | 9048 | +16. Stores the absolute value for the encoder. ​
-| GVAR_ENCODER_Z_EVENT | 9070 | | +| 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 | +| 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:​how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm|here]].
-| GVAR_SERVO_PID_ON | 60000 |   ​+| GVAR_SERVO_PID_ON | 60000 | Denotes that the servo PID is ON 
-| GVAR_SERVO_PID_OFF | 60001 |  |+| GVAR_SERVO_PID_OFF | 60001 | Denotes that the servo PID is OFF |
 ^ Modbus devices API ^^^ ^ Modbus devices API ^^^
-| GVAR_MODBUS_SET_ID | 60010 | Value written to this registed is used as Modbus ID of device to communicate with |+| GVAR_MODBUS_SET_ID | 60010 | Value written to this registed is used as Modbus ID of device to communicate with. More information on Modbus is available [[mycnc:​modbus_setup|here]]. ​|
 | GVAR_MODBUS_SET_PROTOCOL | 60011 | Writing to this register change Modbus protocol. <​code>"​0"​ - Modbus/​RTU, ​ | GVAR_MODBUS_SET_PROTOCOL | 60011 | Writing to this register change Modbus protocol. <​code>"​0"​ - Modbus/​RTU, ​
 "​1"​ - Modbus/​ASCII</​code>​ | "​1"​ - Modbus/​ASCII</​code>​ |
Line 443: Line 461:
 | GVAR_MODBUS_WRITE | 60030 | Writing to register will send value from shadow register to Modbus devive ​ to address given in written value | | GVAR_MODBUS_WRITE | 60030 | Writing to register will send value from shadow register to Modbus devive ​ to address given in written value |
 | GVAR_MODBUS_READ | 60031 | Read from this register will send read inquiry to Modbus device (PLC controller will be in till Regiter value received from Modbus device). Writing to this register will send ready inquiry to Modbus device. The value written is used as Register address to read | | GVAR_MODBUS_READ | 60031 | Read from this register will send read inquiry to Modbus device (PLC controller will be in till Regiter value received from Modbus device). Writing to this register will send ready inquiry to Modbus device. The value written is used as Register address to read |
 +| GVAR_MODBUS_WRITE_BITS | 60035 | **Write multiple coils**. Write multiple coils command indicates the 16-bit address of first coil to write, the number of coils to write, number of bytes of coil values to follow, and the coil values. ​ The response will be the address of the first coil and the number of coils. |
 +| GVAR_MODBUS_READ_COILS | 60036 | 60039 is to be used instead. |
 +| GVAR_MODBUS_RAW_WRITE | 60037 | **Write single register**. Write single register indicates address of the holding register and the new value of the register. The response, similarly, is the address of the register and the new value. |
 +| GVAR_MODBUS_WRITE_BIT | 60038 | **Write single coil**. Requests the 16-bit address of the coil, and the value to write (0 for OFF, FF00 for ON) |
 +| GVAR_MODBUS_READ_INPUTS | 60039 | **Read multiple coils**. This will request the address of the first coil to read and the number of coils to read. The Modbus device will respond with the number of bytes to follow and the coil input values ​ |
 +| GVAR_MODBUS_INPUT_REGS0 | 60060 | Input register 0 (+31) |
  
 [[mycnc::​global_variables_description|Global Variables Description]] [[mycnc::​global_variables_description|Global Variables Description]]
  
mycnc/global_variables.1554392747.txt.gz · Last modified: 2019/04/04 11:45 by skirillov