Heart Beat

Tim Ganz

Member
Join Date
Dec 2010
Location
Dallas, Texas
Posts
686
I need to program a heart beat between a compact logix and a SLC 5/05 on one line and between 2 compact logix on another line.

On the compact to SLC it will be over a message instruction read and write and in the compact to compact setup it will be done over a produced /consumed array.

What is the best way to do heart beat logic?
 
Tim Ganz said:
...On the compact to SLC it will be over a message instruction read and write...

Here is a very simple Heartbeat between a CompactLogix L32E and a MicroLogix 1100, but it can be used between any controllers. It uses a Message in the CompactLogix and a timer in the MicroLogix. This example lets the MicroLogix only know that comms have been lost...

38513 - Heartbeat Logic to verify communications between a pair of processors
Access Level: TechConnect

If you want both controllers to know that comms have been lost then the following Heartbeat method uses a Message instruction in both controllers. Using toggling comms, if either fails, then both Message instructions will error, informing both controllers. There are two attached examples in the Technote...

43029 - Heartbeat logic for message instructions
Access Level: TechConnect

Tim Ganz said:
...in the compact to compact setup it will be done over a produced /consumed array...

For a Heartbeat between two Logix based controllers using Produced/Consumed data...

62140 - Produced/consumed tags lost connection status
Access Level: Everyone

This is a tried and tested method. It utilizes the predefined "Connection Status" data type. You must pack your intended data to be communicated, in this case your array, into a User Defined Type (UDT), but make sure that the first member of the UDT is a tag of the data type "Connection Status". This will then transmit connection status information over and back with the Produced/Consumed data. It provides both a "RunMode" and "ConnectionFaulted" BOOL. You can then use this status data in both controllers to monitor if the connection is healthy.

Regards,
George
 

Similar Topics

Hi all, i have a situation at work in which i am needing to send a message from a logix 5000 to a slc 5/05. i have an example of this at work...
Replies
55
Views
27,725
Hi Guys, I have two Allen-Bradley systems here 1) 1769-L30ERMS 2)1768-L43S These both are safety plcs and its working at the moment. There are...
Replies
1
Views
1,483
To All, Please help, I am new to Rockwell automation and normally use Siemens, I am trying to finish up a program and now need to use a "Heart...
Replies
9
Views
18,097
I am i need of some sample logic for a comms good / heatbeat between a compact logix plc and a contrologix plc. I also have a yaskawa drive...
Replies
25
Views
16,415
We have a new upgrade going on. We've replaced our existing resolvers with KUBLER encoders connected to CompactLogix 1769 HSC cards. We are not...
Replies
1
Views
2,932
Back
Top Bottom