plc_create_variable
Stages a new variable declaration in an existing global or local VAR group and rejects case-insensitive name collisions before the change is applied.
Instructions
Stage a declaration in an existing global or local VAR group. Case-insensitive collisions are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| table_id | Yes | ||
| data_type | Yes | ||
| initial_value | No | ||
| transaction_id | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||