AnyLogic
Expand
Font size

ReleaseRobot

Releases the robot previously seized by the current agent using the SeizeRobot block or the ProcessByRobot block with the Release robot option disabled.

The release operation takes zero time.

You can define the post-process for the robot that will be accomplished after releasing the robot. You can choose the required type of the post-process (e.g. move the robot's end effector to the specified location) using the After operation, robot option, and specify the time required to complete it, in the Post-process time property.

If an agent not associated with a robot passes through the block, the release operation is ignored (the robot does not move), and a warning is displayed.

Note that all seized robots must be released before the agent is disposed by the Sink block.

Parameters

After operation, robot
Defines the robot behavior after agent processing is finished and if there are no other agents in the queue. You can choose the robot to do nothing, or return to its initial position, or make it execute a post-process - move its end effector to the specified target after finishing the agent processing.
Value type: ProcessByRobot.ActionAfterOperation
Local variable: T agent - the agent (material item)
Valid values:
ProcessByRobot.AFTER_OPERATION_STAY — stays where it is
ProcessByRobot.AFTER_OPERATION_MOVE_TO_INITIAL_POSITION — returns to initial position
ProcessByRobot.AFTER_OPERATION_MOVE_TO_TARGET — moves end effector to
Target is
Defines where the robot will move its end effector to after the operation. The possible destinations are:
Node - the specified network node
Attractor - the specified attractor
Conveyor - the specified conveyor
Position on conveyor - the specified position on conveyor
(x, y, z) - the point with the specified coordinates
Agent - the specified agent location
Value type: ProcessByRobot.DestinationType
Valid values:
ReleaseRobot.DEST_AGENT — Agent
ReleaseRobot.DEST_NODE — Node
ReleaseRobot.DEST_ATTRACTOR — Attractor
ReleaseRobot.DEST_CONVEYOR — Conveyor
ReleaseRobot.DEST_POSITION_ON_CONVEYOR — Position on conveyor
ReleaseRobot.DEST_XYZ — (x, y, z)
Node
[Visible and applies only if the Target is: Node]
The network node the robot will move its end effector to after the operation.
Value type: Node
Local variable: T agent - the agent (material item)
Attractor
[Visible and applies only if the Target is: Attractor]
The attractor the robot will move its end effector to after the operation.
Value type: Attractor
Local variable: T agent - the agent (material item)
Conveyor
[Visible and applies only if the Target is: Conveyor]
The conveyor the robot will move its end effector to after the operation.
Value type: ConveyorPath
Local variable: T agent - the agent (material item)
Offset from
[Visible and applies only if the Target is: Conveyor]
Defines how to calculate the offset of the exact point on a conveyor the robot will move its end effector to after the operation: either from The beginning of the conveyor, or from The end of the conveyor.
Value type: boolean
Local variable: T agent — the agent (material item)
Default value: true — The beginning of the conveyor
Offset
[Visible and applies only if the Target is: Conveyor]
The distance from the start or end point of the conveyor (depends on the Offset from parameter) defining the exact destination point for the robot.
Value type: double
Local variable: T agent - the agent (material item)
Position on conveyor
[Visible and applies only if the Target is: Position on conveyor]
The position on conveyor the robot will move its end effector to after the operation.
Value type: PositionOnConveyor
Local variable: T agent - the agent (material item)
X, Y, Z
[Visible and applies only if the Target is: (x, y, z)]
X, Y, Z coordinate of the point the robot will move its end effector to after the operation.
Value type: double
Local variable: T agent - the agent (material item)
Agent
[Visible and applies only if the Target is: Agent]
The agent the robot will move its end effector to after the operation.
Value type: Agent
Local variable: T agent - the current agent (material item)
End effector approaches
Defines from which point the robot approaches the target for post-process. The possible options are:
Top side - the robot approaches the target from above.
Nearest side - the robot approaches the target from the side, closest to the robot base.
Value type: RobotApproachType
Valid values:
ROBOT_APPROACH_TOP_SIDE — top side
ROBOT_APPROACH_NEAREST_SIDE — nearest side
Post-process time
[Visible and applies only if the After operation, robot is not set to stays where it is]
The amount of time provided to the robot to move to the specified location after the agent processing is finished and there are no other agents in the queue.
Value type: double
Safe height
[Visible and applies only if After operation, robot: returns to initial position or moves end effector to]
The absolute minimum height for the movement of the robot’s end effector to the given position (required e.g., to avoid obstacles).
Value type: double

Actions

On enter
Here you can type Java code that will be executed when the agent (material item) enters the block.
Local variable: T agent - the agent (material item)
On release
Here you can type Java code that will be executed when the agent (material item) releases the robot.
Local variables:
T agent - the agent (material item)
Robot robot - the robot released by the agent
On exit
Here you can type Java code that will be executed when the agent (material item) leaves the block.
Local variable: T agent - the agent (material item)

Ports

in
The input port.
out
The output port.
How can we improve this article?