6 registeracd(), 7 setcompidandversion(), The l_eatp_applicationtemplate library – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual
Page 122

The L_EATP_ApplicationTemplate library
1_POUs - Program Organization Units
122
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.2.6
RegisterACD()
This method records the ACD structure in the module FB (MFB).
11.2.7
setCompIDAndVersion()
This method sets the module ID (CompID) and version of the machine module.
Inputs
RegisterACD
⎯ scStruct
DWORD ⎯ dwSize
Identifier/data type
Information/possible settings
scStruct
Transferred structure is to be derived from the L_EATP_ACD_Base structure. (e.g.:
TYPE MACD_scExample EXTENDS L_EATP_ACD_Base)
dwSize
DWORD
Size of the structure transferred (e.g.: SIZEOF(MACD_scExample) )
Identifier/data type
Information/possible settings
dwCompID
DWORD
Module ID
• The free area of the CompID is between 16#3C00 – 16#3FF
dwVersion
DWORD
Version of the machine module