RS5000 combine DINTs

BlueAltezza

Member
Join Date
Nov 2012
Location
Cleveland, OH
Posts
243
I have two shift register banks reflecting the status of inspection cameras on a machine until the parts reach a reject station. Depending on the camera's result there's a 0, 1, 2, etc loaded into the DINT file for each camera.

Instead of displaying two separate rows of results on the HMI I want to combine them to one row. Each part has multiple inspections so having multiple rows on the HMI can take up a lot of space and confuse an operator.
To combine them I need to add the results of each DINT to a single DINT

I can do it with a ton of add instructions like "DINT_0[0] + DINT_1[1] = DINT_2[0]", "DINT_0[1] + DINT_1[1] = DINT_2[1]" and so on, but if there's a single instruction that can achieve the same goal (with a length of 20 to 30) I'd prefer that to clean up the logic. I thought it would be simple but I'm having a total brain **** this morning!

Thanks in advance
 
A picture speaks a thousand words....

Right-click - "View Image" and zoom in (Ctrl+) to get a better view.

You will need a conditional on the rung to re-trigger it, or put an OTU of the the FAL_Cntrl.EN bit on the rung.

2014-09-13_025534.jpg
 
Last edited:

Similar Topics

I have recently made a career change after 25 years of being an electrician. I am officially a junior automation controls programmer. I recently...
Replies
11
Views
363
Hi Guys, Hoping that someone could please confirm if the 1756-IF16/B is/isn't compatible with the 1756-L1 5550 processor(13.24). I'm sure I...
Replies
2
Views
102
Hello, I need help making a logic modification to a RS Logix 5000 program. I can email the program and give plenty of insight to it plus I have...
Replies
4
Views
2,199
Hey folks I was wondering how one puts shortcuts on the logic display for instructions. A few weeks back another programmer added them for me...
Replies
2
Views
971
Hello, I'm struggling with getting an email to send using an eweb module on a controllogix system. Any chance I could get someone here to help?
Replies
4
Views
1,856
Back
Top Bottom