
Architecture: The ApplicationTemplate in detail
State machine
82
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.3.4 Mapping of the states - Enum L_EATP_SMStates
The different states of the state machine are mapped in the L_EATP_SMStates enumeration.
L_EATP_SMStates
( 130)
9.3.5 Activating the states - baseChannelSetNominalState method
The ApplicationTemplate provides methods to set the machine modules to a specific state.
Note!
This method can be used if...
• ...the .DisableDefaultCouplingSlave function (module's intrinsic target status)
The "DisableDefaultCouplingMaster" function
( 85) is activated, or
• ...the .DisableDefaultCouplingMaster function (target status of a slave module) is
activated. The "DisableDefaultCouplingSlave" function
( 86)
• ...the machine control module (MM in the top level of the MachineModuleTree
(MMT)) sets itself to a specific state, so that the subordinated modules change to the
same
status.
Method name Transfer value/data type Description
baseChannelSetNominalState Set the target status of the state
machine for the corresponding slave
module/own module.
MM_Address
L_EATP_MM_Address
• Address of the module the current
state of which is to be queried.
• The value "0" and the
L_EATP_CONST.OWNID constant
address the module's intrinsic ID.
eState
L_EATP_SMStates
• Setpoint status to be set.
Komentarze do niniejszej Instrukcji