
Lenze · ApplicationTemplate · 1.3 EN - 04/2013 115
The L_EATP_ApplicationTemplate library
1_POUs - Program Organization Units
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.2 1_POUs - Program Organization Units
11.2.1 L_EATP_Application
This block enables the empty (abstract) basic function block of a machine module application (MAP).
• Each machine module application is derived from this FB.
Local variables
AccessACD
This method allocates an access structure to the ACD structure in the user's own MFB or a slave
module.
Inputs
Output
L_EATP_Application
⎯⎯
Identifier/data type Information/possible settings
parentModule
L_EATP_IModule
Reference to the parent module containing the MAP.
• This reference has to be initialised within the MM during the creation of the MAP.
AccessACD
L_EATP_MM_Address
⎯ MM_Address AccessACD ⎯ POINTER TO
L_EATP_ACD_Base
DWORD ⎯ dwSize
Identifier/data type Information/possible settings
MM_Address
L_EATP_MM_Address
• Relative address the module the ACD structure is to be accessed.
• The value "0" and the L_EATP_CONST.OWNID constant address the module's
intrinsic address.
dwSize
DWORD
Size of the structure transferred (e.g.: SIZEOF(MACD_scExample) )
Identifier/data type Information/possible settings
AccessACD
POINTER TO
L_EATP_ACD_Base
• Returns the pointer to the ACD structure to be accessed.
Komentarze do niniejszej Instrukcji