locotumbler
Member
I have read the various threads on the FFU/FFL uses. I am trying to chase down an issue I am having with a program one of my predecessors wrote. I was told that it works about 90% of the time. I have not been able to figure out how this programs works some of the times and not all. Program Function as such.
Press is cycling at 300 SPM (so 200msec per stroke)
1. at BDC (bottom dead center) the press control sends a signal to the plc it then fires a signal to the camera controller to activate the camera (this is my first possible point of failure I am working trying to see if i can avoid the need for the middle man to tell the camera to fire.
2. when the camera detects a failure it sends the signal to plc which then dumps it into the FIFO que. This is where i am having the issue with the PLC proram I don't understand why the constant count is needed to do the comparison. Would it be easier to do a constant mov ever cycle and just have it be a 0 on a good part (no signal from the camera controller) and a 1 on a bad part (signal from the controller)?
3. When the failed part gets to the singulation point (the press feeds the material forward on the upstroke) and the press gets to TDC it retracts the singulation punch and leaves the failed part in the strip of scrap material
Press is cycling at 300 SPM (so 200msec per stroke)
1. at BDC (bottom dead center) the press control sends a signal to the plc it then fires a signal to the camera controller to activate the camera (this is my first possible point of failure I am working trying to see if i can avoid the need for the middle man to tell the camera to fire.
2. when the camera detects a failure it sends the signal to plc which then dumps it into the FIFO que. This is where i am having the issue with the PLC proram I don't understand why the constant count is needed to do the comparison. Would it be easier to do a constant mov ever cycle and just have it be a 0 on a good part (no signal from the camera controller) and a 1 on a bad part (signal from the controller)?
3. When the failed part gets to the singulation point (the press feeds the material forward on the upstroke) and the press gets to TDC it retracts the singulation punch and leaves the failed part in the strip of scrap material