Gocator Line Profile Sensors: User Manual
Protocols • 366
Get Timestamp
The Get Timestamp command retrieves the sensor's timestamp, in clock ticks. All devices in a system are
synchronized with the system clock; this value can be used for diagnostic purposes, or used to
synchronize the start time of the system.
Field Type Offset Description
length 32u 0 Command size including this field, in bytes.
id 16u 4 Command identifier (0x100A).
Command
Field Type Offset Description
length 32u 0 Reply size including this field, in bytes.
id 16u 4 Reply identifier (0x100A).
status 32s 6
Reply status. For a list of status codes, see Commands on page
350.
timestamp 64u
10
Timestamp, in clock ticks.
Reply
Get Encoder
This command retrieves the current system encoder value.
Field Type Offset Description
length 32u 0 Command size including this field, in bytes.
id 16u 4 Command identifier (0x101C).
Command
Field Type Offset Description
length 32u 0 Reply size including this field, in bytes.
id 16u 4 Reply identifier (0x101C).
status 32s 6
Reply status. For a list of status codes, see Commands on page
350.
encoder 64s 10 Current encoder position, in ticks.
Reply
Reset Encoder
The Reset Encoder command is used to reset the current encoder value.
The encoder value can be reset only when the encoder is connected directly to a sensor. When
the encoder is connected to the master, the value cannot be reset via this command.
Field Type Offset Description
length 32u 0 Command size including this field, in bytes.
id 16u 4 Command identifier (0x101E).
Command