Technical Forum

SIMATIC WinCC

How to use check box in WinCC V7.0

Thread Starter: Import-User-1   Started: 8/2/2010 8:14 AM   Replies: 3

« Previous thread Next thread »
Page 1 of 1 (4 items)
  8/2/2010, 8:14 AM
Joined 8/10/2005
Last visit: 11/18/2014
Posts: 3418
Rating:
Rated: Outstanding [3.22 out of 5 / rated 18 time(s)]. (18) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Import of a Technical Question of an User

Dear All,

                 In wincc 7.0 i have to use check box for the following application.

                12 number rtd value available in tag but customer has to select few number only that value we have to sum and send to pid pv input.send the sample code and use of checkbox or any oter way configure.

Top
  8/2/2010, 3:30 PM
Joined 11/19/2009
Last visit: 3/10/2011
Posts: 79
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi,

       please send me the checkbox c script .samplecry
Top
  8/4/2010, 9:16 AM
Joined 1/4/2010
Last visit: 2/4/2014
Posts: 649
Rating:
Rated: Outstanding [3.93 out of 5 / rated 30 time(s)]. (30) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi

I don't understand your problem or what exactly do you want do do.
You can set the checkbox like this:
SetPropWord(lpszPictureName,"CheckBox1","Process",3); 
Instead of the 3 you can put a tag value also.

On the checkbox you can put your tag too....

You can read it like this:
GetPropWord(lpszPictureName,"CheckBox1","Process");

Regards
Romulus

Please give me answer if it works or if i can help you again.
Sorry if my english isn't so comfortable.
Top
  8/4/2010, 2:34 PM
Joined 11/19/2009
Last visit: 3/10/2011
Posts: 79
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Dear Romulus,

                          i attached what i need exactly.i have to do with checkbox

                          12 number of selection box i configured and will select 4 means in tag i have to get 4 value. i selected 8 means hmi runtime tag will get 8 value.like that howmany number will select according to will get value.

                           for above mentioned application how to write script explain me .send the script

                       

Attachment: NewPdl0.pdf  (239 Downloads)

Top
Page 1 of 1 (4 items)
Actions