Heartbeat Triggering Off of Change in Inputs and Outpus

Join Date
Dec 2017
Location
idaho
Posts
2
In my lab we are using Controllogix plcs and RS 5000 for programming the PLCS.
We have one PLC on a skid, and one PLC at our workbench and we were getting them to communicate using a heartbeat trigger that we would set up

----[]timer.dn---------()TON timer 200ms.

We have 16 students in the class, trying to talk to 24 plcs. This was lagging the network a little bit.
Now our teacher wants us to set up a heartbeat trigger that will not lag the system down by triggering when we have a change in the input card.
We are using Factor IO software, one skid with wired start, stop, lights and we will be programming an HMI.

I am thinking I would need to use a read/write function to complete this and use an output coil.
I am wondering if there are any books out there that address this issue so I can read and see what the logic looks like?
 
Most ControlLogix Input cards can be configured to initiate a "Change-of-State" event to the controller. It can be applied to specific inputs on the module, or, by default, all inputs. Look at the module configuration tabs to see how to set this up.

You can use this COS event to fire an EVENT task, into which you program whatever code you need to run when inputs change state.

Using this is the most efficient, there is no need to monitor for a change of state, it's all built into the hardware, you just need supporting software to make use of it, and of course that software will only run when it needs to.
 

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
378
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,410
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,187
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,882
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,577
Back
Top Bottom