How to set up the router or Ethernet switch on MiR robots

How to set up the router or Ethernet switch on MiR robots

This guide describes how to set up the router or Ethernet switch to work correctly with MiR robots.

MiR600 and MiR1350 and hardware version 7.0 of MiR100 and MiR200 has an Ethernet switch and not a router. This guide describes how to set up the router, but the process is exactly the same for setting up an Ethernet switch.

Use this guide to reprogram the router if you are unable to connect to:

  • The robot's internal access point (this is only applicable for robots equipped with a router that broadcasts a WiFi hotspot)

  • The safety PLC

  • The top module Ethernet interface

  • The robot computer

You also need to follow this guide after replacing the router to program the new router correctly.

Things you'll need

  • A PC to connect to the robot with Mikrotik WinBox installed. WinBox can be downloaded from Mikrotik's website.

  • The Mikrotik router setup script. This can found under Download material.

  • An Ethernet cable (this is optional—you can connect to the router wirelessly instead).

Before setting up the router

Step 1: Turn off the robot, and disconnect the battery. If necessary, see your robot's user guide for help.

Step 2: Access the router on the robot. For the location of the router, see your robot's user guide, or see the guide relevant for your robot:

  • How to replace the router or Ethernet Switch on MiR100 and MiR200

  • How to replace the router on MiR250

  • How to replace the router on MiR500 and MiR1000

Step 3: If you are not setting up a new router, reset the router. Otherwise, jump to Step 4. Follow these steps to reset the router:

  1. Unplug the power cable from the router. The router is in the left-rear corner of the robot.

  2. Reconnect the battery, and turn on the robot.

  3. When the robot has finished starting up, plug in the router power cable and hold down the router's Reset button using a non-conductive tool with a small diameter, such as a pencil.

  4. When the LED light under USR on the router begins to flash, release the button.
    If you wait until the light stops flashing before releasing the button, the router will enter Netinstall mode, and you will have to repeat Step 3 from the beginning.

    The router is now reset.

Step 4: Open the router configuration file and make sure that the End of Line Sequence remains LF. If you use Visual Studio Code to edit the file, you can check this in the bottom-right corner.

Step 5: Configure the downloaded router file. You can modify the following parameters: 

  • wifi: Set to true if you want to enable the WiFi hotspot you can use to connect to the robot wirelessly. For cybersecurity reasons, we recommend disabling this by setting this parameter to false. This means you need to use an Ethernet cable to connect to your robot directly if it is not already connected to a wireless network.

  • wifijapan: Set to true if your robot is using a Giteki certified router.

  • wifipassword: Enter the password you want to use for the robot's WiFi hotspot.

  • robotserial: Enter the serial number of your robot. This is used in the name of the WiFi hotspot.

Setting up the router

Step 1: Turn on the robot and connect your computer to the router. You can either connect an Ethernet cable directly to one of the ports in the router or connect to the router's WiFi.

Step 2: Open WinBox on your computer and enter the following:

  • Connect To: 192.168.88.1

  • Login: admin

  • Password: (blank)

If you cannot connect to any devices, ensure you are connected to the robot and try to reset the router again.

Step 3: Select Connect, to connect to the router.

Step 4: Select Files to open the file list.

Step 5: Drag and drop the Mikrotik router setup script mir_1.2.0.rsc into the File List under the folder flashThe file is now saved on the router, and you will be able to use it again if you need to set up the router again in the future.

It is very important that the setup file is dragged into the File List under the folder flash so the file is saved persistently on the router.

Step 6: Select New terminal, and enter the following command into the terminal:

/system reset-configuration keep-users=no no-defaults=yes run-after-reset=flash/mir_1.2.0.rsc

Step 7: Press the Enter key to start the script, and enter y when prompted. The router will restart during this process, and your device will be disconnected from the robot.

Step 8: In WinBox, change the fields to the following: 

  • Connect To: 192.168.12.1

  • Login: root

  • Password: mirex

Once the router appears in the options below, the router has finished the setup procedure, and you can exit WinBox.

The robot's WiFi name and password are derived from the parameters you modified in Step 5. The password is exactly as you have written in wifiparameter and the network name is MiR_[robotserial].

Troubleshooting

If you cannot find the robot's WiFi after finishing the router setup and restarting the robot, you can check in the router interface what the broadcasted SSID is. To do this, follow these steps:

  1. Sign in to the router as described in the guide How to change the WiFi name and password on MiR robots.

  2. In the upper-right corner, select Webfig.

  3. Go to Wireless > WiFi Interfaces. At the right-most side of the page, the broadcast SSIDs are shown.

  4. If the SSIDs are MikroTik-xxxxxx, the router was not set up correctly and you must restart the setup procedure. If MiR_xxxxxxxxx is shown, the setup was successful, and you can change the WiFi SSID by following the guide How to change the WiFi name and password on MiR robots.

    • Related Articles

    • MiR250 Ethernet cable connectivity issue

    • How to get a log file from the router or switch on MiR robots

      This guide describes how to get a log file from the router or switch on MiR robots. The log file can be obtained either via a web interface or via WinBox. The WinBox utility allows for administration and configuration of MikroTik routers via your ...
    • How to replace the router with a Giteki certified router on MiR250

      Date: 2022-05-20 Document version: 1.3 Document number: 300067 Order number: 450505 Valid for: MiR250 robots in Japan Valid for software version: N/A Valid for hardware version: N/A This guide describes how to replace the router with a Giteki ...
    • Request help from Mobile Industrial Robots

      Request help from Mobile Industrial Robots Technical Support Before creating a technical support ticket Check MiR Support Portal for documentation, and check MiR Academy [mir.docebosaas.com] for relevant online courses. Where should I create my ...
    • How to set up elevators in MiR Fleet

      MiR robots connected to MiR Fleet can use elevators to travel between floors in the same site. In software version 2.10.0, a new elevator management system was introduced that includes new resource handling methods and new features to test your ...