set_master_dtm_dataset
Add or edit Modbus scan requests in a master DTM dataset and reload the Control Expert project from the modified archive.
Instructions
Write back a modified master DTM dataset (adds/edits Modbus scan lines) and reload the project from the modified exchange archive.
To add a Modbus scan request, insert into the target SlaveDevice's a node shaped exactly like this (validated):
Rules (M580 CPU scanner): Index increments per request within the device starting at 0; requestSettingBit is the connection number (Modbus range 1-128, unique across the scanner); requestUniqueID must be a fresh GUID; requestInput/OutputObjID use an even/odd pair (n, n+1) from 1024-1279 per connection, 65535 for an unused direction; RD/WR address+length are in words (slave-index format, 0-based). After this call the project is reloaded and UNSAVED — run build_project to validate (the scan line then appears in get_dtm_control_parameters), then save_project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | ||
| dtm | No |