72
[UDP Communication]
Code Reader also works as an UDP server with a fixed port number (49460).
The connectionless UDP communication can communicate with multiple
superior PCs.
When you send data in a broadcast from the superior PC, all devices on the
LAN will respond. With broadcast, you can:
-
Get a list of LP-ABR that is running normally on the LAN.
-
Get port number/terminal information of unknown IP address/TCP server
communication
You can shut down TCP server communication using UDP communication.
6.7
Serial command for LAN settings
?LAN
Get a list of settings for LAN connection.
IPADR=<IP address in dotted notation>/<Bit number of subnet mask>
Set IP address and subnet mask of the reader.
†
If you do not change the subnet mask, the mask bit numer can be omitted.
GWADR=<IP address in dotted notation>
Set default gateway address of the reader.
†
Set the same network with the IP address.
IPPORT=<TCP/IP port number>
Set TCP/IP port number of the reader.
IPBAR=xxx.xxx.xxx.xxx: nnnn
Destination IP address of reading results: set the port number.
Sends reading results from the TCP server when the destination IP address is
0.0.0.0.
Sends reading results from the TCP client when the destination IP address is
other than 0.0.0.0.
xxx.xxx.xxx.xxx
Destination IP address
nnnn
Destination port nimber (1 to 63335)