This article from InSource shows how to configure Wonderware InTouch Machine Edition (ITME) for communication to Advantech ADAM I/O modules.
- Author: Rich Brooks
- Published: 3/27/2017
- Applies to: InTouch ME v8.0 and higher
An example is provided to demonstrate ITME addressing for the ADAM 6018 Module. The 6018 is an eight channel isolated thermocouple input Modbus TCP module. Two of the inputs are configured in this example. The configuration for the ADAM I/O module is accessed from the Advantech Adam/Apax .NET Utility as shown below.
The input range for these thermocouples is 0 to 760 degrees Celsius. Channels 0 and 1 are displaying live values. The ADAM I/O modules support Modbus communication.
Open the ITME development environment. Start by right clicking on Drivers in the Project Explorer | Comm tab to select Add/Remove drivers. Select the MODBUS Protocol RTU via TCP/IP or MOTCP driver from the available drivers. Click on the Select>> button to move to the Selected drivers panel and then click the OK button.
Expand the tree on the left panel to expose MOTCP and MAIN DRIVERS SHEET. The configuration for I/O communication is defined for from the MAIN DRIVERS SHEET. We start by adding the required tag names to this sheet.
The Station is a combination of the IP Address, Port Number, and Station # as shown below:
[IP Address] : [Port Number] | [Station #]
The IP address is obtained to the device. 502 is the default port number when working with Modbus. The station number is always 1 for the ADAM I/O modules.
I/O addressing for the first thermocouple is shown in the device above as having Location 40001. This translates to an I/O address of 4X:U1 in ITME. It is reading from the first of 40,000 or 4X holding registers. The U is used to define unsigned for a raw decimal value range of 0 to 65,535. The Action column is set to Read for read-only for this input value. Scaling is defined to scale the value to the 0 to 760 degrees C engineered value.