add_dtm
Insert a device type manager (DTM) into a Control Expert project topology, either as a top-level communication node or as a slave device under a master DTM by specifying its parent.
Instructions
Add a DTM to the project topology.
Top-level communication DTM: leave parent_dtm empty (e.g. on M580 the CPU DTM 'BMEP58_ECPU_EXT' usually exists already). Slave device under a master DTM: set parent_dtm to the master's name and device_type_name to the catalog entry — e.g. add a generic Modbus TCP slave with device_type_name='Modbus Device' under the M580 CPU DTM. After adding, set its IP with set_dtm_address and configure scan requests with get/set_dtm_dataset or set_dtm_control_parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_type_name | Yes | ||
| dtm_name | Yes | ||
| parent_dtm | No | ||
| protocol_id | No | ||
| prog_id | No | ||
| version | No |