An overview of the methods – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual
Page 95

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014
95
An overview of the methods
An overview of the status methods: Status_xxx
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Status_UnitStateCurrent
Checks in which state the requested module
currently is.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the state of which is
to be requested. The value "0" and
L_EATP_CONST.OWNID address the
module's own ID.
Return value/data type
Method
L_EATP_States_PackML
Current status of the machine
module requested.
Request modes
Status_ModeChangeAllowed
Checks if a certain mode change is permitted
for the requested module.
Inputs
eNextMode
L_EATP_Modes_PackML
Desired mode the machine module is
to change to.
Return value/data type
Method
BOOL
• TRUE: The desired mode change is
permissible for the module.
• FALSE: The change to the mode
set at the input is not permissible
for this module.
Status_UnitModeChangeInProcess
Checks if the requested module has currently
carried out a mode change.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the state of which is
to be requested. The value "0" and
L_EATP_CONST.OWNID address the
module's own ID.
Return value/data type
Method
BOOL
• TRUE: The module carries out a
mode change.
• FALSE: Currently no change of the
mode is active.
Status_UnitModeCurrent
Checks in which mode the requested module
currently is.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the state of which is
to be requested. The value "0" and
L_EATP_CONST.OWNID address the
module's own ID.
Return value/data type
Method
L_EATP_Modes_PackML
Current mode of the machine
module requested.
Status_UnitModeRequested
Checks if the mode is currently requested at
the requested module/which the module is
currently in.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the state of which is
to be requested. The value "0" and
L_EATP_CONST.OWNID address the
module's own ID.
Return value/data type
Method
BOOL
• TRUE: Request of the current
mode is active.
• FALSE: No mode requested.
eStateRequested
L_EATP_Modes_PackML
Requested mode.
Identifier/function
Transfer value/data type
Description