Difference between revisions of "Client"
Line 13: | Line 13: | ||
<h2><span id="Screenshots" class="mw-headline"> Screenshots </span></h2> | <h2><span id="Screenshots" class="mw-headline"> Screenshots </span></h2> | ||
<p><strong>Node hierarchy</strong></p> | <p><strong>Node hierarchy</strong></p> | ||
− | <p>< | + | <p><img title="Node" src="http://www.maba.dk/wiki/images/7/7c/NodeHier.png" alt="Node" width="374" height="242" /></p> |
<p><strong>The configuration of the Modbus_TCP_Client:</strong></p> | <p><strong>The configuration of the Modbus_TCP_Client:</strong></p> | ||
<p><strong><img src="/wiki/images/archive/7/77/20130815105845!ModbusTCPClientConfig.png" alt="ModbusTCPConfig" width="410" height="597" /><br /></strong></p> | <p><strong><img src="/wiki/images/archive/7/77/20130815105845!ModbusTCPClientConfig.png" alt="ModbusTCPConfig" width="410" height="597" /><br /></strong></p> |
Revision as of 10:15, 17 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
<img title="Node" src="http://www.maba.dk/wiki/images/7/7c/NodeHier.png" alt="Node" width="374" height="242" />
The configuration of the Modbus_TCP_Client:
<img src="/wiki/images/archive/7/77/20130815105845!ModbusTCPClientConfig.png" alt="ModbusTCPConfig" width="410" height="597" />
The configuration of the ModbusModule:
<img title="ModbusModuleConfig" src="/wiki/images/0/04/ModbusModuleConfig.png" alt="ModbusModuleConfig" width="409" height="595" />