FB_CoreStation - HandoverCarriersToTargetStation (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Handing over one or more carriers to another station.

Description

With the method HandoverCarriersToTargetStation, you can hand over carriers from the present station to the target station.

NOTE: By handing over, the carriers are assigned to the next station but they are not moved by this method. The movement must be defined by appropriate move commands.
NOTE: As soon as the carrier is handed over to the target station, the target station can control the carrier (target position, motion parameters and motion instruction type).

The target station has to be set in advance with the method SetTargetStationForCarrierHandling.

For a visual illustration of the method HandoverCarriersToTargetStation, refer to the Handover video sequence.

Inputs

Input

Data type

Description

i_udiNumberOfCarriers

UDINT

Indicates the number of carriers that are stored in the internal storage of the target station.

Outputs

Output

Data type

Description

q_xError

BOOL

Indicates TRUE if an error has been detected. For details, refer to q_etResult and q_sResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.
If q_xError = FALSE, q_etResult provides status information.
If q_xError = TRUE, q_etResult provides diagnostic/error information.

q_sResultMsg

STRING [255]

Provides additional diagnostic and status information as a text message.

Access Specifiers

The method HandoverCarriersToTargetStation is assigned the access specifiers FINAL and PROTECTED.

The specifier FINAL helps to protect the method from being overwritten. The specifier PROTECTED ensures that the method can only be called and shown inside a function block inheriting the function block FB_CoreStation.

For more information, see Mandatory Access Specifiers.