Table 4: Data output: Header
Structure Data type Length in bytes Offset in bytes Description
Version Version USInt 1 0 0: The rest of this structural element is invalid. Other values: valid.
Major version USInt 1 1 Main version number. Different numbers stand for incompatible
v
ersions.
Minor version USInt 1 2 Sub version number. Versions with different sub version numbers
are compatible if the main versions numbers are the same.
Release USInt 1 3 Release number.
Device serial number UDInt 4 4
Serial number of the system
plu
g
UDInt 4 8
Channel number USInt 1 12 Number of the data output channel.
Reserved 3 13
Sequence number UDInt 4 16 The sequence number applies for the current data output channel.
It is incr
eased by 1 with each data set sent.
Scan number UDInt 4 20 The number of the scan to which the data set belongs.
Time stamp Date UInt 2 24 Time at which the data set was created.
T
he measurements are carried out regularly according to the scan
cycle time set. There can be a jitter in the time stamp since it is
not synchronized with the beginning of the scan.
Date:
•
If real-time clock is available: days since 01.01.1972
•
If no real-time clock is available: number of full 24-hour cycles
since device was switched on.
Time:
•
If real-time clock is available: milliseconds after midnight.
•
If no real-time clock is available: milliseconds since the start of
the current 24-hour cycle since switching on the device.
Reserved 2 26
Time UDInt 4 28
Block device status Offset UInt 2 32 If the data block concerned is contained, then "Offset" displays the
be
ginning of the block in the structure (based on byte 0 of the
structure). "Size" is the size of the corresponding data block. If a
data block is not contained (not configured or currently no data
available) then size = 0 and offset = 0.
The blocks must be addressed via the offset that is given in the
header. The blocks may not be addressed via a fixed offset
because the size of a block and therefore the offset to the duration
can change.
Size UInt 2 34
Block configuration of data
out
put
Offset UInt 2 36
Size UInt 2 38
Block measurement data Offset UInt 2 40
Size UInt 2 42
Block field interruption Offset UInt 2 44
Size UInt 2 46
Block application data Offset UInt 2 48
Size UInt 2 50
7 ANNE
X
20
T E C H N I C A L I N F O R M A T I O N | microScan3, outdoorScan3 8022708/2019-04-15 | SICK
Subject to change without notice