|
Mach Modules Documentation
Lua Module API Documentation
|
Go to the source code of this file.
Functions | |
| GrinderCenterlessFixedBladeScreenV02 | InitializeTolerances () |
| Initialize machine tolerance values converted to the current unit system. | |
| GrinderCenterlessFixedBladeScreenV02 | MachineScreenStartupScript () |
| Execute the machine screen startup script for the Centerless Fixed Blade grinder. | |
| GrinderCenterlessFixedBladeScreenV02 | MachineScreenLoadScript () |
| Execute the machine screen load script for the Centerless Fixed Blade grinder. | |
| GrinderCenterlessFixedBladeScreenV02 | GetAxisLetterName (AxisID) |
| Get the axis letter label for display, formatted for the Centerless Fixed Blade grinder UI. | |
| GrinderCenterlessFixedBladeScreenV02 | GetAxisShortName (AxisID) |
| Get the short descriptive name for an axis based on its axis ID. | |
| GrinderCenterlessFixedBladeScreenV02 | ScreenTabEnter (tab) |
| Handle screen tab change events and update machine state accordingly. | |
| GrinderCenterlessFixedBladeScreenV02 | LowerSlideBtn () |
| Display a warning message indicating the Lower Slide button is not allowed on Fixed Blade machines. | |
| GrinderCenterlessFixedBladeScreenV02 GetAxisLetterName | ( | AxisID | ) |
Get the axis letter label for display, formatted for the Centerless Fixed Blade grinder UI.
Maps Mach4 axis IDs to two-line label strings used in axis display buttons and indicators. Each label contains a functional abbreviation and the standard axis letter in parentheses:
| AxisID | (number) The Mach4 axis ID constant (e.g., mc.X_AXIS, mc.Y_AXIS) |
| GrinderCenterlessFixedBladeScreenV02 GetAxisShortName | ( | AxisID | ) |
Get the short descriptive name for an axis based on its axis ID.
Maps Mach4 axis IDs to human-readable short names specific to the Centerless Fixed Blade grinder configuration. The naming convention reflects the physical function of each axis:
| AxisID | (number) The Mach4 axis ID constant (e.g., mc.X_AXIS, mc.Y_AXIS) |
| GrinderCenterlessFixedBladeScreenV02 InitializeTolerances | ( | ) |
Initialize machine tolerance values converted to the current unit system.
Sets the operational tolerance values on the screen module (m.screen) by converting each tolerance constant from imperial units to the currently active unit system. The following tolerances are initialized:
| GrinderCenterlessFixedBladeScreenV02 LowerSlideBtn | ( | ) |
Display a warning message indicating the Lower Slide button is not allowed on Fixed Blade machines.
This function is a stub override that prevents the lower slide operation from being executed on Fixed Blade machine configurations. It displays a warning dialog to the operator and returns without performing any axis movement.
| GrinderCenterlessFixedBladeScreenV02 MachineScreenLoadScript | ( | ) |
Execute the machine screen load script for the Centerless Fixed Blade grinder.
Performs full screen initialization after the Mach4 screen is loaded. This includes:
| GrinderCenterlessFixedBladeScreenV02 MachineScreenStartupScript | ( | ) |
Execute the machine screen startup script for the Centerless Fixed Blade grinder.
Performs initial startup tasks when the machine screen first initializes. This includes setting the machine type name label to "Mach Centerless", activating the tool path bottom view, initializing the tool table fields, initializing in-feed rates, and loading the machine-specific G-code file for the Centerless Fixed Blade configuration.
| GrinderCenterlessFixedBladeScreenV02 ScreenTabEnter | ( | tab | ) |
Handle screen tab change events and update machine state accordingly.
This function is called whenever a tab is selected in the screen interface. It performs several context-sensitive operations based on which tab was entered:
The function exits early if the screen is not fully loaded or if required notebook widgets are not yet available.
| tab | (table) Tab descriptor table with keys: 'parent' (string), 'name' (string), 'index' (number), and 'label' (string) identifying the tab that was entered |