Table 50: Error messages
Name of error
Details of error
Details
Command error
0x00E1
The specified command does not
exist
Address error
0x00E2
The specified address exceeds the
permitted range
Overflow
0x00E9
Data overflow is returned
7.4.12
Reading saved measurement data
This function is used to output the measurement values recorded with the
Recording
function (see
) using UDP data packets.
The outputted UDP data packet contains the measurement values of all 4 channels as
a 4-byte double word with a maximum of 80 measurement values per packet.
If one of the four channels is inactive or less than 80 measurement values per channel
are being transmitted, the substitute value “7F FF FF FF” is written instead.
The first four bytes of a packet contain the sequence number of the respective packet.
This sequence number is “00 00 00 00” for the first packet and increases by 1 for
each subsequent packet. The last packet transmitted has the sequence number “FF FF
FF FF”, which signals the end of the transmission.
The measurement data request occurs via the control port 5011. The requested mea‐
surement data are transmitted from port 5008.
Example:
400 measurement values were collected using the recording function.
Channel A is active, Channels B-D are inactive.
The measurement values are to be sent from the OD5000 to the target IP address “192.168.0.50” and the target
port “30718”.
The data packets are to be sent at time intervals of 2 ms.
Table 51: Commands for the example data
Description
Command
Write target IP
address
0x4002 0x0070 0x0004 0xC0A8 0x0032
Write target port
0x4002 0x0074 0x0004 0x0000 0x77FE
Write
transmission interval
0x4002 0x0078 0x0004 0x0000 0x0002
Read measure‐
ment data
0x4002 0x0CF8 0x0004 0x0000 0x0001
Table 52: Responses for the example data
Description
Data packets
Last packet
FF FF FF FF
00 3D DF 74
7F FF FF FF
7F FF FF FF
7F FF FF FF
00 3D DF 73
…
…
…
4th packet
00 00 00 03
00 3D DF 63
7F FF FF FF
7F FF FF FF
7F FF FF FF
00 3D DF 64
…
3rd packet
00 00 00 02
00 3D DF 70
7F FF FF FF
7F FF FF FF
7F FF FF FF
00 3D DF 70
…
2nd packet
00 00 00 01
00 3D DF 59
7F FF FF FF
7F FF FF FF
7F FF FF FF
00 3D DF 55
…
1st packet
00 00 00 00
00 3D DF 51
7F FF FF FF
7F FF FF FF
7F FF FF FF
00 3D DF 51
…
Color legend:
Sequence number
Measured value 1 Channel A
Measured value 1 Channel B
Measured value 1 Channel C
Measured
value 1 Channel D
Measured value 2 Channel A
…
7
OPERATION
78
O P E R A T I N G I N S T R U C T I O N S | OD5000
8021391/17Y6/2020-05-11 | SICK
Subject to change without notice