Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Forum
Cirrus Link Modules Docs for Ignition 7.9.x
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
Once you save the configuration for the Modbus TCP connection and everything is setup properly on the MGate you should see the “Status” of the connection change to “Connected”.
********************************************************************************************
How did we get from this connected status to seeing the CLICK devices in Designer?
...
In Designer, create a tag path and add OPC tags.
When you start to configure Ignition tags that want pull Modbus register information from any of the Modbus RTU devices connected to the MGate unit, you will need to specify the Modbus Address in the OPC tag path.
In our example, we have three (3) CLICK PLCs on the RS-485 2-wire serial network connected to the MGate. The Modbus register values are in the Ignition folders CLICK 01, CLICK 02, and CLICK 03.
Lets review the various datatypes available and how they are mapped RTU Address, Modbus Data Type and Modbus Register Address by appending to the OPC Server Path in the OPC Item Path configuration..
The format is [OPCServerPath]X.YYY.ZZZZZ where:
X = Modbus RTI Address
YYY = Modbus Datatype
ZZZZZ = Modbus Register Address
Tip |
---|
Reference the Modbus Addressing Inductive Automation document for details on the correct designator to use for the datatype |
Double click on the AI 1 tag under CLICK 01 to open the properties and look at the OPC Item Path configuration:
Here we can see that Analog Input #1 on the CLICK 01 PLC (tag AI 1) is mapped to Modbus Holding Register address 28,674. Also note that the Analog Input is a 32-bit Float data type. In this use case, the OPC Item Path must include the associated Modbus Slave Address for the target PLC.
...
In our example, with the OPC UA Server Path as ns=1;s=[Click PLC RS485 Network]
In our example, we have three (3) CLICK PLCs on the RS-485 2-wire serial network connected to the MGate. The Modbus register values are in the Ignition folders CLICK 01, CLICK 02, and CLICK 03.