transporte.fsmI have a separator in the form of a Queue, it is possible to make the operator unload the container and when the container is empty the forklift transports it and not the operator
transporte.fsmI have a separator in the form of a Queue, it is possible to make the operator unload the container and when the container is empty the forklift transports it and not the operator
I am trying to give a custom code at seperator1 use transport, but it is showing some error the console box.
The "Use Transport" field gets evaluated before the "OnExit" trigger (the transport must be known in order for the items to leave the queue). So the "Tote" label does not exist yet when you try to read it. Your idea of using the forklift for every 11th item can work. You can just read the output statistic directly when determining the transport instead of assigning it to a label first.
if(current.stats.output.value%11 + 1 == 11) { return current.centerObjects[1]; } return current.centerObjects[2];
In this example model though, because the separator is using the default option of sending the items and the tote to different ports, you can also just determine the transport by which port the item exits through. (Just have to make sure that the operator and forklift are connected in the correct order)
Hi @ivan
Please refer the following things in the attached model:
1.Custom code at Use Transport in Seperator 1 properties.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved