Goofy AOI Label Tamper Logic

MTB_Hardtail

Member
Join Date
May 2019
Location
So Cal
Posts
12
Been in the digital world half my life, but only recently in PLCs. I inherited a Tamper project from 5 years back which never worked. Tamper is s'posed to put a label on any Manual Sort box, and ignore those which have a good routing destination. All boxes get a good Product Detect Photo Eye signal. Logic is s'posed to clear the PD bit, following the start of the Manual Sort Tamp Cycle, if next the box has a good destination. Problem is, we get from one to three additional tamps on good boxes following the Manual Sort box. The associated AOIs are way overbuilt for this logic, and were dropped in place and band-aided together by the original vendor. Makes them hard to troubleshoot and/or modify. Half the rungs don't even execute.



Rung 5 - Valid Package at Photo Eye has back to back OSR/OSF functions. However, it never fires. Also, the PE Clear above never fires. I understand the need for debounce, but this looks like it would give me a one machine cycle positive pulse. Is that OK? Any ideas... TIA

PID5 - Tamper AOI - 6-15-19.jpg
 
I'm not sure exactly what is going on, but it is that 1-shot logic that is giving you your problems. Can you post up a pic of the tamping line so we can see what is happening and perhaps the entire project to take a gander at?


At first glance, the OSR to OSF seems to be a problem here. For whatever reason, you are tamping three times, which means that during what should be a single cycle, that tamper is tamping, resetting, then tamping again the entire time your box is in that position. Rung 5 seems to be where you want to start here. I would also keep an eye on the Val_PkgAtPhotoEye while the system is running. See if it is resetting during this time frame.

EDIT: I just reread your post. Just because you don't see it change on screen does NOT mean that it isn't firing and giving a pulse to the program.
 
Last edited:
What I would do to troubleshoot is XIC the PE_Cleared bit and count up a counter or ADD 1 to a DINT. That way you could see if it is going high once in a while.

Do this with the other OneShots as well. Also, and a branch on the output of line 5 with an ADD or counter to see if that line does get true, and how often the value increments.
 
Goofy AOI Workaround

Thanks, guys! Your feedback was quite helpful. Here is my workaround code. It runs, but still has a couple of problems:



1) Rung 4 is letting slivers through, and my Tamp Counter at the bottom increments up. I am looking for a Manual Sort = TRUE coincident with the PKG Detect, to generate a Label Tamp on the detected carton.



2) The tamper is putting labels on Decant and Prep cartons, but is missing the Manual Sort cartons.



The Happy Path cartons go right through with no issues (no label).



Again, I think the problem is Rung 4. The EQU/NEQ statements are getting Lane Map, and Routing Telegram info from the Shipping Server (AOIs elsewhere).



Those AOIs have been working perfectly for years with our Primary Tamper (applies bar code labels). However, my Manual Sort Tamper is 100 feet downstream (30 seconds delayed) from the primary.


So wondering if I need to create a Moving Pkg Zone Window, to keep the Telegram info synced up with the moving carton (or hopefully find that function somewhere in the existing AOIs).


Your Thoughts?

Tamper Test - Crossover Slivers affecting Pkg Count - 6-27-19.jpg
 

Similar Topics

Wonderware prints fine - except for the alarm page. On the alarm page, it prints the top section, but none of the bypasses or out of services...
Replies
0
Views
2,963
Good day all. I have a goofy question. It is with RSLogix 500. When I rest my cursor the field to the right (with the ladder displayed) and use my...
Replies
16
Views
4,456
Hello, We have MENTOR DC Drives (7 years old) with interbus link to PLC. Sometimes (1/week) the drive goes goofy *) weather flipping off with...
Replies
1
Views
1,598
I am very new to Modbus and the industry, so forgive me if I am missing something obvious. I have known Modbus register addresses coming from a...
Replies
7
Views
212
Does anyone know of an AOI using the user ASCII protocol select on the L6x controllers that will talk Modbus RTU using RS-485? Thanks, Trevor...
Replies
1
Views
125
Back
Top Bottom