Red Lion Crimson programming syntax

Hi,


I have a Red Lion E3 io counting output from weld cells, connected to a PTV station for the visuals. Our number of weld cells is set to increase so I have decided to start afresh rather than add more to current program.


In old program, a list of parts was maintained per weld cell, linked to a program which wrote settings to tags regarding run speeds and targets. I would like to only use a single list accessible by all cells.


On the main display, each cell has a button to the settings page, which assigns a sting tag with corresponding value ie CellSelect = "Cell1" if cell 1 button is pressed. Tag PartIndexList is used to choose the part to be made and I want it to set multiple tag values within the 'Cell1' directory.


What I was hoping to do was to have a program linking PartIndexList value to settings in all cells directories using the output of CellSelect in the path to the tags i wanted to change.


ie



cell = CellSelect.AsText

if (PartIndexList == 1){
cell.ShiftTarget=100;
cell.Partnumber=23453345;}


or some variation of this theme, but I just cannot get anything to work. Please help
 
If you can share your Crimson file, it will make it a lot easier to follow your description and offer solutions.

To do that, you will need to zip the file first, and go to the advanced reply page to add the compressed file as an attachment.

Welcome to the forum!
 

Similar Topics

Hello there, I have a Red Lion panel meter PM50D without any additional modules. I have downloaded Crimson 3.2 and even though I can get into the...
9
Replies
1,300
Views
Is there a way to monitor communications inside a red lion DA10D protocol converter? I have a Allen Bradley PLC with ethernet that the Red Lion is...
3
Replies
1,680
Views
Title sums it up. I have a customer with an old, failing G306 HMI. I have a copy of the program on it. Customer wants to replace it with a CR3000...
4
Replies
1,311
Views
Hello, I am working in Crimson 3.2 programming a red lion DA50. I am pulling data from a GE PLC in the field. This is for a fuel farm operation, I...
6
Replies
1,841
Views
Created a widget for a valve with folder binding which displays open/close status. I want to allow operator to click on the valve which should...
4
Replies
1,172
Views
Top