12 appendix, 1 method overview - applicationtemplate, Appendix – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 131: Method overview, Applicationtemplate

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

131

Appendix

Method overview - ApplicationTemplate

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

12

Appendix

12.1

Method overview - ApplicationTemplate

12.1.1

Accessing the state machine - the methods of the BaseChannel

Identifier/function

Transfer value/data type

Description

Reading values
baseChannelGetActualState

Determines the actual state of the

state machine for the lower-level

slave module / for its own machine

module.

MM_Address

L_EATP_MM_Address

• Address of the module the current

state of which is to be requested.

• The value "0" and the

L_EATP_CONST.OWNID constant

address the module's intrinsic ID.

Return value/data type

L_EATP_SMStates

• Current status of the machine

module requested

baseChannelGetErrorInformation

Reads out error information with the

highest priority. Error sources may

be:

• Module's intrinsic application

(MAP).

• Lower-level slave machine

module.

Input

• Address of the module the current

state of which is to be requested.

• The value "0" and the

L_EATP_CONST.OWNID constant

address the module's intrinsic ID.

MM_Address

L_EATP_MM_Address

Return values / data type
dwActPriority

DWORD

Current error information:

• Priority,

• Error number,

• Error response type,

• Acknowledgement response,

• Error texts,

• Error details.

wActErrCode

WORD

eActReaction

L_EATP_ErrorReactionType

xAckNeeded

BOOL

sActText

STRING

dwActErrDetail

DWORD

baseChannelGetNominalState

• Determines the target status of

the state machine for the

machine module/the user's own

module requested.

MM_Address

L_EATP_MM_Address

• Relative address of the module

the current state of which is to be

requested.

• The value "0" and the

L_EATP_CONST.OWNID constant

address the module's intrinsic

address.

Return value/data type

L_EATP_SMStates

• Desired status of the machine

module requested

Advertising