ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 06-27-2012
Vadim Fooks's Avatar
Vadim Fooks Vadim Fooks is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 67
Downloads: 26
Uploads: 0
Thanks: 50
Thanked 24 Times in 13 Posts
Rep Power: 118
Vadim Fooks will become famous soon enough
Default Overriding default states for a taskexecuter

Ladies and Gentlemen,
I am trying to implement a model involving tugger operations in the warehouse. In my model a tugger and each of attached carts are a separate instance of a taskexecuter.

The problem is that since the tugger is not transporting any flowitems it is stuck in the state STATE_TRAVEL_EMPTY, regardless of what it is doing.

I tried using setstate() as a part of my task sequence, but the state gets overriden as soon as the proxytask TASKTYPE_TRAVEL kicks in.

I need to collect the state data separately for the tugger traveling on its own, traveling with loaded carts, and traveling with empty carts, so just moving a dummy flowitem into the tugger to force a switch to STATE_TRAVEL_LOADED will not solve my problem.

Also, is there a way to execute a trigger on a state change?
Thanks!
V.
  #2  
Old 06-28-2012
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

search this forum with the term: onstatechange
The Following User Says Thank You to Steven Hamoen For This Useful Post:
Vadim Fooks (07-02-2012)


Thread Thread Starter Forum Replies Last Post
I can't change the value of 'Moves per Hour' 30 (default value) in Ship Schedule of the Berth Planner. syseo Container Terminal (CT) Library 3 10-05-2012 10:40 AM
TimeTables and States Lucie Lerivrey Gripes and Goodies 1 06-12-2012 09:06 AM
How to transfer a flowitem from a taskexecuter-team to another taskexecuter-team? Frans Zeng Q&A 12 05-20-2010 11:23 PM
default GUI error qin tian Q&A 1 11-19-2008 11:10 AM
Make this GUI the Default Ortho GUI jellyboy Q&A 1 03-13-2008 09:11 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.