20.06.2017, 18:01
Good afternoon,
Perhaps you can help me with a task that I have to accomplish. I'm working with the latest version of HL (2.0.0).
I have to perform an alarm control, and create a log with the last 30 or 40 alarms generated by the system; This system is a solar inverter that communicates via modbus with the HL. This communication is correct.
I attach an image of the book of modbus variables of the manufacturer, where you can observe the operation, as well as the variables already visible in HL.
I have configured the HL so that I ask the modbus interface every 60 seconds, so every 60 seconds I get new information in a loop, the object 1/1/7 is the index -> modbus adress 3001. Every time I ask A modbus read, the rest of variables change to their corresponding register.
The date of the alarm gives me in seconds since 1970 ... I'm not very clear how to do this, when I want to initialize a variable of time in 1970, the system changes it to 2070 ... I'm a little lost.
The ideal would be to visualize by alarms rows, and that these could be on written ones ...
And if I could already send the whole log by email once a week, for example, it would be extraordinary.
I hope someone can advise me a little, you would be grateful.
Thank you very much in advance
Alberto.
Perhaps you can help me with a task that I have to accomplish. I'm working with the latest version of HL (2.0.0).
I have to perform an alarm control, and create a log with the last 30 or 40 alarms generated by the system; This system is a solar inverter that communicates via modbus with the HL. This communication is correct.
I attach an image of the book of modbus variables of the manufacturer, where you can observe the operation, as well as the variables already visible in HL.
I have configured the HL so that I ask the modbus interface every 60 seconds, so every 60 seconds I get new information in a loop, the object 1/1/7 is the index -> modbus adress 3001. Every time I ask A modbus read, the rest of variables change to their corresponding register.
The date of the alarm gives me in seconds since 1970 ... I'm not very clear how to do this, when I want to initialize a variable of time in 1970, the system changes it to 2070 ... I'm a little lost.
The ideal would be to visualize by alarms rows, and that these could be on written ones ...
And if I could already send the whole log by email once a week, for example, it would be extraordinary.
I hope someone can advise me a little, you would be grateful.
Thank you very much in advance
Alberto.