I am a software novice and have encountered many problems while using it recently. First of all, thank you for your patient answers. I am truly grateful to you all.
In a test case I created myself, I tried many times but did not achieve satisfactory results.
I want different products to be transported in the way I have set during the transportation process:
1):After the green products finish working at the green work point, they arrive at the green waiting point, while the yellow products directly arrive at the yellow waiting point. They will queue up at their respective waiting points and then arrive at the alternating waiting point in a green yellow alternating pattern (note: green comes first). If there are no products at yellow work point 1 and green work point 2, the alternating waiting point will release a set of green and yellow products, and the rest will continue to wait in the alternating waiting area
2):Here are some helpful pictures and my test cases to help understand.
You could create signals in your processes and use the Logic Gate component (eCat â Misc).
When Yellow work point 1 and green Work point 2 both send a True signal to the Logic Gate (set on âANDâ) it will send a True signal to the Alternating waiting point whic can send 2 products. And the Alternating Waiting point should set the signals from both Work points on False again.
I am unable to alternate between green and yellow products one by one and enter the alternate waiting point (green is in front until they fill up to the stopper point). Do you have any good suggestions.
If possible, I would appreciate it if you could open my test case and give it a try.
I would also use a signal. For example create a Boolean signal in the Green or Yellow waiting point. At the begining of the simulation it will be False. So you can have a WaitSignal for this signal to be False in the Green Waiting point, then send a product and set the Signal on True. In the Yellow Waiting point have a WaitSignal for this signal to be True, then send the product and set the signal on False again.
Thank you for your help, it has provided me with a great idea. I am very grateful to youďź
I used the method of setting the signal but failed, perhaps because I didnât know how to write the statement to set the initial value of the signal. Perhaps itâs because after I sent the INA and INB signals, only the first sending end waited for the OUT signal, while the second sending end, although having this process, did not wait for the OUT signal. However, based on your inspiration, I completed it using the method of setting Boolean properties. Thank you very much!
By the way, could you teach me how to write statements in a script to set the initial value of a signal?