Architecture: the applicationtemplate in detail – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 87

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

87

Architecture: The ApplicationTemplate in detail

Default coupling

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

• The method call has no impact on the connection of the ACD structure of the respective

machine module.

• The master of the state machine can read out a decoupled module via the corresponding

baseChannelGetActualState methods.



Accessing the state machine - the methods of the BaseChannel

( 131)

• The master of the respective state machine can read out the status of a decoupled module (via

the corresponding methods). The use of this mechanism is advisable if the module is provided

with at least one higher-level master module.

Error response - response for the occurrence of an error

• The DisableDefaultCouplingSlave method decouples the slave module from the state machine

of the master module; example: decoupling M1.2.2 from M1.2.

• The Quick stop error status of M1.2 has no impact on M1 and M1.1 (the M1.2 module is

decoupled from M1).

• The state machine of the master module M1 no longer has an impact on the module M1.2

(due to the decoupling).

• Error acknowledgement by the M1 master module no longer has an impact on M1.2 and its

slave modules.

[9-19] Sample program: Deactivating "DefaultCouplingSlave"

"DefaultCouplingSlave" methods - overview

: Error response to "Fault" status of M1.2.2 by

SMDisableDefaultCouplingSlave(xValue := TRUE);

Identifier/function

Transfer value/data type

Description

baseChannelGetDefaultCouplingSla

veDisabled

• Queries the status of the

DisableDefaultCouplingSlave

method of the respective module.

MM_Address

L_EATP_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.

Return value/data type

BOOL

• TRUE: Deactivate the standard

coupling of the master.

• FALSE: Activate the standard

coupling of the master.

SMDisableDefaultCouplingSlave

• Activates/deactivates the

standard coupling of the slave.

xValue

BOOL

• TRUE: Deactivate the standard

coupling of the slave

• FALSE: Activate the standard

coupling of the slave

Advertising