You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Thread Tools Display Modes
Old December 3rd, 2017, 02:42 PM   #1
United States

stephen.woodbury is offline
Join Date: Dec 2017
Location: idaho
Posts: 2
Heartbeat Triggering Off of Change in Inputs and Outpus

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?
  Reply With Quote
Old December 4th, 2017, 08:01 AM   #2

gclshortt is offline
gclshortt's Avatar
Join Date: Dec 2014
Location: Cobourg
Posts: 2,677

Here are a few threads on the same issue. They may help you out.
Connect with us on Facebook:
  Reply With Quote
Old December 4th, 2017, 09:51 PM   #3
United States

stephen.woodbury is offline
Join Date: Dec 2017
Location: idaho
Posts: 2
Thank you. I am doing my best to not be given the answers, but to critically think about what is happening.
  Reply With Quote
Old December 4th, 2017, 10:04 PM   #4
Lifetime Supporting Member + Moderator
United Kingdom

daba is offline
daba's Avatar
Join Date: Jul 2004
Location: uk
Posts: 4,401
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.
ControlLogix & SLC Training
a-b train ltd.
tel: 07506 73 9999
nil illegitimi carborundem

  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 04:18 AM.