IP address configuration

Detecting SICK devices in the network

The Python script sick_scan_xd/tools/sick_generic_device_finder/sick_generic_device_finder.py sends a UDP broadcast to which all available scanners respond with a device description. The varibale UDP_IP = "192.168.0.255" defines the broardcast address used by the script. If you are using a different IP address configuration on your host pc you have to change this variable according to the brodcast address of your network card.
ifconfig shows the broadcast address for every network adapter.

Change IP address

The IP address of the device can be changed with a customized launch file. The following launch sequence is an example:

roslaunch sick_scan_xd sick_new_ip.launch hostname:=192.168.0.1 new_IP:=192.168.0.100

The launchfile restarts the lidar after the address change and stops the sick_scan_xd node. After a few seconds of booting time the scanner is reachable under the new IP address. The Python script is experimental. It is known that some ethernet adapter are not fully supported. As a fallback solution you can always use the SOPAS ET software under windows.

Starting with a new lidar

The lidar is delivered with a standard IP address, to read or change it the SICK SOPAS ET for windows can be used. When the tool is started, a search is performed which lists all scanners available in the network. SOPAS start Double-click to select the scanner for the project SOPAS select Double click on the lidar icon to open the configuration menu of the scanner Select here the network configuration menu and set the parameters by clicking on the save icon (red arrow) SOPAS save network To ensure that the settings are stored even after a power cycle, they must be stored in the eeprom. To do this, click on the eeprom icon and confirm the save. SOPAS save eeprom To test the settings under Windows use the commands ipconfig and ping in the cmd.exe. Make sure that the lidar and host pc have different ip addresses e.g. 192.168.0.110 for the pc and 192.168.0.71 for the scanner. Windows ping

test connection under Linux

to test the settings under the Linux target system you can use netcat to check if a TCP connection to the scanner can be established nc -z -v -w5 $SCANNERIPADDRESS 2112 the connection can be successfully established

Linux netcat scanner

unlike a ping, the connection attempt to the hostpc is not successful

Linux netcat host

SICK Logo Lehning Logo