29.04.2021, 17:43 (This post was last modified: 29.04.2021, 17:44 by JRP.)
Hello
I am delving into the use of Modbus in wiser and I am with profiling and memory mapping. For now everything is fine and above all easier with Daniel's profile manager.
The question is that now I would be interested to see how I handle the issue of modbus errors.
In the Modbus tab, by clicking on the error logs button, they appear in the pop-up window if there are errors in the communication. So my questions are:
How can I access those errors?
With a script?
How many errors are there?
Could you assign them to alerts?
Errors are stored in a separate DB table. There's no direct way of placing these error into alerts.
You can show them in the visualization via .lp file placed into an iframe. This will show a table with the latest 50 Modbus error logs:
Save the file as modbus.lp, enable FTP server in System Config, connect via FTP by using apps username and upload modbus.lp file into user directory. Then you can access it via http://LM_IP/user/modbus.lp
30.04.2021, 15:57 (This post was last modified: 30.04.2021, 16:08 by JRP.)
Eureka ¡¡¡It is the file.
Something incomprehensible, I have created it with Notepad ++ and put the extension, even with Visual Studio Code, thinking that the problem could come from that side. I have also tried with a text file changing the extension and nothing. Will it be the extension? Although it seems silly, it is Lp (I put it in capital letters to distinguish it) not Ip, because of the source I will stop the same. Although I have tried both. I am attaching my file in case you see the problem.
Thank you very much for your invaluable help. Greetings
One more question.
What is the best configuration of the frame?
Persistence yes / no
Update time?
I notice that if the page is not reloaded, the records are not updated.
Greetings
I created it in notepad++ and just saved it directly from there and just typed the extension while saving .lp
You can set the refresh in some seconds for frame otherwise you will need to refresh manually.