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

Page 29

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

29

Overview - the structure of the ApplicationTemplate

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

6

Overview - the structure of the ApplicationTemplate

The Lenze ApplicationTemplate facilitates programming with the »PLC Designer«.

• The ApplicationTemplateCounter has the following predefined structure:

Tip!

Combine the "local sources" from the

A71_LocalSources folder in one library.

A10_MachineModuleTree (MMT)

• The Machine module tree maps the mechatronic

functionality of the machine structure in the form of

machine modules (MM).

A11_ModuleAppCalls (MAC)

• ...contains the assignments of module applications (MAP)

to the tasks.

A20_Visualisation

• ...contains the visualizations for the device-independent

functions.



Getting started - operating the

ApplicationTemplate ( 35)

A55_VarLists

• ...contains the declarations of the global variables:

• Machine modules used: MM_Dcl

• IO variables: MM_IO

• Parameters: MM_Par

• Variables for an external visualization: MM_Vis

• Persistent data: MM_PD

A60_MotionObjects

• ...predefined folder for motion-relevant data, example:

CAM profiles.

A65_EmptyModule

• ...contains the machine module sources

• ...contains the EmptyModule template for creating your

own machine modules.



Creating your own machine

modules: Copy/insertMM_EmptyModule ( 51)

A70_MachineModuleSources

• ...contains the individually created machine

modules



Machine modules (MM) ( 18)

• ...contains the visualization of the machine modules.

ApplicationTemplateCounter:

• ...contains two predefined machine modules.

A71_LocalSources

• ...storage location for machine-independent

enumerations, function blocks, structures, visualizations.

A80_Documentation

• ...predefined folders for "project history" documents,

example: version information, changes.

A90_Resources

• ...contains the system information such as:

• Task settings,

• Libraries used,

• Recipe manager,

• Visualization manager.

Advertising