L_EATP_FAST_OpModeAccess

Instances of this function block map the interface for switching operation modes.

L_EATP_FAST_OpModeAccess

L_EATP_MM_Address

-

MM_Address

eRequestedMode

-

L_EATP_FAST_OpModes

BOOL

-

xInit

eActualMode

-

L_EATP_FAST_OpModes

BOOL

-

xReady

xOpModeIsInit

-

BOOL

BOOL

-

xManual

xOpModeIsReady

-

BOOL

BOOL

-

xService

xOpModeIsManual

-

BOOL

BOOL

-

xHoming

xOpModeIsService

-

BOOL

BOOL

-

xAutomatic

xOpModeIsHoming

-

BOOL

BOOL

-

xMode1

xOpModeIsAutomatic

-

BOOL

BOOL

-

xMode2

xOpModeIsMode1

-

BOOL

xOpModeIsMode2

-

BOOL

xModeChangeRequest

-

BOOL

xInvalidModeRequest

-

BOOL

xLocalWarning

-

BOOL

xLocalError

-

BOOL

xSlaveWarning

-

BOOL

xSlaveError

-

BOOL

xSystemFault

-

BOOL

eFBState

-

L_EATP_FAST_FBState

Inputs

Only a maximum of one function block input xInit ... xMode2 may be connected to TRUE at any one time.

Identifier

Data type

Description of the

MM_Address

L_EATP_MM_Address

Module address of the target module

Either L_EATP_CONST.OWNID for the local machine module or a valid address of a slave module

xInit

BOOL

TRUE

A change to "INIT" mode is requested.

xReady

BOOL

TRUE

A change to "READY" mode is requested.

xManual

BOOL

TRUE

A change to "MANUAL" mode is requested.

xService

BOOL

TRUE

A change to "SERVICE" mode is requested.

xHoming

BOOL

TRUE

A change to "HOMING" mode is requested.

xAutomatic

BOOL

TRUE

A change to "AUTOMATIC" mode is requested.

xMode1

BOOL

TRUE

A change to "MODE1" mode is requested.

xMode2

BOOL

TRUE

A change to the "MODE2" mode is requested.

Outputs

Identifier

Data type

Description of the

eRequestedMode

L_EATP_FAST_OpModes

The mode requested for the addressed machine module

eActualMode

L_EATP_FAST_OpModes

The active mode for the addressed machine module

xOpModeIsInit

BOOL

TRUE

The addressed module is in "INIT" mode.

xOpModeIsReady

BOOL

TRUE

The addressed module is in "READY" mode.

xOpModeIsManual

BOOL

TRUE

The addressed module is in "MANUAL" mode.

xOpModeIsService

BOOL

TRUE

The addressed module is in "SERVICE" mode.

xOpModeIsHoming

BOOL

TRUE

The addressed module is in "HOMING" mode.

xOpModeIsAutomatic

BOOL

TRUE

The addressed module is in "AUTOMATIC" mode.

xOpModeIsMode1

BOOL

TRUE

The addressed module is in "MODE1" mode.

xOpModeIsMode2

BOOL

TRUE

The addressed module is in "MODE2" mode.

xModeChangeRequested

BOOL

TRUE

A mode change was requested.

xInvalidModeRequest

BOOL

TRUE

There is an invalid request for a mode change.

Possible causes:

  • More than one input of xInit ... xMode2 is set to TRUE.

  • The addressed module is in the standard coupling to its master module. It is only possible to request a mode change for the master module.

  • The FB instance is in passive mode and there is a mode change request (see also output eFBState).

xLocalWarning

BOOL

TRUE

A warning is active on the addressed module.

xLocalError

BOOL

TRUE

An error message is active on the addressed module.

xSlaveWarning

BOOL

TRUE

A warning is active on a subordinate slave module.

xSlaveError

BOOL

TRUE

An error message is active on a subordinate slave module.

xSystemFault

BOOL

TRUE

The "SystemFault" status is active.

eFBState

L_EATP_FAST_FBState

One of the following enumeration constants:

  • "FullControl":
    The FB instance has the full range of functions.

  • "PassiveInternalControl":
    The FB instance is in passive mode (the function block inputs are deactivated) because "InternalControl" is active on the machine module.

  • "PassiveCoupledToMaster":
    The FB instance is in passive mode because the machine module has a controlling master module.

  • "PassiveSecondInstance":
    The FB instance is in passive mode because it is a second or subsequent instance for the addressed module.

  • "PassiveMasterOverride":
    The coupling of the module to its master module is deactivated. However, the master module contains a function block instance that executes the mode control.