CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Dec 11, 2018 1:14 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Webvisu dialog template
PostPosted: Tue Nov 13, 2018 2:15 pm 
Offline

Joined: Thu Mar 30, 2017 12:13 pm
Posts: 24
Hello dear readers,

I'm still learning WebVisu stuff, it's so interesting, but I'll be needing some "universal" popup box which gets and sets variables for that situation/application.

Say, I'm having a house with multiple rooms. All rooms have Temperature, Co2 and humidity as status (shown) and as setpoint for the room Climate controller (writable).
I don't like ending up with 10 identical pages where only the Climate variables are different.

Is there a was to access application variable
- as index like in Climate.Room[i].Rh = 'OnClickAction' and textvariable Climate.Room[i].Rh
- or via a pointer ptrRoom =ADR(Climate.Room[1])

and use this reference in the objects "text variables" for display and as (onclick/dialog) writeback as well?

Best regards,


Top
   
PostPosted: Tue Nov 20, 2018 9:00 am 
Offline

Joined: Thu Aug 30, 2018 8:40 am
Posts: 32
Hello sir,

you may wanna take a look at this example (https://store.codesys.com/visu-dialog-st.html).
There are a few example applications including the DialogVarInOut, which seems to fit your requirements!

Best regards,
Marcel


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited