Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual
Page 62
Architecture: The ApplicationTemplate PackML in detail
The AppChannelData structure(ACD)
62
Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
application
[9-12] Schematic diagram: Accessing the ACD structure from the module application (MAP) of a machine module (MM_Module)
In order to access the ACD structure from a mode of the MFB...
• ...a POINTER to the ACD structure and
• ...a reference to the ACD structure have to be declared in the desired module application.
[9-13] Declaration of the POINTER and REFERENCE to the ACD structure in the MAP of the MM_Module1_PackML machine module
In the program part of the module application (MAP), access to the ACD structure by the
AccessACD() method is to be ensured:
[9-14] Example: Program part of mode M03_Module1_PackML_Manual: Certify access to the ACD structure
This renders a read/write access by means of the reference and the Intellisense function to the data
contents of the ACD structure possible:
[9-15] Command for writing data to the ACD structure
9.2.3
Accessing the ACD structure of the slave modules - by means of the modes of the master