Gocator Line Profile Sensors: User Manual
Protocols • 651
Byte Index Name
Data
Type
Description
filename
single character. Max 64 bytes.
(valid when byte 1 = 0)
84-87 Runtime
Variable 0
32s Runtime variable value at index 0
… …
96-99 Runtime
Variable 3
32s Runtime variable value at index 3
Stamp Module
The length of the Stamp module is 45 bytes. The sensor sends the module to the client. The extra
unused space is for future expansion.
Byte Index Name
Data
Type
Description
0-1 Inputs 16u
2-9 zPosition 64u Encoder position at time of last index pulse
10-13 Exposure 32u Laser exposure in us
14-17 Temperature 32u Sensor temperature in degrees celsius * 100 (centidegrees)
18-25 Position 64u Encoder position
26-33 Time 64u Timestamp
34-41 Frame Count 64u Each new sample is assigned a frame number
Measurements Module
The length of the Measurement module is 800 bytes. The sensor sends the module to the client. The
measurements and decisions are sent in big endian format only. Each measurement plus decision takes
5 bytes so this module can hold a maximum of 800/5 = 160 measurements + decisions.
Byte Index Name
Data
Type
Description
0-3 Measurement
0
32s
measurement value
(0x80000000 if invalid)
4 Decision 0 8u
Measurement decision is a bit mask where:
Bit 0: 1 – Pass, 0 – Fail
Bits [1-7]:
0 – Measurement value OK
1 – Invalid Value
2 – Invalid Anchor