question

Gabriel illescas Cavazos avatar image
0 Likes"
Gabriel illescas Cavazos asked Regan Blackett commented

Which commands I need to use to change gantry speed when crane load something

FlexSim 17.0.2
cranes
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

·
Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Regan Blackett commented

You can access the variable that defines the Gantry speed by diving into its variables/tree a bit. IF you're using the 17 branch of the software, you can access this with dot syntax, though it is somewhat of a long line:

crane.attrs.variables.subnodes["cranespeeds"].subnodes["Gantry"].subnodes["Max_Speed"].value

Where "crane" is the reference to your Crane object. the ".value" is how you can access the value of that Max Speed variable, either to return the current value or you can just use the equals syntax to set the variable: (etc.etc.etc.value = 3, for example.)

· 1
5 |100000

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

Regan Blackett avatar image Regan Blackett ♦ commented ·

I also answered this Here

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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