Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 67

Advertising
background image

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

67

Architecture: The ApplicationTemplate PackML in detail

State machine in detail

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Querying the state

[9-25] Example: Enquires the state of all lower-level slave modules and the own module.

• xAllOrSlaves:=TRUE causes to also enquires the own module
• xAllOrSlaves:=FALSE only enquires the lower-level slaves of the module.

Querying the current state

Status_StateBusy(xAllOrSlaves:=TRUE)

Status_UnitStateCurrent (MM_Address:= L_EATP_CONST.OWNID)

Advertising