plc_delete_variable
Stages removal of a single PLC variable only after safety checks, rejecting read-only, I/O-bound, referenced, incomplete-source, or externally aliased declarations.
Instructions
Stage removal of one variable only when its observed declarations and source are safe. Refuses read-only or I/O-bound variables, observed code/declaration references, incomplete source, and global declarations with VAR_EXTERNAL aliases. External consumers are not acquired; no Sysmac build is implied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable_id | Yes | ||
| transaction_id | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||