Cycle Time Measuring

The duration of the process data cycle can be measured with DPV1.

The cycle time measurement is started or stopped using DPV1 Write:

Slot number

Index

Length

Data

Description

0

99

4

Byte 0: 0x04

Start the cycle time measurement

Byte 1: 0x01

Byte 2: 0x01

Byte 3: 0x00

0

99

4

Byte 0: 0x04

Stop the cycle time measurement

Byte 1: 0x01

Byte 2: 0x00

Byte 3: 0x00

The minimum, maximum, mean (of the last 200 cycles) and current cycle time can be read with DPV1 Read and reset with DPV1 Write:

Slot number

Index

Length

Data

Description

0

98

8

Byte 0, 1

Minimum cycle time in µs (INTEL format, low byte first)

Byte 2, 3

Maximum cycle time in µs (INTEL format, low byte first)

Byte 4, 5

Mean cycle time in µs (INTEL format, low byte first)

Byte 6, 7

Current cycle time in µs (INTEL format, low byte first)