|
Mach Modules Documentation
Lua Module API Documentation
|
Go to the source code of this file.
Functions | |
| LaserGUIModule | MachineCycleStop () |
| Handle machine cycle stop event by turning off all laser outputs. | |
| LaserGUIModule | MachineDisable () |
| Handle machine disable event by turning off all laser outputs. | |
| LaserGUIModule | GetLaserAnalogOutputIndex () |
| Get the configured laser analog output channel index. | |
| LaserGUIModule | SetLaserAnalogOutputToZero () |
| Set the laser analog output channel to zero. | |
| LaserGUIModule | TurnOffLaserOutputs () |
| Turn off all laser output signals and zero the analog output. | |
| LaserGUIModule GetLaserAnalogOutputIndex | ( | ) |
Get the configured laser analog output channel index.
Retrieves the laser analog output index from the cached parameter at address 1810.
| LaserGUIModule MachineCycleStop | ( | ) |
Handle machine cycle stop event by turning off all laser outputs.
Called by the Common Module when a cycle stop occurs. Ensures all laser output signals are safely deactivated to prevent unintended laser operation after the machining cycle ends.
| LaserGUIModule MachineDisable | ( | ) |
Handle machine disable event by turning off all laser outputs.
Called by the Common Module when the machine is disabled. Ensures all laser output signals are safely deactivated to prevent unintended laser operation.
| LaserGUIModule SetLaserAnalogOutputToZero | ( | ) |
Set the laser analog output channel to zero.
Retrieves the configured laser analog output index and sets its value to zero using the current Mach4 instance. This effectively disables any analog laser power signal.
| LaserGUIModule TurnOffLaserOutputs | ( | ) |
Turn off all laser output signals and zero the analog output.
Deactivates all laser-related output signals (oxygen, nitrogen, laser on, and shutter) and sets the laser analog output to zero. This function is the primary shutdown routine for all laser outputs and is called by both MachineCycleStop and MachineDisable.