question

Mayra Itzel RR avatar image
0 Likes"
Mayra Itzel RR asked Benjamin W2 commented

How can I put two different speeds in one crane?





The idea is to put two different speeds one when you have a load and the other when you are not loading anything
FlexSim 20.2.0
flexsim 20.2.0crane
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Benjamin W2 avatar image
1 Like"
Benjamin W2 answered Benjamin W2 commented

Hi @Mayra Itzel RR,

I think you are looking for the "On Load" and "On Unload" triggers for the crane. In this example model,

I added the following line to the "On Load" trigger: Model.find("Crane1>variables/cranespeeds/Gantry/1").value = 0.5

And the following to the "On Unload" trigger: Model.find("Crane1>variables/cranespeeds/Gantry/1").value = 200.

This seems to work pretty well.

CraneChangeSpeed.fsm


· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Mayra Itzel RR avatar image Mayra Itzel RR commented ·

@ benjamin.w2 I did not understand. Iwant to put two different speeds

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Mayra Itzel RR commented ·

@mayra_itzel.rr you can set them to whatever speeds you would like. One way to do that would be to set a label on the crane called craneSpeed, then reference that label when you set the speed:

Model.find("Crane1>variables/cranespeeds/Gantry/1").value = current.craneSpeed
0 Likes 0 ·
Mayra Itzel RR avatar image Mayra Itzel RR commented ·

@benjamin.w2 I did not understand, I want two speeds on the crane?

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Mayra Itzel RR commented ·

You can have 2 speeds on the crane using this method.

1 Like 1 ·