Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ADAM-4150v20.dtp package defines the interface to access the digital input and output of the ADAM-4150 device using Modbus RTU and the RS-485-1 channel. This package includes a .dla file that provides Modbus driver instructions for monitoring the data and presenting the data events to the rest of the system. The Adam-4150V20.dla.csv file is contained ADAM-4150v20.dtp archive that was imported in the process of 618093 Creating Modbus Devices section.

Follow the steps below to take a closer look at how this works.

...

  1. Go to the Datapoint Browser widget.

    Note

    Notes: Click the Expand button (  ) for a better view of this widget. 

    To reduce the scope of data that appears on the Datapoint Browser widget, set the filter to narrow down the display to Modbus driver.


  2. Select the checkmark next to each of the following six datapoints: DI_0, DI_1, DI_2, DI_3, DO_0, and DO_1 (the checkmark changes from blue to yellow). Use the scroll bar as needed to select all of the desired devices.



  3. Click the Action button () on the Datapoint Browser widget and select the Show Selected Datapoints action.



    The Datapoint Browser display is updated with only the six selected datapoints.

    The action of the switches on the Starter Kit, and the modification of DO_0 and DO_1 values in the Datapoint Browser widget, will be reflected within the 2s poll interval that is defined in the Adam-4150V20.dla.csv file. This file is contained in the ADAM-4150v20.dtp archive that was imported in the process of 618093the Creating Modbus Devices section.



    You have succeeded integrating a simple Modbus RTU device with the SmartServer IoT. Success requires device setup and serial frame compatibility. As with all RS-485 based devices, it is important to pay attention to the communication wire polarity, and the inclusion of the common ground. Go to Creating Devices to set up other devices.