ads_write_raw
Writes raw ADS data to TwinCAT PLC runtime ports (851-859) by index group/offset, checking overlapping symbols against allow/deny lists.
Instructions
Raw ADS write by index group/offset — PLC runtime ports (851-859) only. Every symbol whose memory overlaps the written range is checked against the write allow/deny lists; the raw target itself is 'raw://'.
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": {
"index_group": "<index_group>",
"index_offset": "<index_offset>",
"hex_data": "<hex_data>"
},
"name": "ads_write_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| hex_data | Yes | ||
| ams_net_id | No | ||
| index_group | Yes | ||
| index_offset | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||