deploy_all
Deploy a complete LASAL project to PLC and HMI by compiling, downloading, starting runtimes, updating Visu stations, and verifying state. Each pipeline step can be enabled or skipped via flags.
Instructions
Full deploy pipeline: compile → download PLC → start PLC → verify state → update Visu stations → download Visu → start HMI runtime. Each step is optional via flags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compile | No | Compile the CLASS 2 project. Default true. | |
| lcp_path | No | Absolute path to the .lcp file. Omit to use the selected project. | |
| lvp_path | No | Absolute path to the .lvp file. Omit to auto-detect from the selected project. | |
| start_plc | No | Start the PLC runtime after a successful download. Default true. | |
| timeout_s | No | Timeout override in seconds for compile and download steps. | |
| download_plc | No | Download the compiled CLASS 2 project to the PLC. Default true. | |
| download_visu | No | Download the VISUDesigner project to the HMI after updating stations. Requires visu_connection. Default false. | |
| add_plc_loader | No | Force loader download to PLC even if the target already has a compatible loader. | |
| plc_connection | No | PLC connection string (e.g. 'TCPIP:192.168.1.100'). Omit to use the connection saved in the project's .lss file. | |
| compile_options | No | Compile mode. RebuildAll is safest; BuildChanges is faster for incremental work. | RebuildAll |
| visu_connection | No | HMI connection string (e.g. 'TCPIP:192.168.1.100'). Required when download_visu is true. | |
| add_visu_runtime | No | Force runtime download to HMI even if the version already matches. | |
| start_hmi_runtime | No | Start the local HMI runtime (DataService) and copy HMI files after a successful compilation/update. Default false. | |
| visu_download_flags | No | VISUDesigner download mode: 0=normal (default), 1=changes only, 2=publish+download changes. | |
| update_visu_stations | No | Run update_all_stations on the VISUDesigner project to sync datapoints after CLASS 2 changes. Default true. |