Changes

no edit summary
Line 24: Line 24:  
  $ vi /bin/extramodbus (where extramodbus here could be any name)
 
  $ vi /bin/extramodbus (where extramodbus here could be any name)
   −
Then press the letter [<b>i</b>] on the keyboard and insert following <b>script</b> (this script is for this manual purpose, yours might be different) example:
+
Insert following <b>script</b> (this script is for this manual purpose, yours might be different) example:
    
  #!/bin/ash
 
  #!/bin/ash
Line 68: Line 68:  
<li>Modbus TCP Master;</li>
 
<li>Modbus TCP Master;</li>
 
</ul>
 
</ul>
 +
With Modbus TCP master you can read data just by using ASCII data type and interactive test button. To determine how many registers to specify in the '''Register count/Values''' field you should divide character count by two. For example, if you have 28 characters you should input  14 to '''Register count/Values''' field.
 +
 +
[[File:Configuration examples modbus tcp master test.png|border|class=tlt-border]]
 +
 +
[[Category:{{{name}}} Configuration Examples]]
 +
 
For example purpose we will be using <b>ComTestPro</b> program, which allows us to get Modbus data from device in <b>Hex</b>. So in order to get <b>date</b> from the router by reading <b>custom Modbus registers</b> we need to use following configuration:
 
For example purpose we will be using <b>ComTestPro</b> program, which allows us to get Modbus data from device in <b>Hex</b>. So in order to get <b>date</b> from the router by reading <b>custom Modbus registers</b> we need to use following configuration:
 
<ul>
 
<ul>
Line 90: Line 96:     
[[File:Configuration examples modbus hex to ascii.png|border|class=tlt-border]]
 
[[File:Configuration examples modbus hex to ascii.png|border|class=tlt-border]]
  −
[[Category:{{{name}}} Configuration Examples]]
 

Navigation menu