set_dtm_address
Set a slave DTM's bus address for Modbus TCP, EtherNet/IP, or fieldbus devices. Optionally configure gateway and subnet, noting that setting these rewrites and unsaves the project.
Instructions
Set a slave DTM's bus address — for Modbus TCP / EtherNet/IP devices this is the IP address (e.g. '192.168.10.21'); for fieldbus slaves the node number. Optionally also set the device's gateway and subnet mask (the gateway must be in the same IP domain as the address or the build warns 'IP Address and Gateway address are not in the same domain'). Setting gateway/subnet rewrites the project archive: the project is reloaded and UNSAVED — build_project then save_project afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| address | No | ||
| gateway | No | ||
| subnet | No |