plc_update_variable
Stages changes to PLC variable data type, initial value, retained status, or comment fields in a Sysmac Studio project transaction for validation and commit.
Instructions
Stage data_type, initial_value, retained or comment fields. Unbind before changing a bound variable type. Use plc_rename_variable for renames and bind_io/unbind_io for addresses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| variable_id | Yes | ||
| transaction_id | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||