User Manual - LLS 3
Page 36
14.0. Remote Operation: Ethernet
In order to communicate with the LLS 3 via Ethernet, the IP address of the unit must be
known. By default, the LLS 3 ships with DHCP enabled which grabs an address from a
DHCP server residing on the network. Should there be no DHCP server, the LLS 3 sets
its network interface to the default static network settings after an approximately 30
second timeout. The default settings are:
IP: 192.168.0.2
Gateway: 192.168.0.1
Subnet Mask: 255.255.255.0
The IP address can be determined either by reading it over the RS-232 port or by
scanning for the LLS 3 on the Ethernet network. The RS-232 port can also be used to
change the network settings of the LLS 3.
There are two methods for finding the LLS 3 using the scanning method. One uses
UDP and a proprietary protocol called Netfinder. Netfinder uses UDP port 3040. The
second method uses ARP to find the MAC address of the LLS 3, and then basic
communication to the LLS 3 is made using TCP. Communication with the LLS 3 over
an Ethernet network using TCP is on the default port of 50811. Both these scan
functions are available with the Ethernet demo program.
The demo program’s search utility uses Address Resolution Protocol (ARP) to find
network devices with MAC addresses starting with: 00:0B:3C. The program then sends
a TCP command on the default port number to obtain the serial number. Any valid
response from any command would indicate an LLS 3 at the scanned IP address. The
unit’s serial number is a good way of distinguishing multiple devices.
Once the IP address is known, then the unit can be controlled directly from the Ethernet
demo program or using the SDK (software development kit), both available free on the
website. The SDK allows for programmers to easily integrate the LLS 3 into their
control platform.
It’s recommended that the UDP/Netfinder is deactivated once the LLS 3 is setup on the
network if it is no longer needed, i.e. known static IP address. An active UDP/Netfinder
incurs overhead to the LLS 3 which slows down regular TCP communications. The
UDP/Netfinder functionality can be restored with a manual factory reset.
The included Windows dialog based application shows typical Ethernet communication.
The source code for the demo program written for Visual Studio 2005 can be
downloaded from the website or obtained from sales and customer service.
The default TCP port can be changed but should only be changed if communications
conflicts exist. If it is changed and the setting is forgotten, then you can only obtain the
setting via RS-232 or perform a factory reset.