symbols_patch_copy
Adds or updates global symbols in H3U PLC projects, verifies binary consistency through independent readback, and produces a modified copy in a new destination.
Instructions
新增或修改全局符号,独立进程回读并要求前后机器码一致;只交付新副本。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"dest": "<dest>",
"expected_sha256": "<expected_sha256>",
"changes": "<changes>"
},
"name": "symbols_patch_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | 源工程之外、尚不存在的新目标目录 | |
| changes | Yes | 完整行字段;index=-1 新增,其他值修改原行,不支持删除 | |
| project | Yes | 含唯一 HCP 索引的完整工程目录 | |
| install_dir | No | AutoShop 安装目录;省略时读取 AUTOSHOP_INSTALL_DIR | |
| expected_sha256 | Yes | symbols_read 返回的 VarList.gdt SHA256 |