Architecture: the applicationtemplate in detail – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 76

Advertising
background image

Architecture: The ApplicationTemplate in detail

The AppChannelData structure(ACD)

76

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

[9-13] Declaration of the POINTER and REFERENCE to the ACD structure in the MAP of the MM_Machine master machine module

In the program part of the master module application (MAP), access to the ACD structure by the

AccessACD() method is to be ensured:

[9-14] Program part of the MAP_Machine_App1 module application: Certify access to the ACD structure

This renders read/write access by means of the reference and the Intellisense function to the ACD

structure of the slave possible:

[9-15] Command for reading the data field of the ACD structure

Advertising