TCP/IP Communications Setup Command Set Communications Protocol
104 CubiScan 125
Read Port
This command is used to read the current TCP Port number setting
from the CubiScan 125.
Pos Len Description Type Range ASCII
Command Format
1 1 Start of Text Control (STX) 02h
2 1 Set Command Alpha (~) 7Eh
3 1 Port Command Alpha (P) 50h
4 1 End of Text Control (ETX) 03h
5 1 Carriage Return Control (CR) 0Dh
6 1 Line Feed Control (LF) 0Ah
Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Set Command Alpha (~) 7Eh
3 1 Port Command Alpha (P) 50h
4 1 Acknowledge Alpha (A) 41h
5 1-5 or n Port Alpha (1) to (65535)
5+n 1 End of Text Control (ETX) 03h
6+n 1 Carriage Return Control (CR) 0Dh
7+n 1 Line Feed Control (LF) 0Ah
Negative Acknowledge Format
1 1 Start of Text Control (STX) 02h
2 1 Set Command Alpha (~) 7Eh
3 1 Port Command Alpha (P) 50h
4 1 Neg. Acknowledge Alpha (N) 4Eh
5 1 End of Text Control (ETX) 03h
6 1 Carriage Return Control (CR) 0Dh
7 1 Line Feed Control (LF) 0Ah