User Manual
TITLE
DRAWING
NO.
Communication Protocol
Specification
For
SCIP2.0
C-42-03320B
15/25
8.6 [TM-Command]
This command is used to adjust (match) the host and sensor time. Sensor should be switched to adjust mode
before requesting its time and mode should be switched off after the adjustment. When the sensor is in
adjustment mode laser is switched off and it will not accept any other commands unless the mode is terminated.
Sending multiple TM Command with different string lengths and comparing the time can estimate average
data transmission time between sensor and host.
(HOST → SENSOR)
T (54H) M (4dH)
Control Code
(1 byte)
String Characters LF
Control Code:
0 --- Adjust mode on
1 --- Time request
2 --- Adjust mode off
(SENSOR → HOST)
1. When the Control Code is 0 or 2 or status is not 00.
T M Control Code String Characters LF Status Sum LF LF
Status:
00 --- Command received without any Error
01 --- Invalid Control Code.
02 --- Adjust mode on command is received when sensor’s adjust mode is already on
03 --- Adjust mode off command is received when sensor’s adjust mode is already off
04 --- Adjust mode is off when requested for time.
2. When the Control Code is 1
T M 1 String Characters LF 0 0 P LF
Time
(4 byte)
Sum LF LF
Time:
Sensor’s internal timer reading.