An overview of the methods – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 93

Advertising
background image

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

93

An overview of the methods

An overview of the command methods: Command_xxx

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

Command_CtrlCmd

Changeover of the prevailing transitions of

the PackML state machine.

Inputs
eCtrlCmd

L_EATP_CtrlCmds_PackML

Desired status to be set of the

machine module requested.

xCmdChangeRequest

BOOL

TRUE: Request desired status.

Command_DisableModule

Activates/deactivates the decoupling of a

slave machine module from the master.

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: Activate decoupling.

• FALSE: Deactivate decoupling:

The machine module is coupled to

the master module.

Command_SendAlarmReactionIfDisabled

Activates/deactivates the transfer of alarm

reaction types to the master module even if

the module is deactivated (DisableModule).

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.

xSend...

Activates/deactivates the transfer of

an alarm reaction type:

TRUE: Activate the transfer of the

type/

FALSE: Deactivate the transfer of the

type.

• ...SystemFault

• ...Abort

• ...Stop

• ...Fault

BOOL

• Reaction type "System fault"

• Reaction type "Abort"

• Reaction type "Stop"

• Reaction type "Fault"

Command_UnitMode

Changeover of the modes from the states

that are defined in the PackMLConfig

program.

Predefined operating modes in

ModApp1 ( 20)

Inputs
eUnitMode

L_EATP_Modes_PackML

Mode to be set.

xUnitModeRequest

BOOL

TRUE: Request desired mode.

Identifier/function

Transfer value/data type

Description

Advertising