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

Page 98

Advertising
background image

Architecture: The ApplicationTemplate in detail

Multitasking

98

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

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

9.15

Multitasking

• The ApplicationTemplate is able to multitask.
• The following tasks are defined in the ApplicationTemplate:

• In the

A11_ModuleAppCalls folder, the respective module applications can be assigned to

the corresponding task.

• ModuleAppCalls (MAC) are the calls of a module application (MAP) by the associated

machine modules (MM) of the corresponding task.

[9-27] According to the task configurations, the associated programs (CallFree, CallHigh, and CallMid) are to be called, which, in

turn, call the ModulAppCall programs (MAC_Task_Free, MAC_Task_High, and MAC_Task_Mid).

[9-28] The ModulAppCall program contains machine module applications which are assigned to the corresponding task.

• The connection to the interface system (like for example the I/O system and visualization) is to

be carried out in the corresponding ModulAppCall program (MAC).

• The module applications which are assigned to the corresponding tasks are stored...

• ...in the

A70_MachineModuleSources folder or

• ...in the corresponding module libraries.

Task level

Priority

Type

Cycle time

(bold = default value)

Task_High

High

Cyclic

Short (1, 2, 4 ms)

Task_Mid

Medium

Cyclic

Medium (4, 6, 8, 16

ms)

Task_Free

Low

Unsolicited

Unsolicited

Advertising