4 mapping of the states - enum l_eatp_smstates, Mapping of the states - enum l_eatp_smstates, Architecture: the applicationtemplate in detail – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual
Page 82
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.
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
• ...the .DisableDefaultCouplingMaster function (target status of a slave module) is
activated.
The "DisableDefaultCouplingSlave" function
• ...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
• 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
• Setpoint status to be set.