31,703
edits
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
<li>0 - OFF</li> | <li>0 - OFF</li> | ||
</ul> | </ul> | ||
==Modbus TCP Master== | |||
A Modbus <b>master</b> device can request data from Modbus slaves. The Modbus TCP Master section is used to configure Modbus TCP slaves. To add a new slave, enter a custom name, slave's ID, IP address and port and click the "Add" button: | |||
[[File:{{{file_add_new_slave}}}]] | |||
===Slave device configuration=== | |||
---- | |||
The figure below is an example of the <b>Slave device configuration</b> and the table below provides information on the fields contained in that section: | |||
[[File:{{{file_slave_configuration}}}]] | |||
<table class="nd-mantable"> | |||
<tr> | |||
<th>Field name</th> | |||
<th>Value</th> | |||
<th>Description</th> | |||
</tr> | |||
<tr> | |||
<td>Enabled</td> | |||
<td>yes | no; Default: <b>no</b></td> | |||
<td>Turns communication with the slave device ON or OFF</th> | |||
</tr> | |||
<tr> | |||
<td>Name</td> | |||
<td>string; Default: <b>none</b></td> | |||
<td>Slave device custom name, used for easier management purposes</th> | |||
</tr> | |||
<tr> | |||
<td>Slave ID</td> | |||
<td>integer [1..247]; Default: <b>none</b></td> | |||
<td>Slave ID. Each slave in a network is assigned a unique identifier randging from 1 to 247. When the master requests data from a slave, the first byte it sends is the Slave ID</th> | |||
</tr> | |||
<tr> | |||
<td>IP address</td> | |||
<td>ip; Default: <b>none</b></td> | |||
<td>Slave device IP address</th> | |||
</tr> | |||
<tr> | |||
<td>Port</td> | |||
<td>integer [0..65535]; Default: <b>none</b></td> | |||
<td>Slave device Modbus TCP port</th> | |||
</tr> | |||
<tr> | |||
<td>Period</td> | |||
<td>integer [1..6400]; Default: <b>none</b></td> | |||
<td>Interval at which requests are sent to the slave device</th> | |||
</tr> | |||
<tr> | |||
<td>Timeout</td> | |||
<td>integer [1..30]; Default: <b>nome</b></td> | |||
<td>Maximum response wait time</th> | |||
</tr> | |||
==Modbus Data to Server== | |||
[[File:{{{file_add_new_sender}}}]] | |||
[[File:{{{file_sender_configuration}}}]] | |||
==See also== | ==See also== |