Template:Networking rut2 9 modbus custom register block: Difference between revisions
Template:Networking rut2 9 modbus custom register block (view source)
Revision as of 05:59, 15 September 2020
, 15 September 2020no edit summary
No edit summary |
No edit summary |
||
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 | |||
With Modbus TCP master you can read data just by using ASCII data type and interactive test button. | |||
[[File:Configuration examples modbus tcp master test.png|border|class=tlt-border]] | [[File:Configuration examples modbus tcp master test.png|border|class=tlt-border]] | ||
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_register_count.png|border|class=tlt-border]] | |||
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: |