Citect Nested Super Genies

woolie161

Lifetime Supporting Member
Join Date
Aug 2012
Location
Eltham
Posts
73
Hi All,
I am a regular visitor to the forum, but not often get involved.
I am using Citect 7.5 (2015) and I am having trouble nesting 2 super genies
Is it possible to determine the Tag Name (not value) that is used within a supergenie?
I am trying to call a super genie from within a super genie, but I believe I need to know the tag name used in the 1st super genie so I can pass it to the 2nd (nested) super genie.
i.e. The 1st super genie is populated by "%Tag%_AutoON" and "%Tag%_SpeedSP" where %tag% = Pump1 or Pump2 etc.
I then want to configure an input on "%Tag%_SpeedSP" to call a 2nd super genie (number pad) but I need the know if the Tag used in the original super genie.

I am hoping one of the "experts" from this forum may help

Thank

Woolie161
 
Super genie Literal String parsing

I just found 2 year old question without an answer, so thought I would answer it for the record.

Parse a literal string to the super genie by enclosing in 'single quotes'.

Example from the question calling a pump
AssVarTags(-2,0,"'"%Tag%"'", "%Tag%_AutoON", "%Tag%_SpeedSP")

So in the Supergenie, to access the pump tag name, use ?STRING 1?
?2? and ?3? will use the tags 2 and 3 as normal.
 
String in Super Genie

Hey There TheFatController,
Thanks for picking up on my unanswered question about Citect Super Genies. Although that project is over, I shall note your answer for the next time I need it. FYI, I did figure out an inconvenient method (manually adding the equipment tag name above the genie) to get around my issue.
Again thanks for taking the time to reply and for sharing your knowledge.
Woolie161
 

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
66
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
118
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
274
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
116
Back
Top Bottom