06-15-2018 06:47 AM
Hi evrubody,
I'm a student, I have a question. I have to move different parts (part A,B,C) from a station to other 2 stations. In particular parts A and B have to move to Station 1 and PArt 2 to Station2. I'm trying to use a mathod for the exit strategy but i have problems with it.
Looking forward to your directions!
Any help is great appreciated!
06-15-2018 06:54 AM
if @.Name = "PartA" or @.Name = "PartB"
@.move(Station1) else @.move(Station2)
end
Try this.
Other than this, you can also do it without writing any code. Use a Flow Control object between the stations with Exit strategy as MU Name. (See Help on Flow Control)
Sanchay
06-15-2018 07:08 AM
Thank you it now works!
Best Regards
06-18-2018 04:34 AM
@Sanchay schrieb:
Other than this, you can also do it without writing any code. Use a Flow Control object between the stations with Exit strategy as MU Name. (See Help on Flow Control)
Sidenote: You don't need a FlowControl for that anymore, most materialflow objects already offer this exit-strategy directly (and have for some time); I only use FlowControls for the entrance-behavior (if at all).