
4th edition, 9-11-2018
7000.05050, 4th edition, 9-11-2018
7000.05050
Trace
38
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. 17: Trace Buffer (0x2371)
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.
Trace State (0x2371.01)
Tab. 18: Trace State (0x2371.01)
Before the recorded data are read, the Triggerstatus 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 Segmented SDO-Upload Protokoll.
Index
Subindex Name
Type
Attr.
Default value
Meaning
0x2371 0x00
Number of Entries
U8
ro
5
Number of object entries
0x01
Trace State
U16
ro
0
Trigger status
0x02
Trace Value of
Channel 1
Vis
string
ro
–
Signal buffer, channel 1
0x03
Trace Value of
Channel 2
Vis
string
ro
–
Signal buffer, channel 2
0x04
Trace Value of
Channel 3
Vis
string
ro
–
Signal buffer, channel 3
0x05
Trace Value of
Channel 4
Vis
string
ro
–
Signal buffer, channel 4
The individual data points can be recorded to the highest resolution of the recorder.
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