How can I create an identifier from a source that will create a "object number"? So I have a main line of processors and an inside line of processors that are merged at several areas. My goal is to have the main source create an object number say 1-40 and keep this with the object. At several points on the main line, using the on exit trigger of a processor, a source is triggered on the inside line, ( a sub assembly line). I am looking to have that source that was triggered create a object with the same identifying number as the object that triggered it. The inside line will then process the object and then go to a queue where I want it to wait for the main line object with the same number then using a combiner combine the two. This process will be repeated several times through the line. I have attached an extremely simplified model where if it can be done, I can impliment it to my model.
pflexsimnewpractice-identifiers.fsm
To Recap:
1. I want source 3 to create an object and identify it (1-40) I am okay with this being done through a global table or other ways, I just don't know the best way to do it.
2. On Exit of processor two I have it triggering source 7. I am looking for source 7 to create an object with the same identifier (1-40) as the object that triggered it.
3. I want the main object to meet the inside line object at combiner five where it will merge the same objects, matching object #1 with object #1 from the inside line.
4. If anyone can help explain the best way this can be done I would greatly appreciate it. If that is too confusing, I have attached a simplified model where it can be implemented for my review. Either way I appreciate the help.