question

Andrew S2 avatar image
0 Likes"
Andrew S2 asked Andrew S2 commented

How to Unload Parts off Pallet

Hello,

I am trying to create a model where a robot unloads parts that are stacked on a pallet. The cylinders are to be moved to the conveyor behind the robot. The dividers and pallet need to be moved to the queue to the right of the robot. I have been attempting to create a sub flow for the activity but keep having errors. Thank you for any help!

robot-unload.fsm

FlexSim 19.2.4
robotpalletsubflowunload
robot-unload.fsm (95.7 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.

1 Answer

tannerp avatar image
2 Likes"
tannerp answered Andrew S2 commented

Hi @Andrew S2,

Assuming you're able to get everything loaded correctly, I've come up with some logic that can be used to unload the pallet using a loop. The loop just looks at the number of subnodes that the pallet has. As long as the number of subnodes is greater than 0, it will perform the loop.

The last subnode is identified and assigned to the label, "topitem", as it is the top item on the pallet in the 3D. After acquiring the label, the token checks to see if the top item is Type 1. If so, it loads/unloads at the conveyor. If not, it loads/unloads at the Pallet Material queue. Hopefully this is straightforward enough. If you have any questions, don't hesitate to ask me.

As a side note, a loop or table can also be used to load the pallet initially and save Process Flow space...

robot-unload-loop.fsm


andrew-help.png (42.7 KiB)
robot-unload-loop.fsm (113.9 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.

Andrew S2 avatar image Andrew S2 commented ·
@tanner.p

Thanks! It works now

1 Like 1 ·