beautypg.com

1 runtime measurement, Runtime measurement, 2introduction – Lenze E94A User Manual

Page 33

background image

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

33

2

Introduction

2.8

Multitasking in the Servo Drive 9400

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

2.8.1

Runtime measurement

When the application has been started, the controller continuously carries out a runtime measure-

ment for the interval-controlled ApplicationTask, the interval-controlled UserTask and the idling Id-

leTask.

• The runtime is the time from the starting time of the task to the time where the processing of

the task logic has been completed, including all interruptions (e.g. by higher-priority tasks).

• The runtime measurement also includes an operating system part of the Servo Drive 9400, the

runtime of which depends among other things on the plugged-in modules.

• The current and maximum task runtimes are displayed in the following display parameters:

• The device command C00002 = "36: Reset runtime measurement" serves to reset the runtime

measurement, e.g. the memory for the maximum values is reset to "0".

Parameter

Information

Lenze setting

Value Unit

C02121/1

Current runtime of ApplicationTask

- μs

C02121/2

Maximum runtime of ApplicationTask

- μs

C02122/1

Current runtime of UserTask

- μs

C02122/2

Maximum runtime of UserTask

- μs

C02123/1

Current runtime of IdleTask

- μs

C02123/2

Maximum runtime of IdleTask

- μs

Grayed out = display parameter

Note!

The runtime measurement is also reset by the following actions:

• Start application
• Reset/delete/restart program