Crimson 3.0 Quick Help

69sixpackbee

Member
Join Date
Dec 2011
Location
California
Posts
5
Hello, I am trying to illuminate an indicator on my G310 HMI using Complex Code in the control status portion of the illuminator I chose.
I am using an overtemp condition to do this.
How would I write this?
I am new to the C language and this is going to be a daunting task for me but I have to try.
Thanx,
Bud
 
You only mentioned one tag, so I'm not sure why you would need complex code. If you are wanting the indicator to illuminate opposite of the tag state, you can use the general assignment for the data with a "not" operator in front of your tag. I'm not in front of my computer, but I think it would be
!tag1. But I might be thinking of another language.
 
If your overtemp condition is coming from a temperature (numeric tag) variable, then your complex code might be as simple as:

return FromPLC_Temp > 80;

zip and post your cd3 file if your allowed, or give more details, or screenshots...

Paul
 

Similar Topics

unless I missed it, the quick plot function in crimson 3 is'nt documente yet. Want to see if any of the red lion guy's, or if anyone who has a...
Replies
1
Views
2,453
Hey guys, hoping someone here could give me a little advice. I'm working with a CR1000-04000 in Crimson 3.1 and I was interested in adding the...
Replies
4
Views
124
Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
5
Views
257
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
109
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
99
Back
Top Bottom