AWS MQTT cloud connection: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 109: | Line 109: | ||
=== Enabling MODBUS TCP Slave === | === Enabling MODBUS TCP Slave === | ||
Enabling the MODBUS Slave option on the router allows it to answer any requests coming from a MODBUS Master. To do that, go to the router configuration | Enabling the MODBUS Slave option on the router allows it to answer any requests coming from a MODBUS Master. To do that, go to the router configuration page→Services→MODBUS→MODBUS TCP Slave. Then clock the "Enable" slider and save. | ||
[[File:Networking rutos configuration examples AWS 014.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 014.png|border|class=tlt-border]] | ||
=== Enabling MODBUS TCP Master === | === Enabling MODBUS TCP Master === | ||
Enabling the MODBUS Master option on the router allows it to make specific requests to any slave in the MODBUS network. To do that, go to the router configuration | Enabling the MODBUS Master option on the router allows it to make specific requests to any slave in the MODBUS network. To do that, go to the router configuration page→Services→MODBUS→MODBUS TCP Master. Click on the "Add" button, and do the following configuration on the page: | ||
[[File:Networking rutos configuration examples AWS 015.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 015.png|border|class=tlt-border]] | ||
Line 145: | Line 145: | ||
=== Configuring Data to Server === | === Configuring Data to Server === | ||
Go to the router configuration | Go to the router configuration page→Services→Data to server. Click on the "Add" button, and the configuration is basically the same as described on the "Publishing Bluetooth/Wifi scanner/Modbus data" section of this article, just change the data source to "MODBUS data" and format the data as you wish. You should have something similar to this. | ||
[[File:Networking rutos configuration examples AWS 017.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 017.png|border|class=tlt-border]] |