Switch to desktop version  
Change Ewon parameters from a viewon page - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Custom Web Pages/viewON/Talk2M Visualization (https://techforum.ewon.biz/forum-55.html)
+--- Thread: Change Ewon parameters from a viewon page (/thread-1280.html)



Change Ewon parameters from a viewon page - simon - 29-04-2020

Hi,

I got the question how to change a parameter of the Ewon from a viewON page, like for instance, the Logging interval of a Tag.

For this, I have used a Text object on which I have associated a "Text" animation to read the current parameter value
  animation.png (Size: 82,39 KB / Downloads: 59)

and a "send measure" action to change it : 
  action.png (Size: 91,51 KB / Downloads: 48)

In these animation and action, I have put some BASIC script that will be executed on the Ewon side.  The "viewon!" parameter is a static parameter that defines the returned value to the viewon page. ("Tag1" in the script is the name of the Tag that is modified)

Simon


RE: Change Ewon parameters from a viewon page - driss - 29-04-2020

(29-04-2020, 01:54 PM)simon Wrote: Hi,

I got the question how to change a parameter of the Ewon from a viewON page, like for instance, the Logging interval of a Tag.

For this, I have used a Text object on which I have associated a "Text" animation to read the current parameter value

and a "send measure" action to change it : 

In these animation and action, I have put some BASIC script that will be executed on the Ewon side.  The "viewon!" parameter is a static parameter that defines the returned value to the viewon page.  ("Tag1" in the script is the name of the Tag that is modified)

Simon
Many thanks .)


Command input plc from ewon - driss - 02-06-2020

Hi Simon ,

I hope you're well , i need your help again !!!
so i have two questions :

1) can i create two admin in ecatcher for the same account , for example  i need first account for the oprator (see viewon page dedicated for him ) and the second account for the adminastrator ( with also viewon pages with more de datails)
2) it's possible to create a tag from flexy to command an input plc schneider with modbus (like button start pump) or i need a digital output cabling physically.

Thanks


RE: Change Ewon parameters from a viewon page - simon - 02-06-2020

Hi,

No problem.

1. Yes you can create two or more admins in eCatcher. However the eCatcher users are not the ones used in the viewon application. Indeed, the ones used are the Ewon users. In the Ewon, you can create two users having different viewon user rights.

2.Of course you can do that. Just read this : https://www.ewon.biz/technical-support/pages/data-acquisition/modbus

Simon


RE: Change Ewon parameters from a viewon page - driss - 02-06-2020

(02-06-2020, 01:46 PM)simon Wrote: Hi,

No problem.

1. Yes you can create two or more admins in eCatcher. However the eCatcher users are not the ones used in the viewon application.  Indeed, the ones used are the Ewon users.  In the Ewon, you can create two users having different viewon user rights.

2.Of course you can do that.  Just read this : https://www.ewon.biz/technical-support/pages/data-acquisition/modbus

Simon
Can you explain me please how can i do that .
thanks


RE: Change Ewon parameters from a viewon page - driss - 03-06-2020

(02-06-2020, 02:23 PM)driss Wrote: I understood your answer, I think I have explained my question poorly:
what I want in the viewon, I create an additional page only educated to the administrator with password,  for example:
I have 4 pages of viewon, the first three for the operator and the 4 is for the administrator, an authentication is required to access it.
I hope i'm clear .
Thanks

(02-06-2020, 01:46 PM)simon Wrote: Hi,

No problem.

1. Yes you can create two or more admins in eCatcher. However the eCatcher users are not the ones used in the viewon application.  Indeed, the ones used are the Ewon users.  In the Ewon, you can create two users having different viewon user rights.

2.Of course you can do that.  Just read this : https://www.ewon.biz/technical-support/pages/data-acquisition/modbus

Simon
Can you explain me please how can i do that .
thanks



RE: Change Ewon parameters from a viewon page - simon - 04-06-2020

Hi,

Yes, you can create view for the administrator and one for the user in viewon.
For this you have to
- Create a guest user in your Ewon
- Set the users rights in viewon (Project --> User management)
- Click the "Admin" views background --> Access Tab and select Administrators only.
- Click the "Guest" views background --> Access Tab and select "viewer, operators and admin"

The only thing is that if the logged guest user access the admin view, there won't be any popup to login again. He will simply see a white screen.
So what I suggest is to create a "Main/Index" view with a "guest view" button and a "admin view" button