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

[BugWrong] Configuration in Modbus Transport not keeped after restart


Автор Повідомлення
Повідомлення створено: 28. 02. 2017 [11:41]
jturello
julien turello
Автор теми
Зареєстрован(а) с: 28.02.2017
Повідомлення: 2
Hello,

I'm using openscada for a while now (and pretty happy with it :) ) , I'm using it mainly to do Modbus data acquisition and store the results in a PostgreSQL DB.

Recently I had to expose some modbus point to a modbus tcp client, which I did using the Modbus transport section (see the attached screenshot).
Its working well, but I can't make the configuration permanent, even if I save the config, after each reboot I have to Recreate the data lines in the node (lines 4 and 5 in the screenshot).

The weird thing is that my little javascript like programm is keeped after reboot, this is only the "data" section that is missing.

Can someone helps?

Thanks!
Вкладений файл

modbus.png (Тип файлу: image/png, Розмір: 63.88 кілобайтів) — 1797 завантажень
Повідомлення створено: 28. 02. 2017 [12:19]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3747
"jturello" wrote:

Recently I had to expose some modbus point to a modbus tcp client, which I did using the Modbus transport section (see the attached screenshot).
Its working well, but I can't make the configuration permanent, even if I save the config, after each reboot I have to Recreate the data lines in the node (lines 4 and 5 in the screenshot).

Very likely you store the ModBus node into two DBs then you saving its to first and it loads from second.
And I have not that problem.

Then the bug report is wrong!

Learn, learn and learn better than work, work and work.
Повідомлення створено: 28. 02. 2017 [14:41]
jturello
julien turello
Автор теми
Зареєстрован(а) с: 28.02.2017
Повідомлення: 2
I double checked and all the configuration is stored in the SQLite DB.PostgreSQL is only use for archives.

So the modbus_node part is stored in only one db: SQLite. Please take a look at the attached pictures.

What could be wrong then?

Thanks!
Вкладений файл

openscada_db.png (Тип файлу: image/png, Розмір: 100.56 кілобайтів) — 1733 завантажень
openscada_modbus_node.png (Тип файлу: image/png, Розмір: 103.54 кілобайтів) — 1756 завантажень
Повідомлення створено: 28. 02. 2017 [19:29]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3747
"jturello" wrote:

What could be wrong then?

You are wrong in your configuration but you were changed the work/default folder of OpenSCADA instance and you have get the successful loading at the start but after changing the work/default folder the loaded DB is not allowable more then you cannot save to it.

And more, you are using an old OpenSCADA version for which I won't respond here at all!

I told you, that isn't a bug then you are not allowed in the bug tracker for any question, to further!

Learn, learn and learn better than work, work and work.



11251