Architecture: the applicationtemplate in detail – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual
Page 75
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
75
Architecture: The ApplicationTemplate in detail
The AppChannelData structure(ACD)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
In the program part of the module application (MAP), access to the ACD structure by the
AccessACD() method is to be ensured:
[9-10] Program part of the MAP_Module1_App1 module application: 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-11] Command for writing data to the ACD structure
9.2.3
Accessing an ACD structure - by means of the module application of the MFB master
module
[9-12] Schematic diagram: Accessing the ACD structure from the master module application (MAP) (MM_Machine)
In order that an application of the master module can access the ACD structure of a lower-level
machine module, a pointer and reference to the ACD structure of the slave have to be declared in
the declaration part of the master module application.