2 l_eatp_basechannel, 3 l_eatp_errorlist, 4 l_eatp_errorlistentry – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 128: L_eatp_basechannel ( 128), L_eatp_errorlist ( 128), L_eatp_errorlistentry ( 128), The l_eatp_applicationtemplate library

Advertising
background image

The L_EATP_ApplicationTemplate library

2_Structs_Types

128

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

11.3.2

L_EATP_BaseChannel

This structure implements the communication channel for basic data (BaseChannel) between a

master and a slave node, respectively.

• The BaseChannel elements contained the basic functions "State machine" and "Error handling".

STRUCT view

11.3.3

L_EATP_ErrorList

This array type defines the global error list.

• The global variable declaration GVL L_EATP_GVL defines exactly one instance of this type with

the name ErrorList .

[11-2] TYPE view

11.3.4

L_EATP_ErrorListEntry

This structure contains the attributes of an error entry in the global error list.

STRUCT view

Identifier/data type

Module view Information/possible settings

Control Status

dwCompID

DWORD

Module ID

dwVersion

DWORD

Version of the machine module

eSMActState

L_EATP_SMStates

z

Current ACTUAL status of the state machine

xSMWarning

BOOL

z

The independent "Warning" status is active.

eEHActReactionType

L_EATP_ErrorReactionType

z

Error response type

eSMSetState

L_EATP_SMStates

z

Required TARGET status of the state machine

xEHQuitError

BOOL

z

Error acknowledgement (rising edge)

L_EATP_ErrorList : ARRAY[1.. L_EATP_GVL.ErrorListEntryCount] OF
L_EATP_ErrorListEntry;

Identifier/data type

Information/possible settings

sMM_Address

STRING

Absolute address of the machine module.

sModuleName

STRING

Version of the machine module.

wErrCode

WORD

Unique error number.

eReaction

L_EATP_ErrorReactionType

Error response type

Advertising