question

sachin tandulkar avatar image
0 Likes"
sachin tandulkar asked sachin tandulkar edited

Exit Trigger in Conveyor

Can anyone please tell me the function to move the part to a specific output port from conveyor.

Part movement:

conv 1--->(output port 1) Conv 2

Conv1----->(output port 2) Sink

I am using decision point at the end and will define the movement in the "on continue" field.

Let me know if there is any other way. in the decision point I used

outobject(current,getlabel(item,"ExternalAssembly"));//externalassembly is 1 or 2.

Choose One
conveyor
vj0mh.png (127.8 KiB)
5 |100000

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

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered sachin tandulkar edited

@sachin tandulkar

Sachin,

Your graphic doesn't show any output ports from the DP on the conveyor. I'm not sure if they exist or not. And the proper place to put your code in the DP is in the OnArrival trigger.

Attached is a sample model that will do what you describe. Will this work for your needs?

sachin-sample1-jn1fsm.fsm


· 1
5 |100000

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

sachin tandulkar avatar image sachin tandulkar commented ·

Thanks Jeff. This is exactly what I need.

0 Likes 0 ·
Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered sachin tandulkar commented

Rather than have two different transfer points and a decision point. Just use a single Exit Transfer point, and put the logic in there. In the exit transfer you can use a "Port by Case" as the Send to Port function.

I've attached a model below as an example:

transfer-example.fsm


exittransfer.png (22.8 KiB)
· 1
5 |100000

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

sachin tandulkar avatar image sachin tandulkar commented ·

Thanks Sam.

0 Likes 0 ·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered sachin tandulkar commented

Check out the sendTo.fsm example model in this post.

You just need to connect the decision point to the exit transfers and then use the Send Item or Send Item By Case pickoptions to send the item to the desired connected object.

· 1
5 |100000

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

sachin tandulkar avatar image sachin tandulkar commented ·

Thanks Matthew

0 Likes 0 ·

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.