Communication Protocol CubiScan 25 Command Set
CubiScan 25 Service Manual 71
Serial Put
This command causes the instrument to receive a file into the virtual file system via RS-232 or
USB packets.
Pos Len Description Type Range ASCII
Command Format
1 1 Start of Text Control (STX) 02h
2 1 Serial Put Command Alpha (p) 70h
31Mode Numeric
(2=Write,
3=Data,
5=Error)
4nIndex or Filename Alpha
0000-9999 or
filename
4+n 3 Size Numeric (000-500)
7+n m Data Binary
7+n+
m
1 End of Text Control (ETX) 03h
7+n+
m
1 Carriage Return Control (CR) 0Dh
7+n+
m
1Line Feed Control (LF) 0Ah
Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Serial Put Command Alpha (p) 70h
31Acknowledge Alpha (4) 34h
4 4 Index Numeric (0000-9999)
81End of Text Control(ETX) 03h
9 1 Carriage Return Control (CR) 0Dh
10 1 Line Feed Control (LF) 0Ah
Negative Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Serial Put Command Alpha (p) 70h
3 1 Neg. Acknowledge Alpha (N) 4Eh
41End of Text Control(ETX) 03h
5 1 Carriage Return Control (CR) 0Dh
6 1 Line Feed Control (LF) 0Ah