Communications Protocol CubiScan 125 Command Set
CubiScan 125 83
CubiScan 125 Command Set
This section describes the commands recognized by the CubiScan
125 to cube and weigh packages and to set up the CubiScan 125 for
cubing and weighing (dimension units, factor toggle, calibration,
zero, and so on).
All command packets begin with an STX (start of text) and end with
a 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 has an “A” in
the third character position and may include a data field. A NACK
has an “N” in the third character position, indicating that an error
occurred. For example:
ACK: <STX><COMMAND><A><DATA><ETX><CR><LF>
NACK: <STX><COMMAND><N><ETX><CR>
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 associ-
ated 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.