IF_Carrier - SetCarrierBehind (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Assigning the carrier behind.

Description

With the method SetCarrierBehind, you can assign the carrier that is positioned behind the selected carrier on a track.

For more information on the carrier positions, refer to the general description of a Lexium™ MC multi carrier track.

Example

NOTE: Moving direction of the carriers: from left to right (clockwise).

For assigning the carrier with number 3 as a carrier behind the selected carrier with number 2, proceed as follows:

...ifMulticarrier.raifCarrier[2].SetCarrierBehind(
        i_ifCarrierBehind 	:= ifMulticarrier.raifCarrier[3],
        q_xError					=> xError,
        q_etResult				=> etResult,
        q_sResultMsg				=> sResultMsg);

Inputs

Input

Data type

Description

i_ifCarrierBehind

IF_Carrier

The carrier that is behind the selected carrier in the moving direction.

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.