Tank you. Have a good weekend. Atentamente Ing. Samuel González Suárez On Saturday, July 13, 2024 at 02:41:30 PM CST, ricardolo <ricardolo@users.sourceforge.net> wrote: You can try selecting some suitable TZ on Windows that doesn't have daylight savings. problema with dnp events Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/oshmiopensubstationhmi/discussion/general/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptio...
You can try selecting some suitable TZ on Windows that doesn't have daylight savings.
I also have a problem with the time stamp on the events (SOE), I think that this is caused because here in Mexico the daylight saving time is no longer used. If so, what should I do?
Hi, Tanks for your Quick response. I don't understand your comment about inhibited alarms. I understand that points with that option wont be presentes on the event/alarms tables. What happens with my test system its that after th oshmi start and after sending a change of state(soe) on point 0 for my RTU (the same for points1, 2,3), the change is registered only on the alarms table(after a class0 scan) , but not in the event table. If the rtu sends a change of state in points 4-49 the alarms and events...
Unmark inhibited alarm option or events/alarms won't be presented. Do not use kconv2 = -1 for digital points that can be timestamped by the RTU, this option is to force creation of a timestamp when changes are detected in OSHMI, this is why you see wrong timestamps. Config kconv1=1 kconv2=0 for digital points.
Hi Ricardo, tanks for your support. I have noticed that if i go to options in point info menu, and mark/unmark the inhibited alarm option, the event of the point 0 (and the other 3 points with the same issue) starts to appear on the event table. I also have somethig missing on the time stamp of the events, because the time of the event on the table does not correspond to the field time, as you can see on the screenshoots. i zipped the point_list.txt, dnp3.ini ,ihm.ini and logs. Best regards, Sam...
Hi Samuel. Only SOE events (state changes timestamped by the RTU) are registered in the Events Viewer. Have you studied logs or tried another software to scan those points? Are you sure the points missing in events have valid timestamps? What are the group/variation? Can you please post your point_list.txt, dnp3.ini and detailed logs? Best regards, Ricardo
Hi, I have a problema working with a small dnp 3 database, i have configured the hmi.ini, dnp3.ini, point_list.txt, screen_list.js, start_hmi.bat, created a database with 50 digital inputs, 14 analog inputs and 4 digital otputs , créate a svg diagram and asociated the database points and all seem to be ok, but after running the oshmi and a rtu simulator the communication is correct but the fisth 4 binary inputs does not generate events on the events table, they only are registered in the alarmas...
Hi, I have a problema working with a small dnp 3 database, i have configured the hmi.ini, dnp3.ini, point_list.txt, screen_list.js, start_hmi.bat, created a database with 50 digital inputs, 14 analog inputs and 4 digital otputs , créate a svg diagram and asociated the database points and all seem to be ok, but after running the oshmi and a rtu simulator the communication is correct but the fisth 4 binary inputs does not generate events on the events table, they only are registered in the alarmas...
Hi, I have a problema working with a small dnp 3 database, i have configured the hmi.ini, dnp3.ini, point_list.txt, screen_list.js, start_hmi.bat, created a database with 50 digital inputs, 14 analog inputs and 4 digital otputs , créate a svg diagram and asociated the database points and all seem to be ok, but after running the oshmi and a rtu simulator the communication is correct but the fisth 4 binary inputs does not generate events on the events table, they only are registered in the alarmas...
Sure.
Hi, Ricardo, thankyou very much for you response, I carry out the tests and get in touch
Hi Manuel, Can you try this Python lib with your devices? https://github.com/pwitab/iec62056-21 If suitable we may alter it to read data and deliver to OSHMI via UDP/JSON.
Ricardo, ante todo buen dia...consulto si se ha podido integrar al scada lectura de medidores de energia por intermedio del protocolo IEC 62056-21, ya que actualmento tengo funcionando OSHMI, y queria integrar lectura remota en medidores instalados sobre subestaciones transformadoras para medicion de calidad de servicios "eventos" Atte Manuel
Important suggestion, thank you very much. I have added changes to the version 0.3 of the driver now available in the files section. Now it is possible to list RCBs for enabling or not. See example config file.
Hi, I have tested the iec61850 client feature in the latest release of OSHMI using a real IED. It is working perfectly fine. The only con I have observed is, the Oshmi iec61850 client is activating all the RCBs available on the server thereby denying other clients to reserve RCBs on the server. One work around is to start the oshmi iec61850 client after starting other clients.It will be beneficial if we can choose which report control blocks to be reserved by oshmi client. I am sure with features...
For sure it is possible. You have to listen on another TCP port and redirect everything to OSHMI's 51908 port.
I cannot cope jwt auth for nginx on windows, basic auth is too ugly. But i can it with nodejs. How you think - will oshmi work on nodejs without global changes?
Hooray!!! thank you, i see it at svg!
To write register 5, use the address column 105 5 TES_CMD_SCALED A kV 201 1 0 7 S 1 49 1.0000 0.0000 5 -1 1 0.0000 "TES~CMD~Scaled" I recommend to always use address column, for all points.
maybe plc have to see to 105 and change 5 = 105?
i changed kconv1=32767 and seen at svg value of manually entered in modbus simulator value of mb HR5. But i want change it by entering frm svg text.
Analog values from Modbus are sent to OSHMI emulating an IEC104 type 9 format (normalized value). Integer 16 bit values are divided by 32767 and converted to float (the value 32767=7FFFh represents the float value 1.0). So to restore the value as Modbus 16 bit integer you must use kconv1=32767 and kconv2=0 in point_list.txt. Use kconv1(multiplier) and kconv2(offset) to adjust the scale to your measurement as needed.
in my case text "%5.1f" show state of mb HR5 and write to mb HR105. I manually changed mb HR5 to 20000 and after that svg text show "0.1", i dont know why. Obviously OSHMI in my case want to use 2 HRs of modbus.
why we want work with modbus register 5 but wrote to modbus simulator register 105?
I changed modbus_queue. Now it has only READHR_1=101 6 1. On svg screen I placed text %5.1f and setted its parameter "tag" to 5. After start OSHMI i clicked to this text, in appeared dialog i entered 14. In Modbus simulator appeared 140 in address 400106. At screen nothing changed
I changed modbus_queue. Now it has only READHR_1=101 6 1. On svg screen I placed text %5.1f and setted its parameter "tag" to 5. After start OSHMI i clicked to this text, in appeared dialog i entered 14. In Modbus simulator appeared 140 in address 40105. At screen nothing changed
IT is the same holding register in modbus, but oshmi requires one point to read and one point to write.
Change to this modbus_queue READHR_1=101 6 1 This will put registers 40101-40106 into OSHMI's supervised points 1-6 so you can see result of command 105-TES_CMD_SCALED on point 5-TES_SUP_SCALED . In OSHMI command points are separated from supervised values.
Why for 1 command i must use 2 different holding registers?
modbus_queue READHR_1=1 10 READHR_2=101 10 point_list is copied from your, only changed RTU to 1 1 0 TES_SUP_SINGLE D OFF/ON 38 310 0 0 S 1 30 1.0000 0.0000 0 2 2 1.0000 "TES~Sup~Single" 2 0 TES_SUP_DOUBLE D OFF/ON 38 310 0 0 S 1 31 1.0000 0.0000 0 2 2 1.0000 "TES~Sup~Double" 3 0 TES_SUP_REG A Pos 216 16 0 0 S 1 5 1.0000 0.0000 0 0 1 0.0000 "TES~Sup~Regulate" 4 0 TES_SUP_NORM A kV 201 1 0 0 S 1 9 1000.0000 -500.0000 0 -1 1 0.0000 "TES~Sup~Normalized" 5 0 TES_SUP_SCALED A kV 201 1 0 0 S 1 11 0.1000...
The command worked but there is something wrong with reading, double check point_list.txt and modbus_queue.ini.
I see only change in modbus simulator but not at screen or point value
Please advice shortest way to simulate modbus analog commands. I cannot find sample in your demo, command points 101-106 from demonstration point list is absent at all svg screens.
type D for analog command?
Yes, it doesn't. You just relate analog command to a supervised point in the point_list.txt (Supcmd field). Link the supervised point to an svg object (like to present the input value). When you click this object you will have access to the analog command, a dialog where you can enter the value to send to modbus device.
how to organize this user input? SVG hasent any editable input field possibilities
how to organize this user input? SVG hasent any input possibilities
You can use analog commands to send 16bit setpoint values to modbus. Example in point_list.txt. 90003 7005 MODBUS_RTU2_PSR_7005 D Unit 0 0 0 7 E 2 48 1.000000 0.000000 40000 2 1 0.00 "Modbus~RTU_2~Output Single Reg 7000" See manual, ASDU types 48 or 49. Analog output, normalized 16 bits Preset Single Register, FC=0x06 48 Analog output, scaled 16 bits Preset Single Register, FC=0x06 49
Is it possible to create some user field for user float input "2.7" and send to modbus Holding Register?
Hi Manuel. Currently only one protocol out of modbus and dnp3 can issue commands.
Ricardo, buen dia...retomando el tema de poder efectuar comando via Modbus trabajando con DNP3.0 en simultaneo????
I found, you parsed coockies
On this page you show user name (demo) but not from headers. How to do it?
OSHMI is not aware of any user auth, you have to do it via scripting accessing the http headers set by nginx. https://stackoverflow.com/questions/72604811/how-to-know-what-user-logged-in-through-nginx-auth-basic-from-the-proxy-pass-app https://stackoverflow.com/questions/220231/accessing-the-web-pages-http-headers-in-javascript
I made nginx authorization with two users - admin and operator. How to check who now logged from script inside button? I want to restrict some button for operator
Great! Thank you!
Yes it has no effect indeed. Please try this fixed webserver.exe, now it seems ok. https://sourceforge.net/projects/oshmiopensubstationhmi/files/webserver.exe/download
Succeeded with script mousdown : document.location = "screen.html?SELTELA=../svg/faceplate.svg&IDPREFIX1=ABC";
Before i havent BDTR section in hmi.ini. Timeout measured was 6 min. I added to end of hmi.ini [BDTR] INTEGRITY_PERIOD=0 then restarted webserver. But timeout not changed
Before i havent BDTR section in hmi.ini. Timeout measured was 6 min. I add to end of hmi.ini [BDTR] INTEGRITY_PERIOD=0 then restarted webserver. But timeout not changed
in c:\oshmi\conf\hmi.ini Add [BDTR] INTEGRITY_PERIOD=100 timeout will be this time in seconds plus 60s
in c:\oshmi\conf\hmi.ini Add [BDTR] INTEGRITY_PERIOD=100
in c:\oshmi\conf\hmi.ini Add [BDTR} INTEGRITY_PERIOD=100
can i change this timeout?
It will indicate failure after 5min without scan updates to a point.
I work with modbus simulator. Why if i turn off simulator - webserver not generate failed status of signals? I only reached failed status if i started webserver without worked modbus simulator
I work with modbus simulator. Why if i turn off simulator - webserver not generate failed status of signals? I only reach failed status if i started webserver without worked modbus simulator
I work with modbus simulator. Why if i turn off simulator - webserver not generate failed status of signals? I only cope failed status if i started webserver without worked modbus simulator
Yes, connect the color tab animation of the object you want to animate and test for the "f" value. Create a semi-transparent pattern, put it over measurement. Create this scheme in the color tab of object properties. Replace 123 by your tag name or point number. tag limit color 123 -99999 none 123 f gray Or tag limit color 123 -99999 script: thisobj.style.display='' 123 f script: thisobj.style.display='none'
Yes, connect the color tab animation of the object you want to animate and test for the "f" value. Create a semi-transparent pattern, put it over measurement. Create this scheme in the color tab of object properties. Replace 123 by your tag name or point number. tag limit color 123 -99999 none 123 f gray Or tag limit color 123 -99999 script: thisobj.style.display='' 123 f script: thisobj.style.display='none'
OSHMI address is different from modbus address, the driver will translate them, this is the way it works. Each OSHMI's protocol driver has some scheme of address translation.
If webserver cannot connect to signal source, can it change visualisation on scada as at picture, or another way?
If webserver cannot connect to signal source, can it change visualisation on scada as at pictur,e or another way?
OK thank you! But i think this is not good idea - dont have real modbus addres of signal in point_list.
OK thank you!
Please give me a sample how to configure OSHMI address in sequence.
how?
Use OSHMI address in sequence. Modbus addresses will jump by 2 as OSHMI addresses will jump by 1.
https://i.imgur.com/Rwo7SJD.png
Ricardo, this is your screenshot Would you please show screen of webserver window with Input1 Input3 and Input5. And if you will see them all, please send me your point_list for this example, because i cannot see them all in my webserver
I think in webserver you will see only 2 values of 3