Port Number (PN)
Function | Defines the data port number of the device |
Set (S) command format | SPNppppp , where ppppp is the port number in the 0-65534 range.Note: - Port 32767 cannot be used when current Transport Protocol (TP) setting is 0(UDP) - Port 23 cannot be used when current Transport Protocol (TP) setting is 1(TCP) |
Get (G) command format | GPN |
Initialize (I) command effect | Initialized unconditionally, through network command or serial command |
Post-initialization value | 1001 |
Change takes effect | After reboot |
This setting defines the Data Port on which the device is accepting incoming data connections.
For UDP communications, outgoing UDP datagrams are also sent from this port. For TCP communications the device accepts incoming data connections on the data port but establishes outgoing connections from a pool of ephemeral ports in the 10000-10255 range (port number is incremented with each new connection).