FB_Multicarrier - General Information

Overview

Type:

Function block

Available as of:

V1.0.0.0

Task

Main function block for a Lexium™ MC multi carrier transport system.

Description

The function block FB_Multicarrier is the central administration function block for a Lexium™ MC multi carrier ring or line topology. It controls the segments and carriers of the Lexium™ MC multi carrier transport system.

The instance of the function block FB_Multicarrier must be called cyclically.

The commands for configuration and motion programming as well as the feedback are performed via interfaces. The general entry point is the interface IF_Multicarrier. From this interface, the architecture is split into several sub-interfaces.

Properties

Name

Data type

Accessing

Description

ifConfiguration

IF_MulticarrierConfiguration

Read

Access to the interface IF_MulticarrierConfiguration for configuring the Lexium™ MC multi carrier track (see IF_MulticarrierConfiguration).

ifFeedback

IF_MulticarrierFeedback

Read

Access to the interface IF_MulticarrierFeedback for reading general feedback information from the Lexium™ MC multi carrier transport system (see IF_MulticarrierFeedback).

raifCarrier

REFERENCE TO ARRAY [1..GPL.Gc_udiMaxNumberOfCarriers] OF IF_Carrier

Read

Access to the functions of a carrier.

For more information, see IF_Carrier

Inputs

Input

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE activates and initializes the function block, a falling edge TRUE -> FALSE deactivates the function block. A deactivated function block does not execute actions and the outputs are set to the default value.

i_xStart

BOOL

A rising edge of the input starts the function block.

Outputs

Output

Data type

Description

q_xActive

BOOL

Indicates TRUE if the execution of the function block is active. As long as the output is TRUE, the function block must be executed cyclically.

q_xReady

BOOL

Indicates TRUE if the function block is ready and can be controlled through its inputs according to its functionality.

After the function block has been enabled with a rising edge of i_xEnable, the output q_xReady is only set to TRUE if the function block can process instructions from the inputs.

If invalid input values are detected during initialization, q_xReady remains FALSE.

If the function block has detected an error, q_xReady is set to FALSE.

If the function block is deactivated using i_xEnable, q_xReady immediately becomes FALSE.

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.