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:
|
|
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:
|
|