1 accessing structure variables of machine modules, 1 accessing module's intrinsic structure variables, Accessing structure variables of machine modules – Lenze ApplicationTemplate PackML (PLC Designer R3-x) User Manual

Page 58: Accessing module's intrinsic structure variables

Advertising
background image

Architecture: The ApplicationTemplate PackML in detail

Accessing structure variables of machine modules

58

Lenze · ApplicationTemplate PackML · 1.0 EN - 05/2014

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

9

Architecture: The ApplicationTemplate PackML in detail

9.1

Accessing structure variables of machine modules

9.1.1

Accessing module's intrinsic structure variables

The structures of the machine modules contain the input and output variables of the machine

modules for integrating data in the complete system:

• I/O data: Structure MIO
• Parameters / data of the recipe manager: Structure MPar
• Persistent data: Structure MPD
• Visualization data: Structure MVis

The following example shows how a structure variable for an external visualization (assigned to the

MAP) within a module application is to be called (when a module with automatically matching

names is assigned, the matching entries will be added automatically):

[9-1]

Extract from the MVIS_scMachineControl_PackML structure

[9-2]

Extract from the "Manual" operating mode of MM_MachineControl_PackML

Structures (Structs) for ...

...IOs

...parameters (recipe manager)

...persistent data

...external visualization

// MVis_scMachineControl_PackML

// for MAP1

diPieces : DINT;

// for MAP2

diLength : DINT;

Advertising