Українська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 килобайт) — 1689 загрузок
Сообщение создано: 28. 02. 2017 [12:19]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3742
"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 килобайт) — 1629 загрузок
openscada_modbus_node.png (Тип файла: image/png, Размер: 103.54 килобайт) — 1657 загрузок
Сообщение создано: 28. 02. 2017 [19:29]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3742
"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.



0637