Heartbeat from Red Lion HMI to PLC

RonJohn

Lifetime Supporting Member
Join Date
Jul 2013
Location
NE Ohio
Posts
535
Good morning all. I have a DINT based "heartbeat" signal generated from my CompactLogix PLC that is read by my Red Lion G3 series HMI and then returned to the PLC. The PLC then looks for the change in heartbeat from the HMI to verify comms are valid and generate an alarm for comm loss.

This works, but I've noticed that the update rate changes drastically depending on which screen I'm on. On some screens the PLC saw a change every 0.200s but it was up to 1.5 seconds to another! That's got me a little spooked.

I am using Crimson 3.0 Gold Build 579.003. I set up two tags HeartbeatFromPLC and HeartbeatToPLC. In the Pages navigation pane, under the Global tab, I set up an On Update action: Set(HeartbeatToPLC, HeartbeatFromPLC)

What's the right/best way to write the data to HeartbeatToPLC? Is there something I should be doing to make sure my update rate is consistently towards the 0.200s end of the spectrum? Thanks in advance.
 
Here's the solution

FWIW, I spoke with Dan at Red Lion tech support. He suggested creating a program containing the aforementioned Set function within an infinite for/next loop. I call this program On Startup, so it runs from the get go.

The value updates at much more consistent rates. Learned something new today, so it's been a success.
 

Similar Topics

Hi everyone, I have a task at work that I'm hoping someone will be able to help me find a solution for. Here is the background info: I have a...
Replies
10
Views
410
Hi everyone I've created an FC that includes the blocks TCON, TDISCON, TSEND and TRCV. This block has to be as generic as possible across...
Replies
15
Views
1,490
In studio 5000 is there an easy way to do a Heartbeat between two Control Logix PLCs? Say you have Produced and Consumed from both is there even a...
Replies
8
Views
1,216
Hi all, I have an application where there is a Control Logix PLC connecting to a B&R remote I/O station over Modbus TCP via a prosoft MNETC...
Replies
5
Views
1,905
Good Morning! I need to monitor ethernet comms, between 2 Compact Logix PLC's. I have done this before with a simple pair of timers, toggling a...
Replies
7
Views
1,599
Back
Top Bottom