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

Link modbus variables in UI


Author Message
Written on: 21. 01. 2011 [12:14]
Silav
Andrea Pomello
Topic creator
registered since: 20.01.2011
Posts: 5
Good morning,
I'm trying Openscada that seems a really pretty good project!

I've tried the demo and added a modbus controller and variables, I can communicate with the plc but in user interface I can't link the var to the widget.

I mean in propreties tab Links pVal prm:/LogicLev/nameofcontroller/nameofgroup/nameofvar works, prm:/ModBUS/nameofcontroller/nameofgroup/nameofvar don't work.
I noted that the LogicLev in the path differ from Logic Level in the real path of the va.r

Can you kindly please explain the sintax to use to link the var in UI?
Is there a way to make a direct link to modbus var without passingt trough the logic level?

Thanks in advance, kindly regards.

[This article was edited 1 times, at last 21.01.2011 at 12:16.]
Written on: 21. 01. 2011 [13:10]
Maxim
Maxim Lisenko
Contributor
registered since: 18.08.2008
Posts: 141
Hello! Did you read the http://wiki.oscada.org/HomePageEn/Doc/QuickStart ? If you don't, please, read this document,
Probably, you have some mistake in the path to the variable.
"Silav" wrote:

Is there a way to make a direct link to modbus var without passingt trough the logic level?

Yes, it is. You can double-click on the pVal line in the Links tab and you'll see the combo-box, where you can select the path to the desired element.
This path in the pVal field works with the run testTCP modbus controller :
prm:/ModBus/testTCP/test/reg1
Written on: 21. 01. 2011 [17:19]
Silav
Andrea Pomello
Topic creator
registered since: 20.01.2011
Posts: 5
Thank you very much for the help! the combo-box do the trick.
Now I've got it working!

Next stage I've tried is to use Form element: Button, I can see the status change from pushed or not but can't set the value when push it. This in the runtime from web interface, in the runtime on the pc work correctly. I've enabled the value in process tab, make it checkable and config as Full link.

Another question is if I create a new element in runtime in the web interface is disabled I can't edit it, if I use a element from the demo this one work. Is there a security check that should be set?

Just the last question for the combo box element, the items aren't the values? because the value link is set correctly but no value change happen when I select an item.

kindly regards.
Written on: 21. 01. 2011 [18:20]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"Silav" wrote:

Next stage I've tried is to use Form element: Button, I can see the status change from pushed or not but can't set the value when push it. This in the runtime from web interface, in the runtime on the pc work correctly. I've enabled the value in process tab, make it checkable and config as Full link.

Any processing only in runtime. Events here: http://wiki.oscada.org/HomePageEn/Doc/VCAEngine?v=1b6o#h887-9

"Silav" wrote:

Another question is if I create a new element in runtime in the web interface is disabled I can't edit it, if I use a element from the demo this one work. Is there a security check that should be set?

In runtime for each other Vision and WebVision and equal users that is must be equal.

"Silav" wrote:

Just the last question for the combo box element, the items aren't the values? because the value link is set correctly but no value change happen when I select an item.

I have not like problem.

Learn, learn and learn better than work, work and work.
Written on: 21. 01. 2011 [18:44]
Silav
Andrea Pomello
Topic creator
registered since: 20.01.2011
Posts: 5
I've made other tests, the checkbox answer correctly in web interface and runtime.

I've tried make 3 button in Input link, output link and full link, in runtime they work
.
I've put the same variable on checkbox and 3 button, if I push the check box the input and full link buttons they change as the check box.
If I push Output link button or the full link button nothing change on the checkbox and on the variable value.
This happens only from the web interface, on runtime work.
Where I'am wrong? what should I set?

Thanks, kindly regards
Written on: 21. 01. 2011 [19:38]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"Silav" wrote:

If I push Output link button or the full link button nothing change on the checkbox and on the variable value.
This happens only from the web interface, on runtime work.
Where I'am wrong? what should I set?

What your browser? What your user?
For me, on Google Chrome, link at checkbox work.
And to further use demo's test pages for any problems represent. Else your question will been not heard.

Learn, learn and learn better than work, work and work.
Written on: 22. 01. 2011 [12:15]
Silav
Andrea Pomello
Topic creator
registered since: 20.01.2011
Posts: 5
Thanks for your answer, sorry for the lack of information.

I've installed openscada on a debian stable, I'm accessing the web interface from Firefox and Safari.
I'm using the demo project and the element forms that are already in pages(only put in the value link) and user roman.

Checkbox work everywhere, Button instead read the variable status change but can't set the change, only in web interface, in runtime everything works.

monday will try also google chrome, thanks.





Written on: 23. 01. 2011 [10:24]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"Silav" wrote:

Checkbox work everywhere, Button instead read the variable status change but can't set the change, only in web interface, in runtime everything works.

For toggled button this is real bug. And for work version I have fixed it.

Learn, learn and learn better than work, work and work.
Written on: 24. 01. 2011 [09:38]
Silav
Andrea Pomello
Topic creator
registered since: 20.01.2011
Posts: 5
Work version means next release, or is already available?

Can I ask you if and how is possible launch only the runtime at boot time?

Is there a way to make a read only system because we need a system that could go down without a regoular process.
Written on: 24. 01. 2011 [12:28]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"Silav" wrote:

Work version means next release, or is already available?

This mean SVN-snapshot of source code tree of OpenSCADA for work and stable version: http://oscada.org/en/download

"Silav" wrote:

Can I ask you if and how is possible launch only the runtime at boot time?

http://wiki.oscada.org/HomePageEn/Doc/Vision?v=rij#h888-16

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



4201