question

Judith S avatar image
0 Likes"
Judith S asked Joerg Vogel answered

Decision Points should seperate the parts according to their length

I want the decision points to seperate the parts according to their length. Parts which have a length of 0.599m should be leaded to the one direction, and parts with other lengths should be leaded to another direction. Which command do I need to program this?

Thanks for your help!

FlexSim 17.0.12
decision points
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

The template "Send Item" does this. It is a condition that defines which route the item takes.
The condition is a logical expression or comparison.
On Arrival
or On Continue function
Condition

item.size.x == 0.599

The Destination should lead to the decision point that is on the conveyor if the condition becomes true.

current.outObjects[1]

The number is the output port number of the decision point in the square brackets.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.