bbishop108
Member
For those who may recall I had posted previously about the FSC instruction, and while I have a better understanding of how to use it I find myself wanting to incorporate it with the FIFO instruction.
So basically I have a plate that will hold 30 parts as such I have a DINT Array for each of those positions, Part_Location[30]. So my FSC will look for the first available spot that is empty, and I will move the position stored in the Control.POS into the FFL.
Before I execute the FFU, every time a part is loaded into the plate it starts a timer. Each part has to sit in the plate for a minimum of 2 minutes, so I will also have 30 timers one for each position of my DINT Array all timing at different times while I continue to load the plate.
So my confusion in understanding how to use the FFL/FFU is that I only want to trigger the FFU when the 1st placed part's timer is done. This will then indicate that I am ready to remove that part from the plate. The problem comes when multiple parts are available to be removed from the plate within a short period of time. So while I continue to load the plate, I also unload the plate when the 1st part is ready be removed. While I am removing that first part, and then proceed to load the next part more than 1 part becomes available to be unloaded.
So I am not sure of when to trigger the FFU as there will be multiple parts ready to be removed from the plate, so when I trigger the FFU it doesn't trigger again even though the next part is ready to be removed from the plate. Thanks
So basically I have a plate that will hold 30 parts as such I have a DINT Array for each of those positions, Part_Location[30]. So my FSC will look for the first available spot that is empty, and I will move the position stored in the Control.POS into the FFL.
Before I execute the FFU, every time a part is loaded into the plate it starts a timer. Each part has to sit in the plate for a minimum of 2 minutes, so I will also have 30 timers one for each position of my DINT Array all timing at different times while I continue to load the plate.
So my confusion in understanding how to use the FFL/FFU is that I only want to trigger the FFU when the 1st placed part's timer is done. This will then indicate that I am ready to remove that part from the plate. The problem comes when multiple parts are available to be removed from the plate within a short period of time. So while I continue to load the plate, I also unload the plate when the 1st part is ready be removed. While I am removing that first part, and then proceed to load the next part more than 1 part becomes available to be unloaded.
So I am not sure of when to trigger the FFU as there will be multiple parts ready to be removed from the plate, so when I trigger the FFU it doesn't trigger again even though the next part is ready to be removed from the plate. Thanks
Last edited: