1.2.3. Laser mainboard with DIP switches - Computer control multiple Lasers via DHCP

computer multiple lasers via DHCP enable laser output - insert interlock and key switch
 

How to connect multiple laser systems to the computer with using a Router or another DHCP capable system

These instructions are ONLY suitable, if the lasers are connected to the computer with a DHCP capable device, like a router or a wifi access point with DHCP feature. If a DHCP server is in the same network, the Auto-IP functionality does not work, as it's blocked out by the DHCP and overridden.

Connection scheme:

network cable

1. Use standard LAN-cable (Ethernet-cable), minimum of standard CAT-5 (most cables are), and connect the LAN interface of each laser ...
switch wiring

2. ... to the router. Any standard, modern router is suitable, if it has a DHCP fuctionality.
daisy chain LAN signal DHCP

3. Depending on the Laser system it can also be possible to daisy-chain the LAN signal in DHCP mode, if there is at least one DHCP somewhere in the network ...

daisy chain LAN signal

4. ... if the Laser has two or more LAN connectors.

computer control multiple lasers

5. Make sure to use the correct ports (usually marked as LAN / computer / ShowNET / Control or similar).
Not into Interlock

6. Do NOT plug the signal cables into the Interlock port!
Interlock is only for the E-Stop or the Interlock-bridge plug!
LAM-to-computer

7. Connect the network switch to the computer using a LAN cable.
LAM-to-computer

8. The setup can easily be extended by using more switches in the network to distribute the signal. Just remember: only ONE router with DHCP per network. The rest must be normal switches without DHCP functionality.
 

A. Connect with Address distribution by DHCP (recommended in combination with a router)

DHCP is an automated address handling system that assigns an address to each network device in the same environment. This is commonly used in home and corporate networks to ease the network address assignment process. It requires a DHCP server to be present in the network. Usually the router or Wifi access point can do this task.
In most cases the user does not have to configure anything for using network devices in a DHCP environment.

If the laser shall be operated in an existing network that has a DHCP present, it can be set to DHCP operation mode to automatically obtain an address from the DHCP.
To do so, put all DIP switches to OFF - that's it.

image

icon howto How to configure the IP settings for the computer for DHCP use
  1. Press the Windows-key and type "control panel" (without quotes; this can also be done througn the search bar) > Click on "Control Panel" > Click on Open.
    image

  2. Click on "View network status and tasks" under "Network & Internet".
    image

  3. Click on "Change adapter settings"
    image

  4. Right click the network adapter > Click on "Properties".
    image
    If there are multiple icons in this window, the correct one is usually labeled with "ethernet". It also should have the little network connector icon. Note that it may also have a red "X" if it's disconnected or not properly configured.

  5. Select the Internet Protocol Version 4 (TCP/IPv4) option > click the "Properties button".
    image

  6. Select "Obtain an IP address automatically" to let the computer receive the IP address from the DHCP.
    image


 
Power off/power on the Laser to make the settings effective.

Now TEST THE CONNECTION!

B. Connect via Static IP (manual configuration mode)

It is also possible to use devices with static IP address in a DHCP environment. However, it is essential that all devices in a newtwork with DHCP use the same address range (see below) as distributed by the DHCP, whcih requires that this IP address range needs to be determined first.
The Laser mainboard can be assigned a static IP address to avoid address changes when the network infrastructure is altered. There is no general advantage over the use of Auto IP or DHCP, but sometimes users prefer to use a static IP.

icon howto What's an IP address?
Any device connected to a network environment, such as computers, printers, smartphones and also lasers, no matter if it's a wired connection or wifi network, has a unique identification number. This unique address is the so called IP address.

The IP address type used for the communication with the laser systems consists of a group of 4 numbers (each between 0 and 255), separed by a point (".") symbol. It looks like this:

www.xxx.yyy.zzz

Schematics example of an IP/v4 address:
ip address schematics

If devices shall communicate with each other, they need to reside in the same address range, which means that the first 3 numbers must be the same. The fourth number, however, must be unique for each device in the network.

In a home or office environment the computers and hardware components usually get these addresses assigned automatically by the so called DHCP server, which included in the utmost of routers or wifi access points. That's why it is usually not necessary to take care of setting these addresses manually. However, if there is no DHCP server available, the devices in a network either need to negotiate the suitable addresses for each device between each other (so called Auto IP) or they requrie static IP addresses the be manually set.

As there is usually no DHCP available at show production sites, laser show settings may require either Auto IP setting or static IP.

Show production companies tend to use static IPs, as then the address distribution does not depend on any additional communication between the devices in the network and each unit can be checked on more specifically through the network and various tools.



 
The laser mainboard can be assigned to four different IP address ranges:
  1. 192.168.0.XXX: allows for the use of any IP from 192.168.0.50 to 192.168.0.65
  2. 192.168.1.XXX: allows for the use of any IP from 192.168.1.50 to 192.168.1.65
  3. 192.168.2.XXX: allows for the use of any IP from 192.168.2.50 to 192.168.2.65
  4. 192.168.254.XXX: allows for the use of any IP from 192.168.254.50 to 192.168.254.65
This means that a static IP address can only be used in combination with DHCP, if the DHCP works in one of these address ranges.

  1. What is an IP address and how does it work:

    Schematics of an IP/v4 address:
    ip address schematics

    Each laser must be given a different IP address in the same IP address range (see scheme above). Never give the same IP address to different devices in one network!
    This also applies for the computer: The IP address assigned to the computer MUST have a different ending ("D" in the Schematics) than any of the lasers.
    Attention! If a WiFi connection is used on the computer at the same time as the laser control, make sure that the address range (the first part A,B,C; see schematics) is different to the range that is used for the lasers.

    icon howto Determine IP addresses if Wifi and laser control shall work at the same time
    To check on the IP addresses, click on the Wifi network icon in the taskbar > click the Wifi network you're connected to > Properties.
    wifi symbol
    In Properties, look for the IP address listed next to IPv4 address.

    Note: The first 3 numbers of the IP address (the address range, see schematcs) must be different for the wired connection to the laser. For example:
    • Computer's Wifi has an IP of 192.168.0.X -> use any IP like 192.168.1.X or 192.168.2.X or 192.168.254.X
    • Computer's Wifi has an IP of 192.168.1.X -> use any IP like 192.168.0.X or 192.168.2.X or 192.168.254.X
    • Computer's Wifi has an IP of 192.168.2.X -> use any IP like 192.168.0.X or 192.168.1.X or 192.168.254.X
    • Computer's Wifi has an IP of 192.168.254.X -> use any IP like 192.168.0.X or 192.168.1.X or 192.168.2.X
    • Computer's Wifi has an IP of any other number different that 192.168.X.Y -> use any IP like 192.168.0.X or 192.168.1.X
  2.  
  3. Specify the IP address

    Part "C" (see schematics) must be 0 or 1, and must be the same number for all devices, lasers and computer, that shall communicate in the same network. The individual address of the device ("D" in schematics) must be anything from 50 to 65. The control computer can be anything from 1 to 254, but make sure it does not conflict with any laser (it's advised to not use 50-65 for the computer). Again: each device must have a different number for "D" !
  4. Determine the IP address of the DHCP network

    Check this explanation to find out the current DHCP address range. The computer must be connected to the DHCP router / access point / server already:
     
    icon howto Determine the IP address range of a DHCP controlled network environment
    1. Press the Windows-key and type "control panel" (without quotes; this can also be done througn the search bar) > Click on "Control Panel" > Click on Open.
      image

    2. Click on "View network status and tasks" under "Network & Internet".
      image

    3. Click on "Change adapter settings"
      image

    4. Right click the network adapter > Click on "Status".
      image
      If there are multiple icons in this window, the correct one is usually labeled with "ethernet". It also should have the little network connector icon. Note that it may also have a red "X" if it's disconnected or not properly configured.

    5. Press the "Details" button.
      image

    6. This dialog shows the current IP address of the computer. So the address range can be determined from that, in this case it is 192.168.1.
      image
     
  5. Set the IP address at the Laser

    This is the DIP switch panel configuration: image

    To start with the setup, it is advised to first put all DIP switches to the OFF position.
    1. Set DIP switch 7 to on - it indicates a static IP configuration
    2. Settings for DIP Switch 5 and 6 (it's the setting of the address range as shown in the schematics. Must be equal with all lasers in the same setup):
      • If IP-range shall be 192.168.0.xxx -> DIP 5 to OFF, 6 to OFF
      • If IP-range shall be 192.168.1.xxx -> DIP 5 to ON, 6 to OFF
      • If IP-range shall be 192.168.2.xxx -> DIP 5 to OFF, 6 to ON
      • If IP-range shall be 192.168.254.xxx -> DIP 5 to ON, 6 to ON
    3. Set the individual address for the laser (remember, this part must be different for every laser! This is "D" in the schematics):
      Use DIP switches 1-4 to set the individual address. See above chart to learn which setting corresponds with which address.
      Examples:
      • 192.168.0.52 -> Set these switches to ON: 2, 7
      • 192.168.1.64 -> Set these switches to ON: 2, 3, 4, 5, 7
      • 192.168.2.50 -> Set these switches to ON: 6, 7
      • 192.168.254.54 -> Set these switches to ON: 3, 5, 6, 7


    Power off/power on the Laser to make the settings effective.

  6. Configure the IP address for the computer

    In a DHCP environment, the computer can also be set to a static IP address, but does not necessarily. If a static IP address shall be given to the computer, too, make sure to specify an address in the same address range as the DHCP (see above how to check on that), but with a different address ("D" in the schematics) than any of the lasers or any other device in the DHCP network.
    If the whole IP address of the computer and any of the lasers or other devices is identical, it will NOT work - they MUST be different in "D", but identical for "A","B" and "C" (referring to above schematics).
    Read the how-to guide below for details on how a static IP can be set
    icon howto How to configure a static IP address for a computer
    1. Press the Windows-key and type "control panel" (without quotes; this can also be done througn the search bar) > Click on "Control Panel" > Click on Open.
      Set Static IP - pic 1

    2. Click on "View network status and tasks" under "Network & Internet".
      Set Static IP - pic 2

    3. Click on "Change adapter settings"
      Set Static IP - pic 3

    4. Right click the network adapter the laser is connected to > Click on "Properties".
      Set Static IP - pic 4
      If there are multiple icons in this window, the correct one should be labeled "ethernet"; it usually has the little network connector icon. Note that it may also have a red "X" if it's disconnected or not properly configured.

    5. Select the Internet Protocol Version 4 (TCP/IPv4) option > Click "Properties button".
      Set Static IP - pic 5

    6. In this windows the configuration happens:
      1. Write the desired IP address for the computer to the "IP address" box (i.e. 192.168.0.21).
      2. Write "255.255.255.0" (without quotes) to the "Subnet mask" box.
      3. Click "OK" button.
      Set Static IP - pic 6


  7.  
  8. Now TEST THE CONNECTION!
 
 

Test the connection:


Check the network connection to the laser

To check if the network connection has been successfully established, use the Admin Tool. Download the Admin Tool.
IMPORTANT: On first start of the Admin-Tool, Windows asks to grant the Admin-Tool permission to use the computer's network.
It is ESSENTIAL that you tick ALL BOXES and allow connection, otherwise the Windows Firewall may block the Admin-Tool and it won't detect the laser!

oum admin tool firewall

After having granted permission to all networks, close the Admin-Tool that loaded in the background, and start it again. 
It now should detect the laser:

oum admin tool page1

If it does NOT, please see the TROUBLESHOOTING GUIDE FOR SHOWNET

Learn more about how the ShowNET Admin Tool works and its powerful features:
Copyright 2024 - ShowNET Laser Interface Mainboard