I'd like to change the state that a "Travel to Location" process flow block triggers. Is this possible by writing to the model tree?
I'd like to change the state that a "Travel to Location" process flow block triggers. Is this possible by writing to the model tree?
@Joerg Vogel I have an example model of an ASRS vehicle picking up items from a rack and delivering them to a queue. The movement of the vehicle occurs in two stages. The first stage uses a "Travel to Location" block to the move the vehicle into the right position on the x and z axis. The second stage uses a "Load" block to move the vehicle into the right position on the y axis. I would like this movement to trigger a different state than the first movement. Is this possible?
Hi @Hannah S, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
I don't know how to change the state that's entered by default, but you can overwrite it to achieve a similar result.
In the attached I utilize the "On Start Task" trigger of the task executer (TE) to send a message to itself if the starting task is a loading or unloading task. In the "On Message" trigger I then change the state of TE. I use the state "preprocessing" to mean "extend the slide" in this example.
The "detour" of using a message is necessary, because if the state was set in the start task trigger directly it would promptly be overwritten by the the default state.
Once the offset travel finishes, the state will automatically change to loading/unloading.
To also have a custom state for retracting the slide again, I write the last task type to a label on the TE in the "On Finish Task" trigger. That way I can check, whether the last task when starting a travel task was loading or unloading and send a message to change it to "postprocessing".
Lastly I added two "fake" travel activities in the process flow to serve as a dummy for the offset travel after loading/unloading. This makes sure the state is updated again after the slide is retracted.
17 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