Graphite® 15" Modular HMI programs in background seem to hang

secs

Member
Join Date
Aug 2015
Location
Office
Posts
65
Hi all.

Using a Red Lion Graphite® 15" Modular HMI and crimson 3 I have a few programs run in the background.

The last one I added gets called when a value from a remote plc changes. After I added this one randomly the system seems to hang. The display still updates EXCEPT for values that are calculated by some of the background programs.

Some are called by triggers, some are by page ticks etc.

The hang can take days to happen so I am fairly certain the code is correct. My thoughts are that one or 2 programs are being called at the same time but not really sure.

So I was toying with calling one program that calls the rest in sequence etc but am open to others inputs on their experiences.

Regards, Peter
 
Couple questions, what are the execution tasks and external data settings for these programs?

Right off-hand, unless there's something that needs to be done immediately, I utilize the background threads to do the background work, and stagger the assigned threads to spread out the workload and avoid collisions.
 
Thanks Eppy.

Can you explain your question

"what are the execution tasks and external data settings for these programs?"

But I am very interested in your comment about

"I utilize the background threads to do the background work, and stagger the assigned threads to spread out the workload and avoid collisions."

Most of the stuff can be done in the background and not have to be done instantly. A couple of the programs simply are used to calculate averages etc over 20 readings and as such, could be staggered. How do you achieve this as I think that will solve my issues

Peter

OK did a search on Goole. Found it on the properties tab
 
Last edited:
Yeah so there are 4 execution tasks, the one always running (GUI task) and 3 background ones. You can execute things asynchronously in the background using those 3. The external data setting governs how the Graphite handles obtaining external data. Crimson is very good in the sense that you can hit F1 when you have something selected and it'll bring up the help tooltip. Just do that for execution task and external data in the properties tab and it'll explain things.
 

Similar Topics

I've used AOI and User Defined Data Types, but I haven't created one yet. I have a lot of repetitive MOV commands to take a select number of...
Replies
4
Views
387
Hi all, First post on here. I'm an automation engineer and I have plenty of experience with Allen Bradley, Siemens and Fanuc etc. Constantly...
Replies
4
Views
2,965
I don't normally ask for help but this one has me stumped. We are designing a machine with 4 stations each have a 24 pin connector with 6 inputs...
Replies
3
Views
1,766
All, I am looking for some modular PB boxes that I can screw a cable in to hang in on the fence and call it a day. Fortress interlocks makes some...
Replies
4
Views
2,275
Dear sirs I'm using Red Lion products and now I have 2 problems to ask you here. 1) I use CSMSTRLE as a protocol converter [Modbus RTU to...
Replies
0
Views
1,286
Back
Top Bottom