plc_download
Write the active PLC boot project to the target boot directory and restart the runtime to load it. Requires a confirm parameter to proceed.
Instructions
Deploy the active PLC project. Guarded: confirm="ALLOW_PLC_DOWNLOAD" (deploys a boot project to the live target). method "bootproject" (default): headless via ITcPlcProject — writes the boot project to the target boot dir; twincat_restart_runtime loads and runs it. method "command": legacy DTE command route (needs a shell with window automation). autoLogout (default true): if the IDE is logged into the PLC, log out first via UI Automation so any source edits deferred by the online lock are applied before deploy. Never logs back in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | bootproject | |
| confirm | No | ||
| treePath | No | PLC root node, default first project under TIPC | |
| autostart | No | ||
| autoLogout | No | ||
| commandName | No |