Red Lion Crimson programming syntax

bigpercy

Member
Join Date
Oct 2016
Location
SW England
Posts
2
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

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
107
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
677
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,122
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,018
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,673
Back
Top Bottom