2 an overview of the command methods: command_xxx, An overview of the command methods: command_xxx, An overview of the methods – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual
Page 92

An overview of the methods
An overview of the command methods: Command_xxx
92
Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.2
An overview of the command methods: Command_xxx
The command methods in alphabetical order.
Admin_StateCurrentTime
Reads out the current waiting time of the
slave module/own modue in the current
state.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the status 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
UDINT
Time in seconds
Admin_StatesAvailable
Provides the status of the activated/
deactivated state in the current mode as bit
mask.
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the status 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
DWORD
Bit status
• TRUE: Status is activated.
• FALSE: Status is deactivated.
Bit/status
0: Undefined
1: Clearing
2: Stopped
3: Starting
4: Idle
5: Suspended
6: Execute
7: Stopping
8: Aborting
9: Aborted
10: Holding
11:Held
12: UnHolding
13: Suspending
14: Unsuspending
15:Resetting
16:Completing
17:Complete
Identifier/function
Transfer value/data type
Description
Identifier/function
Transfer value/data type
Description
Command_AlarmQuit
Sets the bit for acknowledging an alarm for a
slave module/for an own machine module
Inputs
MM_Address
L_EATP_MM_Address
ID of the module the status of which
is to be requested. The value "0" and
L_EATP_CONST.OWNID address the
module's own ID.
xValue
BOOL
• TRUE: Alarm acknowledgement is
activated.
• FALSE: Alarm acknowledgement
is deactivated.
Command_CmdStateBusy
Sets the machine module to "Busy". This
prevents a switching of the transition.
Input
xStateBusy
BOOL
• TRUE: Set "Busy" state.
• FALSE: Reset "Busy" state.