Red Lion Crimson HMI Tag

Psapkota

Member
Join Date
Jan 2021
Location
Texas
Posts
8
Hi.
I have a tag and I have assigned that tag to the bevel button. When that button is pressed, I want it to display Start and when it's not pressed I want it to display stop. The tag is for start which is from Allen Bradley.
Basically I want to display two texts for the single button.
How do I perform this in crimson 3.1?
Thank you.
 
In the attached, look at Tag Data first, this is where you define the Tag, mine is a Word but it works just the same for a Bool. Then for the Tag Format set it as Two State and enter the Texts you want to use. The Data for the button is the Tag name.

Tag Data.JPG Tag Format.JPG Button Data.JPG
 
Thank you so much for the reply. I did exactly the same thing. I did first two steps- created tag data and tag format but confused about third step. My concern is the bevel button I am using is NO push button. In your 'button data' you have assigned the tag name to the data value. I am confused I should assign the tag name to the data value or action details or both. Also, I cannot see the data value tab in my bevel or graduated button. I only see the data tab in the data box button.
 
Thank you so much for the reply. I did exactly the same thing. I did first two steps- created tag data and tag format but confused about third step. My concern is the bevel button I am using is NO push button. In your 'button data' you have assigned the tag name to the data value. I am confused I should assign the tag name to the data value or action details or both.

It can be both, but often your action might be a momentary button to start a process, and the displayed state of the button might be the actual status of the process (running motor boolean tag, or a step number from a sequence of operations). In the latter case, you would use a different tag for the button text or value which does not exist by default if you just dragged a primitive bevel button on the screen.

Also, I cannot see the data value tab in my bevel or graduated button. I only see the data tab in the data box button.

Right click on the object and "Add Text" or "Add Data". Then you will have a Text or Data tab in its properties. If you use Text, on the Text tab, put your tagname followed by .AsText in the field. If you used "Add Data", you can drag and drop your tag onto the Data Source value field.

The appearance of the button will take on the text from the tag format (as long as you leave the default tickbox checked for Get From Tag > Format). What this means is if the tag is formatted as multi-state or two-state, the value displayed will be the text assigned to those tag states.

Crimson unlike many other HMI editors lets you do much of your design at the tag level. Your objects can take on properties from the tag including formats and colors.

Since you picked a NO Momentary type of operation, and if you use that same tag for the data, bear in mind that the state of the button (data or text) will be shown based on that value, which might be quite temporary. If you really need this tag to be momentary, be sure to include a hold time in milliseconds. What this does, is add a delay to ensure that a rapid press of the button will allow time for the communication cycle with the PLC to occur before the HMI writes a zero back to that tag.
 
Last edited:
To learn, it might be best to also download Crimson 3.0, the big advantage is that it has a simulator. You can try all this stuff with local variables, simulate it, and once you are happy transfer that knowledge to your main project.
 

Similar Topics

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
105
Hi, I am trying to increase the size of the user login pop up using a Red Lion CR1000 7” HMI with Crimson 3.1 software. The login pop up is very...
Replies
2
Views
668
Hello, We are currently running a bunch of g310's connected to their SLC5 PLCs through ethernet. I've attempted to upgrade the program from 2.0...
Replies
1
Views
1,119
Hi I have been using Red Lion products for some time, I had a thought over the bank holiday weekend, As you do. It would be nice if whenever a...
Replies
4
Views
1,015
Well, I have yet another question for the great minds on this forum! We have a red lion HMI for one of our machines and every time I hook my...
Replies
11
Views
1,669
Back
Top Bottom