cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Multi Portal Cranes

Experimenter
Experimenter

Hello everyone,

I am a beginner with SimPlan and currently working on a project. This is the first time I

have ever worked with programming, therefore I hope somebody can give me instructions

that are easy to understand. So far I could not find any similar problem in the book or the forum here.

 

I have to install 3 Multi Portal cranes, unfortunately I do not know how all three of them can be programmed to work simultaneously.

Crane 1 gets stuck halfway because of the code for Crane 2 (if I install Crane 1 alone and follow the tutorial's instructions, it normally works fine).

The code for Crane 2 has to be modified for it to work at all, but I do not know how.

Crane 3 hasn't been included in the Method yet, it can therefore not work. I guess if I know how to program

Crane 2, the method will be the same.

 

I have attached my model and hope somebody can explain the procedure or spell out the code that will solve my problem.

Thanks alot!

Season greetings.

Regards,

Arome

2 REPLIES

Re: Multiple Multi Portal Cranes

Phenom
Phenom

you need different values for the value portal in the methods. And you need a strategy to avoid collisions between the cranes (in the example I send the first cran back to the start of the cycle at the end of its cycle).


Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: Multiple Multi Portal Cranes

Experimenter
Experimenter

Thanks for your help!

I will incorporate it into my model and see how it goes.

Then I might get back to you.

 

Im sorry, I didnt explain it clearly in my first message that Crane 1 and 2 are supposed to

have only one portal each.

I just dont know how to make them run simultaneously, they only need to pick something

from the left and drop it on the right hand side, and keep doing that in a cycle.

Do I have to create a Method MoveToBasePosition for each of the cranes or is it possible to

use one for Crane 1 and 2 and another one for Crane 3?

Crane 3 will have two portals just like you already installed.

Thanks again.