Sign in to follow this  
Followers 0
mostafa

Problem about a syntax in genie

6 posts in this topic

Hi my dear friends i work with citect scada and in inside of a genie object i want to write a instruction for instant %tag%<10 until now i don not have any problem but the problem has started when i want to write %Tag%<%Alarm% one of the error says "incompatible types" and another says "operand expected". where is my problem?

Share this post


Link to post
Share on other sites
I think you will find your tag substitutions will be different data types, what data type is the tag substituted to %tag% and what tag data type is substituted to %alarm% ?? If one is an INT and one is a REAL for example you will get this error. You would have to do a type conversion like inttoreal(%tag%)

Share this post


Link to post
Share on other sites
both of them are integer,but one of them is variable tag and another is local tag.

Share this post


Link to post
Share on other sites
Did you update pages after modifying the genie? >graphics builder/ tools / update pages

Share this post


Link to post
Share on other sites
this is the picture of my page that i have written for it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0