Mark Snodgrass
Member
I have been upgrading our communications between PLCs within the mill. We finally got rid of the last DH+ comms and I am now cleaning up programing, setting up better interlocks between machine centers, etc... I recently learned how to use DTR instruction for heartbeat detection instead of comparing and moving words. My question is, does anyone have a better way to generate the heartbeat values (such as a single instruction). I currently add '1' to a word each scan then compare value and clear it before it goes out of range. It only requires three instructions on one rung but a single instruction would be neater.