Red Lion Programming

tespoors

Member
Join Date
Feb 2016
Location
Ohio
Posts
14
Any thoughts on how I could get rid of all the individual pages and just have one page that shows all tools that are going to expire as well as how many cycles and minutes. Even if it was only one page per machine it would be better than having so many pages.
 
Last edited:
Use arrays. I only looked at two tags: ToolChangeTime and ToolChangeCountdown.

Both of those tags could be accesses as array tags. It looks like you are using 12 elements in order from [MCP.E2_10477] for ToolChangeTime for each Kitamura and same holds true for the countdwon tag. The first element is for Kitamura #12, and the last for Kitamura #11.

I made an example to get you started. I didn't follow through on the rest of the tags to see if they are orderly, and there are numerous ways to use one screen to and populate the indices of the array tags. For the example, I just stuck some arrow buttons on there. I made a new tag folder called pec and a new screen that I put as the home screen (top of the list). I made internal tags to store the names of the Kitamuras and added a startup program to define them. I made internal tags for storing the presently displayed elements. I only looked at a couple of your original pages and it looks like the same tags are being displayed for multiple different pages. I will leave it to you to understand the way the data is really laid out and to just take my example as a jumping off point. Be very careful using arrays with writable tags.

I am using build 694 of Crimson, by the way.

Paul
 

Similar Topics

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...
Replies
2
Views
1,551
Can anyone see what is wrong with this program? every time it gets to the Cell2 page it doesn't scroll any further. The goal is to have it switch...
Replies
2
Views
1,464
I am pretty new to Red Lion and Crimson and I am trying to figure out a way that I can change the screen and Display a message based on the Inputs...
Replies
3
Views
1,425
I am working on learning more about programming, and am having to try and teach what i know to new hires in our maintenance department. In order...
Replies
9
Views
5,732
hi, we have a piece of C like programming written by an ex-employee. I am trying to get it to operate but with no luck. Could anybody look...
Replies
6
Views
2,828
Back
Top Bottom