
COMMUNICATIONS PROTOCOL
Cubiscan 325 command set
CubiScan 325 Service Manual
51
The following table shows the parameters for asynchronous communications through the USB
cable.
Cubiscan 325 command set
This section describes the commands recognized by the Cubiscan 325 to cube and weigh
objects and to set up the Cubiscan 325 for cubing and weighing (dimension units, factor toggle,
calibration, and so on).
All command packets begin with a STX (start of text) and end with an ETX (end of text), CR
(carriage return), and LF (line feed). Each command has a Command field and an optional Data
field. For example:
<STX><COMMAND><DATA><ETX><CR><LF>
All commands receive either an Acknowledge response (ACK), or a Negative Acknowledge
response (NACK). An ACK includes the Command followed by an “A” and may include a data
field. A NACK includes the Command followed by a “N,” indicating that an error occurred. For
example:
ACK:<STX><COMMAND><A><DATA><ETX><CR><LF>
NACK:<STX><COMMAND><N><ETX><CR>
The Cubiscan 325 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 325, the operation associated with that command is
aborted due to the error.
Asynchronous
communication parameters
Baud Rate
9600
Parity
None
Data Bits
8
Start Bits
1
Stop Bits
1