Hello guys,
I have an application where up to 10 fixtures are transported On a conveyor system. Each fixture goes through a series of 7 operations. Would anyone have any tips On how to keep track of which part is in which state throughout the process, so that the parts are processed properly?
My thought was to have a byte for each fixture. Each bit of each byte represents the current state for that fixture. Each time a sensor is triggered i.e. step is complete the system checks starting with the first part whether that part is in the state prior to the One triggered. The part that meets this criterion is advanced a state, meaning the bits in that Byte are shifted left. The process is repeated each time a sensor is triggered. When a part is finished and removed from the belt, the bytes are shifted up one.
This should work fine as far as i can tell, but if the setup is put in Manual mode, and the parts are sent back the other direction On the conveyor, restarting automatic will be a problem unless i keep track of every fixture through every state in the process no matter what mode, even when they go backwards.
There're probably better ways of doing this, anyone have any recommendations? This is more of an educational project for myself, but I'm wondering what are some common ways of doing this out in the field.
Thanks!
I have an application where up to 10 fixtures are transported On a conveyor system. Each fixture goes through a series of 7 operations. Would anyone have any tips On how to keep track of which part is in which state throughout the process, so that the parts are processed properly?
My thought was to have a byte for each fixture. Each bit of each byte represents the current state for that fixture. Each time a sensor is triggered i.e. step is complete the system checks starting with the first part whether that part is in the state prior to the One triggered. The part that meets this criterion is advanced a state, meaning the bits in that Byte are shifted left. The process is repeated each time a sensor is triggered. When a part is finished and removed from the belt, the bytes are shifted up one.
This should work fine as far as i can tell, but if the setup is put in Manual mode, and the parts are sent back the other direction On the conveyor, restarting automatic will be a problem unless i keep track of every fixture through every state in the process no matter what mode, even when they go backwards.
There're probably better ways of doing this, anyone have any recommendations? This is more of an educational project for myself, but I'm wondering what are some common ways of doing this out in the field.
Thanks!