|
Mach Modules Documentation
Lua Module API Documentation
|
Go to the source code of this file.
Functions | |
| MillScreenV01 | MachineScreenPLCScript () |
| Execute the PLC script for the Mill machine screen. | |
| MillScreenV01 | ConfigureConversationalButton () |
| Configure the visibility and enabled state of the Conversational button. | |
| MillScreenV01 | MachineScreenLoadScript () |
| Execute load-time initialization script for the Mill screen. | |
| MillScreenV01 ConfigureConversationalButton | ( | ) |
Configure the visibility and enabled state of the Conversational button.
Checks whether the Alexsys V4 eCam.exe application exists at the expected path under the Mach directory. If the executable is found, the ConversationalBtn screen object is enabled; otherwise it is disabled. This prevents users from attempting to launch software that is not installed.
| MillScreenV01 MachineScreenLoadScript | ( | ) |
Execute load-time initialization script for the Mill screen.
Called when the Mill screen is loaded. Performs all required initialization tasks for the screen, including setting up tool setters. This function is the entry point for screen load-time configuration and should be called once when the screen first becomes active.
| MillScreenV01 MachineScreenPLCScript | ( | ) |
Execute the PLC script for the Mill machine screen.
Called repeatedly as part of the screen PLC cycle. Updates the DRO position displays to reflect the current machine state. This function is intended to be called at a regular interval by the screen PLC loop and should complete quickly to avoid delaying the PLC cycle.