deploy_all
Automate the full deployment pipeline: compile CLASS 2, download to PLC, update VISUDesigner stations, and optionally download visu to HMI. Stops on failure.
Instructions
Run the full deploy pipeline in one call: compile CLASS 2 → download to PLC → update VISUDesigner stations → optionally download visu to HMI. Each step is skipped if its flag is false. Stops immediately on any failure and reports which step failed. Use after making CLASS 2 or VISUDesigner changes to push everything to the target hardware.
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. | |
| 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. | |
| 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. |