Skip to content

2.0 connecting to machine

Claudio Prezzi edited this page Dec 17, 2019 · 3 revisions

Go to the Comms Tab to open the connection to your machine:

comms

  1. By default, the server connection is localhost:8000. You only need to change this, if you have lw.comm-server installed on a separate PC (or Raspi). In this case change localhost to the IP of that PC.
  2. After server connection, the available interfaces will be shown in the machine connection dropdown. Selct the one you need (mostly USB). Also select USB if you connected the machine controller via the Raspberry Pi RX/TX pins.
  3. Next select the correct serial port for your machine.
  4. Set the baudrate according to your machine controller.
  5. Click connect (below machine connection)

If everything works correctly, you will see the following green lines in the bottom right window area:

  • Server connected
  • Firmware xxx detected
  • Machine connected

If you get a red line Machine disconnected this means one of the following:

  1. you have selected the wrong serial port
  2. your firmware is not supported
  3. your firmware doesn't automatically send the welcome string (firmware version)

For the 3. case, one possible solution is: Add a textfile called .env with the line RESET_ON_CONNECT=1 to the LaserWeb installation folder. For Windows, download this zip file (https://github.com/LaserWeb/LaserWeb4/files/3972810/create_env.zip) to the installation folder, unzip it and run the bat file.