Now that the ADAM-4150 module is prepared to be accessed as a Modbus RTU device, with Modbus address of 01 and a 19200 Baud serial connection, the device can be added to the SmartServer IoT. The module's serial frame does not use parity and looks for only 1 stop bit.Ĭontinue setting up the Modbus RTU channel following the steps in the section below: Creating Modbus Devices. The above instructions set the baud rate to 19200. When you configured the ADAM-4150 module at Modbus address 01, you also set the serial bit rate it would use to communicate. The RS-485 Configuration page appears.Ĭonfigure your RS-485-1 settings to match those shown in the figure below.
Note: You need to have winscp.exe and putty.exe installed on your PC for this procedure. A small node.js application is provided to accomplish this task. Īn easier option leverages the programming support of the SmartServer IoT.
This utility is available for download at. The communication interface can be upgraded to support Modbus RTU using an ADAM 4000/5000 utility and and USB to RS-485 converter. The ADAM-4150 module initially communicates using Advantech’s proprietary serial protocol. Getting Started with Modbus RTU Channel Setup Get started setting up the Modbus RTU channel following the steps in the section below: Getting Started with Modbus RTU Channel Setup. Two of the wires loop back connecting outputs DO-0 to DI-2, and DO-1 to DI-3. A pair of switches to the right of the module are connected to inputs DI-0 and DI-1 as shown in the figure below. This module includes LEDs that indicate the state of the module’s digital outputs. The SmartServer IoT Starter Kit includes an Advantech ADAM-4150 DIO module.