Communication Protocol
CubiScan 125 Command Set
CubiScan 125 Service Manual
6 0
The CubiScan 125 responds with a question mark NACK to any unrecognized command. For
example:
<STX><?><N><ETX><CR><LF>
When a NACK is sent by the CubiScan 125, the operation associated with that command is
aborted due to the error.
The CubiScan 125 recognizes the following commands from the command set for both a serial
and Ethernet connection.
Continuous Measure
This command toggles on or off a continuous measure mode. The readings transmitted are
Length, Height, Width, and Weight. Both dimensions and counts are transmitted.
Pos Len
Description
Type
Range
ASCII
Command Format
1
1
Start of Text
Control
(STX)
02h
2
1
Continuous Msr. Com.
Alpha
(C)
43h
3
1
End of Text
Control
(ETX)
03h
4
1
Carriage Return
Control
(CR)
0Dh
5
1
Line Feed
Control
(LF)
0Ah
Acknowledge Format
1
1
Start of Text
Control
(STX)
02h
2
1
Measure Command
Alpha
(M)
4Dh
3
1
Acknowledge
Alpha
(A)
41h
4
1
CubiScan/Host
Originated
Alpha
(C/H)
43h or 48h
5
6
City Code
Alpha
000000-ZZZZZ
Z
11
1
Comma
Alpha
(,)
2Ch
12
1
Length Identifier
Alpha
(L)
4C
13
5
Length
Numeric
000.0-999.9*
18
1
Comma
Alpha
(,)
2Ch
19
1
Width Identifier
Alpha
(W)
57h
20
5
Width
Numeric
000.0-999.9*
25
1
Comma
Alpha
(,)
2Ch
26
1
Height Identifier
Alpha
(H)
48h
27
5
Height
Numeric
000.0-999.9*
32
1
Comma
Alpha
(,)
2Ch