3 an overview of the status methods: status_xxx, An overview of the status methods: status_xxx, An overview of the methods – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 94

Advertising
background image

An overview of the methods

An overview of the status methods: Status_xxx

94

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

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

11.3

An overview of the status methods: Status_xxx

Identifier/function

Transfer value/data type

Description

Status_DisabledModule

Checks if the slave module/the own module

has been decoupled ("disabled") 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: Decoupling is activated.

• FALSE: Decoupling is deactivated/

The machine module is coupled to

the master module.

Return value/data type
Method

BOOL

• TRUE: Machine module is

decoupled (status: "disabled").

• FALSE: Machine module is

coupled to the master (status:

"enabled").

Request master module
Status_MasterUnitModeCurrent

Returns the current mode of the master

module.

Return value/data type
Method

L_EATP_Modes_PackML

-

Status_MasterUnitStateCurrent

Returns the current status of the master

module.

Return value/data type
Method

L_EATP_States_PackML

-

Request states
Status_StateBusy

Checks if the modules are in "Busy" status. If

so, the changeover of the state machine is

prevented.

Inputs
xAllOrSlaves

BOOL

• TRUE: Request all modules.

• FALSE: Only request the slave

modules.

Return value/data type
Method

BOOL

• TRUE: One of the modules is in the

"Busy" status.

• FALSE: No module has the "Busy"

status.

Status_StateChangeInProcess

Checks if the requested module has currently

carried out a state change.

Inputs
MM_Address

L_EATP_MM_Address

ID of the module the state of which is

to be requested. The value "0" and

L_EATP_CONST.OWNID address the

module's own ID.

Return value/data type
Method

BOOL

• TRUE: State change is active.

• FALSE: No state change.

Status_StateRequested

Checks if a state has been required in the

requested module.

Inputs
MM_Address

L_EATP_MM_Address

ID of the module the state of which is

to be requested. The value "0" and

L_EATP_CONST.OWNID address the

module's own ID.

Return value/data type
Method

BOOL

• TRUE: Status request is active.

• FALSE: Currently no status request

at the module.

eStateRequested

L_EATP_States_PackML

Requested state of the module.

Advertising