Cycle time measuring – BECKHOFF BK3xx0 User Manual

Page 61

Advertising
background image

Notes on the Documentation

Fieldbus Components

59

Cycle Time Measuring

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

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

Slot number

Index

Length

Data

Description

Byte 0: 0x04

Byte 1: 0x01

Byte 2: 0x01

0

99

4

Byte 3: 0x00

Start the cycle time measurement

Byte 0: 0x04

Byte 1: 0x01

Byte 2: 0x00

0

99

4

Byte 3: 0x00

Stop the cycle time measurement

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

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)

0

98

8

Byte 6, 7

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

Advertising