In this mode, the device transmits the measured values automatically at intervals of
1 ms. If detection times are used which are faster than 1 ms, each data transmission
will contain several measured values.
In order to activate Push mode, a target must be available for the data push (target IP
address, port) and a selection of data channels (channel A, B, C, and/or D).
NOTE
The device can transmit several channels at the same time.
Table 41: Command list for data push
Access Command
Name
Parameter
Comments
R/W
0x10E2
Data push port
*7
2 bytes
R/W
0x10E4
Data push IP
address
*8
R/W
0x01E0
Data push chan‐
nel selection
0x00: Stop Data
Push
0x01 … 0x0F:
Start Data Push
Sets the measured value
channel of the output by
setting the following bits:
Bit 0: Channel A
Bit 1: Channel B
Bit 2: Channel C
Bit 3: Channel D
*7: Explanation of the parameters (data push port)
The target IP port for the data push must be set as a 16-bit signed integer (0 to
65535). The port is usually selected automatically by the target computer when it ini‐
tiates UDP communication to OD5000.
*8: Explanation of the parameters (data push IP address)
The address is set with a byte array (e.g., IP address 192.168.0.01
→
write parameter
is 0xC0 A8 00 0A).
The data format of the push data transmission is defined as follows:
Table 42: Meaning of the bytes
Byte no. Length
Meaning
0 ... 1
2
Bits 15 to 12: Data push identifier 0xD bits 11 to 0: Length of the data
frame (without bytes 0 to 1)
2 ... 5
4
Sensor status (see command 0x01F4)
6 ... 9
4
Time stamp of the first value (unit: ns)
The time stamp of the remaining values must be ascertained on the basis of
the detection period.
The time stamp is reset to zero after every second.
10 ...
13
4
Measurement counter of the first value.
The measurement counter determines whether measurements between two
references were deleted.
14 ...
Various The remaining data frame (as indicated by the length indicator in bytes 0 to
1) contains the measured values.
Each measured value is displayed as a signed 32-bit value (big-endian).
Each channel returns values which were collected in the previous 1 ms. The
sequence is:
(Channel first selected, oldest value) - (channel selected second, oldest
value) ... - (channel selected last, oldest value)
...
(Channel first selected, most recent value) - (channel selected second, most
recent value) ... - (channel selected last, most recent value)
OPERATION
7
8021391//2017-10-06 | SICK
O P E R A T I N G I N S T R U C T I O N S | OD5000
65
Subject to change without notice