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

Page 68

Advertising
background image

Architecture: The ApplicationTemplate PackML in detail

State machine in detail

68

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

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

9.3.3

The state transitions in detail: Command_CtrlCmds() method

Desired

state change from...

to...

Required

command

(CtrlCmd)

Method call

Command_CtrlCmd(eCtrlCmd:=L_EATP_CtrlCmds_PackML.[CtrlCmd],

xCmdChangeRequest:=TRUE);

Actual  setpoint state

Example: Command_CtrlCmd...

"Idle""Starting"

Start

...(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Start,xCmdChangeRequest:=TRUE);

"Starting"

"Execute"

State

Complete

(SC)

...(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Execute"

"Completing"
"Completing"

"Complete"
"Complete"

"Resetting"

Reset

...(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Reset,xCmdChangeRequest:=TRUE);

"Resetting"

"Idle"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Execute"

"Holding"

Hold

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Hold,xCmdChangeRequest:=TRUE);

"Holding"

"Held"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Held"

"UnHolding"

UnHold

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Unhold,xCmdChangeRequest:=TRUE);

"UnHolding"

"Execute"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Execute"

"Suspending"

Suspend

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Suspend,xCmdChangeRequest:=TRUE);

"Suspending"

"Suspended"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Suspended"

"UnSuspending"

Unsuspend

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Unsuspend,xCmdChangeRequest:=TRUE);

"UnSuspending"

"Execute"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"All"

"Stopping"

Stop

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Stop,xCmdChangeRequest:=TRUE);

"All"

"Aborting"

Abort

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Abort,xCmdChangeRequest:=TRUE);

"Aborting"

"Aborted"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Aborted"

"Clearing"

Clear

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Clear,xCmdChangeRequest:=TRUE);

"Clearing"

"Stopped"

State

Complete

(SC)

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.StateComplete,xCmdChangeRequest:=TRUE);

"Stopping"

"Stopped"
"Stopped"

"Resetting"

Reset

...

(eCtrlCmd:=L_EATP_CtrlCmds_PackML.Reset,xCmdChangeRequest:=TRUE);

Advertising