This is an old revision of the document!


Service mode

This mode serves for uploading or backing up the operating system, or for restoring access to the PLC (restoring the default password via OS reflash, changing the network configuration or enabling/disablíng the SSH access). Only the service web interface is available in this mode, all remaining PLC functions are disabled. This mode does not publish mDNS record.

Patron

The SERVICE button, placed next to USB labels, is important for accessing the service mode. The mode is indicated by the slow blinking of all LEDs both in the upper and lower LED row in section 1.

1) On a local network (with DHCP):

  1. Connect the device to a local network with a DHCP server, using a network cable (RJ45)
  2. Press and hold the SERVICE button
  3. Plug in the power supply, after a few moments the unit will boot into the service mode indicated by slow blinking of all LEDs in both upper and lower row in section 1
  4. You may now release the SERVICE button.
  5. You also need to obtain the device's IP address. You can do so either from the DHCP server or by using a suitable program, such as Advanced IP Scanner

2) Direct connection to the device (without DHCP):

  1. Connect the device to your PC with a network cable (RJ45)
  2. Press and hold the SERVICE button
  3. Plug in the power supply, after a few moments the unit will boot into the service mode indicated by slow blinking of all LEDs in both upper and lower row in section 1
  4. You can now release the SERVICE button
  5. Set the IP address of your PC to 192.168.200.100, mask 255.255.255.0
  6. Unipi Patron now has its IP address set to 192.168.200.200

As the next step for both cases, enter the device's IP address into your web browser's address bar. Upon confirmation, you will be connected to the Unipi Patron service interface.

Upon opening the service interface, you can see a blue ribbon on top of the screen and four dialogue windows.

On the right side of the ribbon, there are two buttons:

  1. Run shell → serves for access to a console with limited options (BusyBox)
  2. Restart system → reboots the controller

Under the ribbon are the following dialogue windows:

  1. Settings → contains four buttons, all of them useable only in the regular mode::
    • Set 192.168.200.200 on eth0 → sets the ethernet interface to fixed 192.168.200.200 IP address
    • Set DHCP on eth0 → sets the ethernet interface to obtain the address from DHCP
    • Enable ssh → enables SSH access on port 22 (SSH is enabled by default)
    • Disable ssh → disables SSH access
  2. Backup → contains the “Backup to USB flash” button which creates an OS back-up stored on a compatible USB flash disk (if inserted)
  3. Software update → serves for uploading the OS into the device
    • A text field for uploading the archive.swu (containing the OS image) is placed directly under the window's label
  4. Messages → displays a list of performed operations


FIXME If Mervis is used, the Settings dialogue window can contain 3 additional buttons.

  • Clear Mervis → deletes the loaded project, all configurations and contents of the web interface
  • Enable Mervis → launches Mervis RT on the device
  • Disable Mervis → stops Mervis RT on the device