Product Tracking Problem

Although Mispeld has a solution. I set this up with an Array of DINT's instead of bits. It uses two FSC instructions to find location and length. Anyway, I banged it out today so I figured I'd post it. Good luck with your project. It's an exported subroutine.
 
I noticed one thing in the routine the Gap Counter Preset is set to 20 and it should be 19 since I made the Gap Length Array 20. If counter counts to 20 it will fault processor. So just make sure you set your Gap Counter to Gap Length Array size minus 1.
 
I'm sure your close to figuring out your solution, I am just asking this for my own understanding. You are creating logic that reflects where the part is at on the conveyor. If you know exactly how many seconds it takes for the part to travel from one end to the next, could you not create a simple timer and use the .acc value to move the image on the screen horizontally relative to the time through the HMI software?

I have a process where a part is spinning on a fixed enclosure, and on my HMI I am using the exact degrees from the PLC to locate the part on the HMI screen, so the operator knows exactly what direction the part is facing at all times through the screen.

This is my way of doing it, maybe I misunderstood what you are trying to accomplish. Or maybe you are looking for more accuracy. I just ask for my own understanding.

Thanks,
 

Similar Topics

Scenario: Two different cutting machines drills material and put that on two different stock piles. The stock piles can have more than one cut...
Replies
2
Views
1,440
Product tracking based on time and position. I'll be using a 1769-L16ER-BB1B processor. There will also be an HMI involved, but it will be for...
Replies
24
Views
18,231
I'm a newbie to tracking concept. I have assigned a project to handle product tracking. Product should be delivered to destination without any...
Replies
10
Views
9,795
Guys I have a monoblock that tracks a bottle through the machine using shift registers and an encoder. We typically have a reject system on the...
Replies
14
Views
3,409
Gents: I have an application coming up that I would like to get some opinions on. I have a conveyor that will be running 100FPM that I will need...
Replies
14
Views
6,116
Back
Top Bottom