create_class2_bootdisk
Creates a CLASS 2 bootdisk or update stick for Sigmatek LASAL PLCs, bundling OS images, update scripts, Autoexec.lsl, VISUDesigner publish files, and MultiMaster station data.
Instructions
Create a CLASS 2 bootdisk (update stick): plain bootdisk or the full Update-Tool flavor with update script, Autoexec.lsl, LasalOS image, VISUDesigner publish folder and MultiMaster Stations.txt. Platform AUTO/ALL/ARM/X86.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Bootdisk flavor. Default: update_stick when any of os_file/visu_publish_folder/autoexec_file/add_autoexec/update_script is used, otherwise simple. | |
| os_file | No | LasalOS image (.lbi) to include (update-stick mode). | |
| lcp_path | No | Absolute path to the .lcp file. Omit to use the currently selected project. | |
| platform | No | Target architecture: AUTO (project target), ALL, ARM or X86. Default AUTO. | AUTO |
| overwrite | No | Overwrite existing bootdisk content. Default true. | |
| timeout_s | No | Timeout in seconds. Default 300. | |
| lvd_runtime | No | When a VISUDesigner publish folder is set: also use its Runtime directory. Default true. | |
| output_path | Yes | Directory to write the bootdisk into (e.g. a prepared USB stick root). | |
| add_autoexec | No | Place an autoexec.lsl into the destination directory that starts the update script (update-stick mode). | |
| autoexec_file | No | Path of a regular Autoexec.lsl to place on the PLC (update-stick mode). | |
| update_script | No | Update-tool script flavor (update-stick mode): none, all (runs every update) or menu. Default none. | none |
| all_lobs_in_one | No | Write all .lob files into a single file. | |
| visu_publish_folder | No | VISUDesigner 'Publish' folder to bundle into the update (update-stick mode). | |
| add_multimaster_stations | No | Copy the MultiMaster Stations.txt into the destination (update-stick mode). Default true. | |
| use_active_connection_files | No | Use the project's active connection files (update-stick mode). Default true. |