CITECT - Select Tags at Runtime

Join Date
Jun 2007
Location
uk
Posts
1,538
Hey, does anybody know of a function within Citect where at runtime you can have a user select a Tag from the database ?

Essentially what i need to do is let the user select multiple tags and then somehow add these together to display a total based on the tags selected ?

I know it sounds simple but its proving to be a little tricky, any ideas would be great
 
There is a cicode function to allow a user to select a tag. Not sure what it is at the moment, if no-one else comes in with the answer, I will tomorrow. Or you could do a search on the help, I think it is under miscellaneous functions
 
Cheers, unless i am being incredibly dumb i cant find any reference to the function, if you can remember it that would be great
 
The function you're looking for is called TagDebug. I don't know if you can use it in runtime. I believe you've got to have access to the kernel function to use it.

Kind regards,
 
Thanks, i know about tag debug but that is what it says, a tag debugging tool, it does not allow me to pass the value onto a runtime screen
 
With TagDebug you can both read from and write to any configured variable tag. Looking at the online help, it seems you don't need Kernel functionality to use it, contrary to what I've said before.

Kind regards,
 

Similar Topics

Hello, I have a running project on Citect v5.42 and simatic net v6.4 I have created a new spare PC and loaded all software like Citect, station...
Replies
0
Views
68
Hello everyone, In a factory where we installed Citect 7.20 the computer began to show the first signs of end of life. They never considered...
Replies
0
Views
73
I have a running backup of Citect and plc and I want to make a spare PC station so I have installed the win XP and somatic net v6.0 and import the...
Replies
3
Views
121
I am trying to display a variable within a cicode function onto a graphics page. This function queries a SQL database. I can get the value onto a...
Replies
3
Views
287
Looking for some help with the connection issue between Citect 2018 and Top Server v6 for Opto22. I’m setting all this up to communicate with some...
Replies
0
Views
119
Back
Top Bottom