Release Crane

Releases the crane or the bridge previously seized by the SeizeCrane or MoveByCrane block. The release operation takes zero time.

You can define the crane's behaviour after release in the After release, hook parameter using one of the two available policies:

Demo model: SeizeCrane and ReleaseCrane

Note: All seized cranes must be released before the agent (material item) is disposed of by the Sink block.

Parameters

After release, hook [dynamic]
Defines the behaviour of the crane's lifting device after the crane has released the material item: either the lifting device Stays where it is or Returns to initial position if no other tasks. During the return movement, the specified Safe height is observed. For jib cranes, the initial position of the hook will be calculated according to the values specified in the Initial jib angle and Trolley position parameters of the crane's properties. For overhead cranes, it will depend on the value specified in the Bridge parking position and Trolley position properties of the crane's bridge.
Type of value: CraneReleaseMovingPolicy
Local variable: Crane crane - the crane
Safe height [dynamic]
Specifies absolute minimum height to raise the agent in order to move it.
Type of value: double
Local variable: Crane crane - the crane
Actions
On enter [code]
Here you can type Java code that will be executed when the agent enters the block.
Local variable: T agent - the agent (material item)
On exit [code]
Here you can type Java code that will be executed when the agent leaves the block.
Local variable: T agent - the agent (material item)
On release crane [code]
Here you can type Java code that will be executed when the agent (material item) releases the crane or the bridge.
Local variables:
T agent - the current agent
Crane crane - the crane

Ports

in
The input port.
out
The output port.