upsert_symbol
Create or update global/local program symbols without modifying PLC setup or I/O tables. Ideal for adding or changing symbol addresses, names, data types, comments, and scope directly in the project.
Instructions
Create or update a global/local program symbol without touching PLC setup or I/O tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| scope | No | global | |
| address | Yes | ||
| comment | No | ||
| data_type | No | BOOL | |
| project_id | Yes | ||
| program_name | No | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||