Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 63

Advertising
background image

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

63

Architecture: The ApplicationTemplate PackML in detail

The AppChannelData structure(ACD)

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

module

[9-16] Schematic diagram: Accessing the ACD structure of the slave modules from the modes of the master (Machine Control)

Access to the slave modules

• In order to access the ACD structure of a lower-level slave machine module from the modes of

the master module, a pointer and a reference to the ACD structure of the slave have to be

declared.

• Pointer and reference have to be declared in the module application (ModApp) of the master.

[9-17] Declaration of the POINTER and REFERENCE to the ACD structure in the mode M03_Manual of MM_MachineControl_PackML

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

AccessACD() method is to be ensured:

[9-18] Example: Program part of mode M03_Module1_PackML_Manual: Certify access to the ACD structure

Advertising