question

Jason Merschat avatar image
0 Likes"
Jason Merschat asked Jason Merschat rolled back

Set Crane Speed, Acceleration, and Deceleration

I am trying to use the OnLoad and OnUnload triggers to set the crane rates for a loaded and unloaded crane. How might I do this when I am using a Global Table to hold and access these values. Using Beta 17.2

FlexSim 17.1.4
cranespeed
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

Jason Merschat avatar image
0 Likes"
Jason Merschat answered Jason Merschat rolled back

Ok, I found a way to make it work using the Code Snippet window in the trigger and using the following code:

Variant Gantry_Max_Speed = model().find("Crane_G3>variables/cranespeeds/Gantry/Max_Speed"); Gantry_Max_Speed.value = Table("GT_TravelRates")[6][4];

Pretty simple and it works...

5 |100000

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