Citect Genie Limitations

deca

Member
Join Date
Nov 2009
Location
Where ever my feet take me
Posts
3
When assigning Arguments to to the Asspopup">>>" to call a super genie I notice the touch up and down inputs have a limit on the number of characters you can type. This is limiting the number of tags I can link, I'm using the AssVarTags">>>" to assign after the first 8 tags but have run out of typing room.

I tried writing a cicode function to attack strings and use the tag read write, write was ok, but the read didn't seem to have a way of controlling the refresh rate and was not updating. I put a button to see if the value was being read ok and it was. so Figure it is a super genie thing.

Any suggestions on how to get round this would be appreciated.
 
When assigning Arguments to to the Asspopup">>>" to call a super genie I notice the touch up and down inputs have a limit on the number of characters you can type. This is limiting the number of tags I can link, I'm using the AssVarTags">>>" to assign after the first 8 tags but have run out of typing room.

I tried writing a cicode function to attack strings and use the tag read write, write was ok, but the read didn't seem to have a way of controlling the refresh rate and was not updating. I put a button to see if the value was being read ok and it was. so Figure it is a super genie thing.

Any suggestions on how to get round this would be appreciated.

im sorry , i dont understand your problem. What is this 'run out of typing room' problem? There is no limit on the amount of code on a single line that i know of. You can even put code on multiple lines as long as you only put the semi-colon at the end of the code line.
 
use the "touch up and down inputs" to call a function, then in the function you have no limits ..
eg. Use "up" to call "MySupergenie()" , if all the tags that you intend to use share part of their name you can include this in the function call like MySupergenie("DEVICE") then write your function in a cicode library file
FUNCTION
MySupergenie(STRING sTag)

AssvarTags(-2,0,sTag+"START",sTag+"START",,,,,,,)

WinNewAt(..)

This would make the first association to a tag called "DEVICESTART" and the second to "DEVICESTOP".
 

Similar Topics

I am trying to import a genie from an old project to new project, but I cannot do it and didnt find any answers yet on Google. Can anyone help me...
Replies
0
Views
745
hello everyone .. i found many projects in citect programs that have SuperGenie hidden for copyright or project's protection , so anyone help how...
Replies
0
Views
1,183
Hi all, I am very new to Citect, and trying to make my own Genie. What I have done: Create my object and assign function -> On when "...
Replies
3
Views
2,337
Hi, I'm fairly new to Citect Scada and am currently working on a little fun project that goes alone nicely with my PLC program. When I have a...
Replies
1
Views
2,435
Hi All, I am trying to pass a variable from Genie to Supergenie. I created a supergenie page with a whole lot of texts, custom genies and numeric...
Replies
4
Views
2,807
Back
Top Bottom