УкраїнськаEnglishmRussian
Вхід/Новий
У темі немає нових постів

OpenScada user data storage qustion


Автор Повідомлення
Повідомлення створено: 12. 11. 2023 [13:49]
jurdome
Jurgen Meyer
Автор теми
Зареєстрован(а) с: 27.10.2023
Повідомлення: 4
in Openscada what is the recommended way to store user settings? To put it simple - need to keep record of user entered Temeterature setpoint so that when power fails and system reboots same value could be retrieved and used again.
I think it could be done by creating TemplateLib java function to read/write some file on disk, or is there any other/better way to acheive this?
Повідомлення створено: 12. 11. 2023 [14:39]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
"jurdome" wrote:

in Openscada what is the recommended way to store user settings? To put it simple - need to keep record of user entered Temeterature setpoint so that when power fails and system reboots same value could be retrieved and used again.

Parameters like to SP are stored not in SCADA but in PLC, which implements such regulators, obviously.
If this regulator is builtin to OpenSCADA like to simulators-models, then all its data is stored in the simulator storage — http://oscada.org/wiki/Special:MyLanguage/Using/Model_AGLKS

And read FAQ about that — http://oscada.org/wiki/Documents/FAQ#Physical_and_logical-virtual_data_acquisition

Learn, learn and learn better than work, work and work.
Повідомлення створено: 12. 11. 2023 [21:22]
jurdome
Jurgen Meyer
Автор теми
Зареєстрован(а) с: 27.10.2023
Повідомлення: 4
Thanks for answer. Yes, decision making and storage is job of PLC, but this SCADA is so powerful that it can easily do that work also. I think I will make a separate RS485 module with microcontroller and EEPROM to store some parameters while decion making still assign to SCADA. Thanks a lot



6898