Communication Protocol CubiScan 25 Command Set
CubiScan 25 Service Manual 69
Serial Get
This command causes the CubiScan 25 to transfer a file from the virtual file system via RS-232 or
USB packets.
1 1 Start of Text Control (STX) 02h
2 1 Scrape Command Alpha (a) 61h
3 1 Acknowledge Alpha (A) 41h
41End of Text Control(ETX) 03h
5 1 Carriage Return Control (CR) 0Dh
61Line Feed Control(LF) 0Ah
Negative Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Scrape Command Alpha (a) 61h
31Neg. Acknowledge Alpha (N) 4Eh
41End of Text Control(ETX) 03h
5 1 Carriage Return Control (CR) 0Dh
61Line Feed Control(LF) 0Ah
Pos Len Description Type Range ASCII
Command Format
1 1 Start of Text Control (STX) 02h
2 1 Serial Get Command Alpha (g) 67h
31Mode Numeric
(1=Read,
4=Ack, 5=Error)
4nIndex or Filename Alpha
0000-9999 or
filename
4+n 1 End of Text Control (ETX) 03h
5+n 1 Carriage Return Control (CR) 0Dh
6+n 1 Line Feed Control (LF) 0Ah
Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Serial Get Command Alpha (g) 67h
3 1 Data Mode Numeric (3) 33h
4 4 Index Numeric (0000-9999)
8 3 Size Numeric (000-500)
11 n Data Binary
11+n 1 End of Text Control (ETX) 03h
Pos Len Description Type Range ASCII