FB_SmartInfeedModuleController

 

FB_SmartInfeedModuleController - General Information

Overview

Type:

Function Block

Available as of:

V1.0.0.0

Inherits from:

-

Implemented:

-

Versions:

Current version

Task

Managing jogging jobs of all modules of type SmartInfeed module in one node

Description

Jogging jobs of the inputs i_xJogForw and i_xJogBack of the Standard motion interface are transferred to the module defined at i_udiAxisSelect. If an exception is active in the exception list, all jogging jobs are canceled.

Interface

Input

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU.

A deactivated POU does not execute any actions.

Output

Data type

Description

q_xActive

BOOL

TRUE: The POU is active and has to be executed further.

FALSE: The POU is inactive.

q_xReady

BOOL

TRUE: The POU is ready to operate and accepts user commands.

FALSE: The POU is not ready to accept user commands.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal GD.ET_Diag.Ok equates an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic

q_etDiag = GD.ET_Diag.Ok -> status message

q_etDiag <> GD.ET_Diag.Ok -> error message

q_sMsg

STRING[80]

Event-triggered message which gives more detailed information on the diagnostic state

Input/Output

Data type

Description

iq_stStandardModuleItf

TPL.ST_StandardModuleInterface

The StandardModuleInterface of the node in which the controller is integrated

iq_stStandardMotionItf

TPL.ST_StandardMotionInterface

The StandardMotionInterface of the node in which the controller is integrated

iq_stExceptionList

TPL.ST_ExceptionList

The exception list of the node in which the controller is integrated

iq_stLogDataList

TPL.ST_LogDataList

The logger list of the node in which the controller is integrated

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Disabled

5

The POU is disabled.

OK

Working

7

The POU is active.

InputParameterInvalid

MissingExtInit

27

The additional interface has not been correctly initialized.

SercosConditionInvalid

GlobalSercosInterfaceInvalid

28

The G_ifSercos interface is invalid.

Disabled

Enumeration name:

Disabled

Enumeration value:

5

Description:

The POU is disabled.

The function block is deactivated, it executes no actions whatsoever. i_xEnable and q_xActive have the value FALSE.

GlobalSercosInterfaceInvalid

Enumeration name:

GlobalSercosInterfaceInvalid

Enumeration value:

28

Description:

The G_ifSercos interface is invalid.

Issue

Cause

Solution

-

The global interface G_ifSercos is invalid.

Ensure that the interface G_ifSercos outside the function block is not accidentally overwritten with 0.

MissingExtInit

Enumeration name:

MissingExtInit

Enumeration value:

27

Description:

The additional interface has not been correctly initialized.

Issue

Cause

Solution

-

The initialization of the additional interface Ext is unavailable.

Ensure that all interfaces of the modules are initialized.

Make sure that the FC_UpdateAddInterfaceStruct function is called up for all SmartInfeed modules.

Working

Enumeration name:

Working

Enumeration value:

7

Description:

The POU is active.

The module controller manages the data of the SmartInfeed modules.