URI setup: modbus-rtu://<port>-<baud>-<dataBits>-<parity>
URI example: modbus-rtu://serial0-9600-8n1-none
The port is not the name of the physical port, but there is a match between the physical ports of the device and the name of the port to be used like serial0, serial1, and so on. In order to check this correspondence, open the Folio App and insert the following query: serialPorts(). The result will show which name has to be used for your specific port.
If the user doesn’t see any ports as the result of the query, or the physical ports names are not the right ones, following the procedure below:
Stop the FIN Framework service.
Go into your FIN Framework installation folder, then into the folder "etc", create here the folder "finStackSerial" and put this file in there.
Edit the file with a text editor software and set the match between the ports. You have to write a list of the physical ports of your device (separated by comma). You can see how the file is already set up to have an example.
Save the file and restart the FIN Framework service.
Open the Folio App and run again the query: serialPorts()
Look at the correspondence between the physical ports of the device that have been entered in the file and the name to be used like serial0, serial1, and so on. Use this latter name in the URI to configure the Modbus connector.