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 04-01-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
 
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough
Default Manual Lift Assist

I need to model a manual lift assist device and I would like it to be as graphically accurate as possible without being too complicated. Ideally it should be shown as a crane with an operator 'walking it' to different locations to pick the parts.

I've attached simple model to illustrate the type of thing I want to show. This model has the operator utilised while the crane is operating but the operator is not actually moving with the crane.

Any Help is appreciated.

Anth
Attached Files
File Type: zip Op and Crane.zip (57.6 KB, 226 views)
  #2  
Old 04-02-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

Anthony,

I don’t have a look into your model, but I remember that my colleague Ralf Gruber build a model a long time ago (I have no idea which Flexsim Version it was) where he solved this task. I can’t find the model and I guess this means this is one of the models I did not update over the time.
Anyway, the main idea in the model was to transfer the Operator (transfernode) in the Crane and make it Z location to the ground. Now if the crane moves, the Operator moves and it looks like that the Operator handles the crane (where it is the other way round ).
I hope you get the idea and it is also a solution for you.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following User Says Thank You to Tom David For This Useful Post:
Anthony Timmiss (04-02-2010)
  #3  
Old 04-06-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
 
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough
Default Control when Task Sequence is Allocated

Thansk for the help Tom I've got it up and running now and its working really well. However I've got one more problem. The Lift Assist is used by 2 operators for different movements of parts.

The first part of the Task sequence is to move into the crane. What happens now is that the second operator jumps into the crane while the other operator is using it rather than waiting for it to be available.

I seem to come across this type of problem quite regularly. How do you overcome this problem in Flexsim? Is it possible to have a command checking the state of the crane to see if its IDLE? And how do you keep re-checking it to see when it becomes available again?

Anth
  #4  
Old 04-06-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default Support_OnStateChange_TD

To check the state of a crane you could use the command getstatenum().
if getstatenum() == STATE_IDLE

You could use to re-check the OnStateChange functionality which is implemented since v4.5. It is not the triggers in properties, because this is a kind of advance function.
I remember that Phil Bobo built a model to show how to use it, but I can not find it on the community.
But I made myself a model and will put it into the Support Model Section. I asked for this section, that it is easier to find such models, but beside me, nobody seems to use it.

http://www.flexsim.com/community/for...do=file&id=228
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following 2 Users Say Thank You to Tom David For This Useful Post:
Carsten Seehafer (04-08-2010)
  #5  
Old 04-06-2010
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

@Tom, you are not the only one using it! We are too!

@Anthony: I think that you could also build it into the tasksequence by using the moveobject tasktype and use that to put the right operator in the crane at the right moment.
The Following User Says Thank You to Steven Hamoen For This Useful Post:
Anthony Timmiss (04-07-2010)
  #6  
Old 04-06-2010
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

The OnResourceAvailable trigger fires for task executers when they go idle. You don't need to use the OnStateChange attribute.

Based on your description of the problem, you should probably be using a coordinated task sequence as well so that you can just use its allocation functionality rather than trying to copy that functionality by putting code in lots of places.
The Following 2 Users Say Thank You to Phil BoBo For This Useful Post:
Carsten Seehafer (04-08-2010)
  #7  
Old 04-06-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

@Steven
I got the impression because there are 7 models in the Support Model Section and all 7 are from me. But you are right others also use the User Concept Section.
And I guess you are right, you could solve the task probably with the tasksequence and moveobject tasktype.

@Phil
You are right, I forgot about the OnResourceAvailable. My first thought was the OnStageChange.
And use a coordinated task sequence is also a good direction to go.

Looks like there are some ways to hopefully solve the task …
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
  #8  
Old 04-07-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
 
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough
Default

All

Thanks for all the help, I'll be spending most of the morning working through it.

To answer some comments/questions - I am using a co-ordinated task sequence that makes the operator travel to the crane and then moves the operator into the crane object. This works really well until another object (conveyor) calls its task sequence which does the same thing but with another operator. Even though the crane is busy the second operator can still travel to it and move ito it.

I was thinking last night is there a simple TASK_TYPE I could put at the beginning of the task sequence that would relate to the crane and hence would mean it would be queued until the crane object was available.

Could even a short delay task work?

I will let you know how I get on and perhaps post a demo model once I have completed it.

Anth
  #9  
Old 04-07-2010
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

If you use a coordinate tasksequence can't you allocate the 2nd operator in the beginning? So then it can't start with another task?
  #10  
Old 04-07-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
 
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough
Default

Thanks I'm pleased you said that as I am starting to think there may be a problem with the code thats causing my problem. What I would usually call 'pilot error', if I get some time today I am going to investigate.
  #11  
Old 04-07-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
 
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough
Default

Thanks for all of your help.

I'm pleased to say its sorted now.

I had mis-allocated some of the tasks in my Co-ordinated task sequence, instead of allocating them all to the crane once the op was in the crane some of the tasks were allocated to the operator. Once I have changed this it works great. I will do a demo model when I get chance.

Keep up the Forum support it is invaluable!

Anth
The Following 4 Users Say Thank You to Anthony Timmiss For This Useful Post:
Tom David (04-07-2010)

Tags
crane, lift, manual, onstagechange, operator


Thread Thread Starter Forum Replies Last Post
User manual Template Shankar Narayan Q&A 2 03-09-2009 02:14 PM
Developer's manual / Adding new object classes Doug Beaton Q&A 7 02-25-2009 05:05 PM
ASRS Lift Acceleration Enver Burak KORCAK Q&A 2 01-30-2009 02:59 PM
manual entry danieldiep Q&A 5 11-26-2007 06: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.