Line 20: |
Line 20: |
| # Navigate to '''Services → Modbus → Modbus TCP Client''' | | # Navigate to '''Services → Modbus → Modbus TCP Client''' |
| # Click '''“Add”''' to add a new Modbus TCP Client [[File:Modbust TCP Client.png|border|class=tlt-border]]<br> | | # Click '''“Add”''' to add a new Modbus TCP Client [[File:Modbust TCP Client.png|border|class=tlt-border]]<br> |
− | # Enable the Modbus TCP Client Configuration and enter the '''“Name, Server ID, IP Address, Port”. Note: Server’s ID, IP Address and Port should be the same as configured in the client device.''' | + | # Enable the Modbus TCP Client Configuration and enter the '''“Name, Server ID, IP Address, Port”. Note: Server’s ID, IP Address and Port should be the same as configured in the client device.'''[[File:Modbus server config1.png|border|class=tlt-border]]<br> |
− | [[File:Modbus server config1.png|thumb]] | |
| # Click '''“Save”''' and the slave device will be added. | | # Click '''“Save”''' and the slave device will be added. |
| | | |
Line 27: |
Line 26: |
| To test whether the functionality is working, we can add a Modbus request to obtain data from the Modbus server. The client sends a request to a specifying the function code to be performed. Then the requested data is sent back to the Client. A maximum of 64 request configurations for each device can be created. | | To test whether the functionality is working, we can add a Modbus request to obtain data from the Modbus server. The client sends a request to a specifying the function code to be performed. Then the requested data is sent back to the Client. A maximum of 64 request configurations for each device can be created. |
| | | |
− | # Click '''“Edit”''' button in client device’s configuration. | + | # Click '''“Edit”''' button in client device’s configuration.[[File:Modbus TCP devices.png|border|class=tlt-border]]<br> |
− | # Type the name of the request followed by clicking the '''“Add”''' button in Requests Configuration section to create a new request. | + | # Type the name of the request followed by clicking the '''“Add”''' button in Requests Configuration section to create a new request.[[File:Request data.png|border|class=tlt-border]]<br> |
− | # Specify the '''“data type, function, first register, number of registers”''' and ensure that the request is enabled. | + | # Specify the '''“data type, function, first register, number of registers”''' and ensure that the request is enabled.[[File:Request configuration.png|border|class=tlt-border]]<br> |
| # Click '''“Save & Apply”''' to save the changes. | | # Click '''“Save & Apply”''' to save the changes. |
| # Click '''“Edit”''' button | | # Click '''“Edit”''' button |
| # Select the request under '''“Request Configuration Testing”''' and click to '''“Test”'''. | | # Select the request under '''“Request Configuration Testing”''' and click to '''“Test”'''. |
− | # The server device will return the requested data. | + | # The server device will return the requested data.[[File:Requested Data.png|border|class=tlt-border]]<br> |
| | | |
| ==Generating TLS Certificate== | | ==Generating TLS Certificate== |
Line 40: |
Line 39: |
| # Navigate to '''System > Administration > Certificates'''. | | # Navigate to '''System > Administration > Certificates'''. |
| # Click on “GENERATE” | | # Click on “GENERATE” |
− | # Navigate to the next tab CERTIFICATES MANAGER | + | # Navigate to the next tab CERTIFICATES MANAGER [[File:Generate Certificates.png|border|class=tlt-border]]<br> |
| # Download the highlighted certificates: ca.cert.pem, client.cert.pem, ca.key.pem and client.key.pem to your Windows 11 Computer for easy upload to the MQTT client. | | # Download the highlighted certificates: ca.cert.pem, client.cert.pem, ca.key.pem and client.key.pem to your Windows 11 Computer for easy upload to the MQTT client. |
| | | |