EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

[BugWrong] Configuration in Modbus Transport not keeped after restart


Author Message
Written on: 28. 02. 2017 [11:41]
jturello
julien turello
Topic creator
registered since: 28.02.2017
Posts: 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!
Attachment

modbus.png (File type: image/png, Size: 63.88 kilobytes) — 1689 downloads
Written on: 28. 02. 2017 [12:19]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 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.
Written on: 28. 02. 2017 [14:41]
jturello
julien turello
Topic creator
registered since: 28.02.2017
Posts: 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!
Attachment

openscada_db.png (File type: image/png, Size: 100.56 kilobytes) — 1629 downloads
openscada_modbus_node.png (File type: image/png, Size: 103.54 kilobytes) — 1655 downloads
Written on: 28. 02. 2017 [19:29]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 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.



5370