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.
 
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);| Input | Data type | Description | 
|---|---|---|
| i_ifCarrierBehind | The carrier that is behind the selected carrier in the moving direction. | 
| 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 | 
Provides diagnostic and status information as a numeric value. | |
| q_sResultMsg | STRING [255] | Provides additional diagnostic and status information as a text message. |