The Modbus master device, which can be a PLC, a PC or an Advanticsys controller, interrogates the Modbus devices within the network. The RS485 serial packets are converted to wireless packet frames by the connected DM-124 (id 10 in the picture) and broadcasted to the rest of the DM-124 in the network. These convert them in turn to RS485 Modbus RTU, forwarding them to the connected Modbus devices. Replies from the devices are transmitted in the same way to the network coordinator.
Since the DM-124 are considered also as Modbus devices within the network, data from the included pulse counter can be read by retrieving the data from the registers of the specific DM-124. This pulse counter is configurable as dry contact, open-collector or S0 type (for water and gas counters).
Configuration of the DM-124 can be done with a dedicated programmer and also through the Modbus network. Among other parameters it is possible to configure:
In order to extend the network and/or the number of devices, groups of DM-124 can be connected in cascade as the following diagram shows:
In the table below, minimum and recommended hardware and software requirements are listed.
Minimum and recommended requirements
To run the configurator user needs install the Microsoft Framework .NET v3.5 package or higher. During the installation process, it will automatically check if your computer has this software package installed. If not, it will proceed with the installation, so that you can start installing the MPC Config Tool even if you are not sure whether .NET is installed on your system.
To start the installion process, double-click the installation file. An installation wizard will start. Once you accept the license agreement, the wizard will let you select the folder where the files will be copied and if you want to create a shortcut on the desktop and in the start menu. Before completing the installation, it will check if. NET is installed on your computer, proceeding to install it if not detected.
This configuration software is compatible with DM-124 devices.
Configuration of DM-124 devices can be done in several ways:
The DM-124 Config Tool permits using any of the above, by simply selecting the corresponding option in the right hand side of the initial screen:
DM-124 ConfigTool Initial Screen
Connect the RS-485 terminals A and B to the corresponding lines of your bus. It is assumed that access to the RS-485 bus is possible from a computer, for example through a USB-485 converter. Once a serial port is available, select RS485 as connection option, and then edit the corresponding parameters for the bus (baudrate, parity, data & stop bits). Finally, press the button labeled Connect in the lower right hand side corner of the screen.
It is also possible to connect a dedicated Advanticsys Programmer to the associated connector in the DM-124. In this case, select Advanticsys¢ç Programmer as connection option, indicate the associated serial port and press the button labeled Connect in the lower right hand side corner of the screen.
To make use of the radio configuration an UD1000 dongle is needed. Connect the UD100 to your computer and in the configurator select OTA as connection option. It is necessary to indicate the serial port assigned to the UD1000 in the computer as well as the radio channel the DM-124 network is using. As always, press the button labeled Connect in the lower right hand side corner of the screen.
DM-124 Terminal Connections
No matter the connection option, once the Connect button is pressed, the DM-124 Config Tool automatically scans for available devices on the bus, retrieving their stored configuration:
From this screen it is possible to edit the different parameters to configure the DM-124 to work as needed. It is important to know exactly what the role of the DM-124 is going to be, so first of all it may be advisable to take a look at the theory of operation here. After having a clear view on the type of installation desired, proceed to the following section to see how to do it.
The DM-124 can have the following Modbus RTU parameters configured:
By default, a brand new DM-124 has 1 as Modbus id, 19200 8 N 1 as RS485 configuration and the standards silence period between packets.
Important: the DM-124 must have a unique Modbus id inside the Modbus network, as in itself it is a Modbus node. Choose a Modbus id multiple of 10 if you want this DM-124 to act as network coordinator (i.e. if it is going to be connected to the Modbus Master device). There can only be one network coordinator inside a DM-124 cluster.
DM-124 Modbus Parameters
The DM-124 can have the following wireless parameters configured:
By default, a brand new DM-124 has a random Radio id, 34 as Group id and uses Radio Channel 15.
Important: the DM-124 must have a unique Radio id inside the cluster. A cluster is established by DM-124 devices that have the same Group id and Radio Channel.
DM-124 Radio Parameters
Additionally it is possible to map other AdvanticSyS compatible wireless sensors to the DM-124. This enables to access data provided by the sensors by ready the associated DM-124 registers.
To add new slave devices select the desired number with the Slave Motes drop down list at the left of the screen. This will add the new slave devices to the main configuration area at the right hand side:
DM-124 Edit number of Slave Wireless Devices
Configuration appears in red if there is some incompatibility with the chosen options. The slave devices must have different radio ids among them, and with the DM-124 itself. Once the incompatibilities are solved the configuration screen appears as follows:
DM-124 Edit Slave Device Configuration
It is possible to return to the default settings by pressing the Set Default Values button:
DM-124 Default Settings Button
Once finished with the different settings, it is necessary to upload the new configuration to the DM-124. To do so, press the Upload button. A progress bar will indicate the process finalization:
DM-124 Upload Settings