plc_session
Manage PLC online sessions: check login status or log out to apply pending source edits. Logout requires confirmation.
Instructions
PLC online-session control via UI Automation (the DTE Login/Logout commands are unavailable on the 64-bit shell). action "status" (read-only): reports { loggedIn }. action "logout": logs the IDE out of the PLC — this also applies any source edits the online lock deferred ("loaded after logout"). Never logs back in. Guarded: logout needs confirm="ALLOW_PLC_LOGOUT".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirm | No |