Difference between revisions of "Client"
(Created page with "<h1 id="firstHeading" class="firstHeading">Client</h1> <p>The Modbus TCP client in Proview allows you to connect to equipment which acts as Modbus TCP servers, such as remot...") |
Revision as of 01:46, 14 August 2013
Client
The Modbus TCP client in Proview allows you to connect to equipment which acts as Modbus TCP servers, such as remote I/O, PLCs etc.
Instructions
Here are the steps required to add a Modbus TCP client in Proview:
- Create a Modbus_Master module for your node
- Under the Modbus_Master module, add a Modbus_TCP_Slave
- Configure the Modbus_TCP_Slave module with the ip/port for your plc (e.g. 192.168.1.60 / 502)
- Configure a Modbus_Module under the Modbus_TCP_Slave for each function code you want to use (Read_Coil, Read_Registers etc).
- Configure the channel objects of the appropriate type for each Modbus_Module
Now you can connect each of the channel objects to the appropriate variables in your plant hierarchy.
Screenshots
Node hierarchy
<a class="image" href="http://www.proview.se/wiki/index.php?title=File:NodeHier.png"><img src="http://www.proview.se/wiki/images/7/7c/NodeHier.png" alt="NodeHier.png" width="374" height="242" /></a>
The configuration of the Modbus_TCP_Client:
<a class="image" href="http://www.proview.se/wiki/index.php?title=File:ModbusTCPClientConfig.png"><img src="http://www.proview.se/wiki/images/7/77/ModbusTCPClientConfig.png" alt="ModbusTCPClientConfig.png" width="410" height="597" /></a>
The configuration of the ModbusModule:
<a class="image" href="http://www.proview.se/wiki/index.php?title=File:ModbusModuleConfig.png"><img src="http://www.proview.se/wiki/images/0/04/ModbusModuleConfig.png" alt="ModbusModuleConfig.png" width="409" height="595" /></a>