
4 Trace
15-04-2016 33 7000.05052
Buffer size (0x2370.05)
The length of the buffer available for recording is set in object 0x2370.05. The permissible
length is dependent on the data type of the parameter to be recorded. A maximum
buffer of 2 kB per data source is available.
Sample time (0x2370.06)
The sampling rate is stated in object 0x2370.06 as a multiple of the controller sampling
time.
4.1.2
Reading the trace buffer
The recorded data buffer can be read using the object 0x2371.
Tab. 37: Trace buffer (0x2371)
Index
Subindex Name
Type Attr.
Default value Meaning
0x2371 00
Number of
entries
U8
ro
6
Number of object entries
01
Trigger status
U8
ro
0
Status and index of the first word in
the buffer
02
Value source 1
U8
ro
0
Value of source 1
03
Value source 2
U8
ro
0
Value of source 2
04
Value source 3
U8
ro
0
Value of source 3
05
Value source 4
U8
ro
0
Value of source 4
The user data length of the individual data sources is dependent on the data length of
the parameter to be transmitted (according to the OD entry) and the set buffer size. A
memory area the size of the data length times the buffer size must therefore be provided
for each data source, for reading the recorded values.
The individual data points can recorded to the highest resolution of the trace
recorder.
Trigger status (0x2371.01)
Tab. 38: Trigger status (0x2371.01)
Bit
Entry
Description
0 (LSB)
1
Status 0
Status 1
0: No trigger active
1: Trigger not yet reached
2: Recording not yet completed
3: Recording completed, data are available
2 to 7
not used
–
8 to 15 (MSB)
Start index
First value in the buffer after triggering
Before the recorded data are read, the trigger status 0x2371.01 must be checked. If bit 0
and bit 1 are set (status = 3) recording is completed and the contents of the buffer can be
read using the objects 0x2371.02 to 0x2371.05 via the segmented SDO upload protocol.