14 reset runtime measurement, Reset runtime measurement, 5drive interface – Lenze E94AxPExxxx User Manual

Page 108

Advertising
background image

5

Drive interface

5.2

Device commands

108

Lenze · 9400 Servo PLC· Reference manual · DMS 4.0 EN · 11/2013 · TD05/06

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

5.2.14

Reset runtime measurement

When the application is started, the controller continuously carries out a runtime measurement for

the interval-controlled application task, the interval-controlled user task, and the free-running idle

task and displays the current and maximum task runtimes via parameters.
The

C00002

= "36: Reset runtime measurement" device command is used to reset the runtime

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

Possible status displays for this device command

Example for runtime measurement

[5-19] Example: Runtimes of the different tasks

Display parameter

Status (

C00003

)

Meaning

2393346 Device command in process

2359296 Device command executed successfully

2359297 General error

Note!

The runtime measurement is also reset by the following actions:

• Start application
• Reset/delete/restart program

 System task

 Application task (here: task interval = 1 ms)

 User task (here: task interval = 4 ms)

 Free-running idle task

T1 = runtime of the application task

T2 = runtime of the user task

T3 = runtime of the idle task

0

1 ms

4 ms

T1

T2

T2

T1

T1

T1

T1

T1

T3

1

0

2

3

Parameter

Info

Lenze setting

Value Unit

C02121/1

Current runtime - application task

- μs

C02121/2

Maximum runtime - application task

- μs

C02122/1

Current runtime - user task

- μs

C02122/2

Maximum runtime - user task

- μs

Highlighted in grey = display parameter

Advertising