
COMMUNICATIONS PROTOCOL
TCP/IP communications setup command set
CubiScan 325 Service Manual
85
number between 49152 and 65535 to avoid conflicts. Consult your network administrator to
select the port number.
Read subnet address
This command is used to read the current subnet address setting from the Cubiscan 325.
Pos
Len
Description
Type
Range
ASCII
Command format
1
1
Start of text
Control
(STX)
02h
2
1
Set command
Alpha
(@)
40h
3
1
Port command
Alpha
(P)
50h
4
1-5 or n Port
Alpha
(0) to (65535)
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
Set command
Alpha
(@)
40h
3
1
Port command
Alpha
(P)
50h
4
1
Acknowledge
Alpha
(A)
41h
5
1
End of text
Control
(ETX)
03h
6
1
Carriage return
Control
(CR)
0Dh
7
1
Line feed
Control
(LF)
0Ah
Negative acknowledge format
1
1
Start of text
Control
(STX)
02h
2
1
Set command
Alpha
(@)
40h
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
Pos
Len
Description
Type
Range
ASCII
Command format
1
1
Start of text
Control
(STX)
02h
2
1
Read command
Alpha
(~)
7Eh
3
1
Subnet address command Alpha
(N)
4Eh