Table of Contents

First steps

Gate

The Unipi Gate is delivered with Linux Debian OS (Base OS). This article assumes Unipi Gate is in factory settings and covers:

(🕮)

Attention:
Always follow the Safety instructions when handling the device.

(i)

Note:
If you cannot tell the device's current state, check the description of all possible states available in LED indication category including visual demonstration.

Mounting

/!\

Warning:
Prior to mounting, make sure that the environment is disconnected from all power sources.

If the holder for DIN rail is not installed, it must be mounted first with the supplied screws (M3x5, DIN 965, PH 1) so that the spring is towards the top of the device.

To install unit on the DIN rail, slide the unit onto the rail from above (in the direction of arrow 1 in the picture below), against the spring resistance downwards and then clicking the lower part (in the direction of arrow 2 in the picture below).

Mounting on DIN rail

(!)

Attention:
Avoid pressure on the terminals as they could be mechanically damaged.

/!\

Caution:
Make sure that the upper edge of the DIN rail runs between the spring and the rear of the DIN holder (see figure above). Improper mounting of the DIN bracket can cause injury when mounted on the DIN rail.

Connection

Disconnectable screw terminals are used to connect the wires to the device. The purpose of each terminal contact is described on the top side of the unit case. Use the appropriate flathead screwdriver to install the wires into the terminals. Do not exceed the maximum tightening torque specified in technical parameters.

(!)

Attention:
Always connect all cable shields (RS-485, analog sensors, etc.) on one side of the cable only, directly to the ground terminal of the cabinet/box, never to the ground point of the device.

/↯\

Warning:
Take extra care when plugging in. There is a risk of electric shock! Always ensure and check that the environment and device are disconnected from all voltage sources before starting work.

Connecting peripherals, sensors, control elements and communication cables

(i)

Note:
Unipi Gate has an interface marked as eth0 (100 Mbit) and eth1 (1 Gbit). By default, these interfaces are connected to the br0 network bridge and act as a two-port switch. The MAC address for br0 is taken from the eth0 interface. As such, it does not matter which port is used to connect the device to a local network. In the regular mode, the MAC address is assigned for each port individually.

(!)

Attention:
Device in default configuration should be connected to a local network with only a single cable. If both interfaces are connected to the same network, a loop may occur disabling communication in the entire network.

Connection via a local network with DHCP server

Despite its rather complicated name, this approach is simple and the most frequent connection method. All that is needed to do is to connect Unipi Gate to a computer network via ethernet cable. Then connect a computer or tablet to the same network (using either Ethernet or Wi-Fi). The network's DHCP server (router or Wi-Fi router) will then automatically provide both devices with an IP address from the available address range.

Unipi Gate's IP address can be obtained either from the DHCP server, or by using a suitable network scan program (such as Advanced IP Scanner). In most cases, however, the mDNS record will suffice.

The used IP addresses are samples.

Direct connection

This method requires a physical link between the computer and the Unipi Gate device via Ethernet cable. As this solution does not include a DHCP server, both the computer and the Unipi Gate are assigned a random IP address from the range of 169.254.XXX.XXX.

The Unipi Gate device's IP address can be obtained by using a suitable network scan program (such as Advanced IP Scanner). In most cases, however, the mDNS record will suffice.

The used IP addresses are samples.

Connection to a local network with DHCP using Unipi Gate's network bridge

This method combines both above-mentioned variants and is useful in cases when your router does not have enough free Ethernet ports and Wi-Fi connection for your computer is not available.

Start by connecting the Unipi Gate device into the router's free port via Ethernet cable. Use a second Ethernet cable to connect your computer to the second port on Unipi Gate. As both Unipi Gate's ports act as a network switch (or a patch cord), both devices are connected to the same network and will be assigned IP addresses automatically by a DHCP server, using the available IP address range.

The Unipi Gate device's IP address can be obtained by using a suitable network scan program (such as Advanced IP Scanner). In most cases, however, the mDNS record will suffice.

The used IP addresses are samples.

Connecting the power supply

/!\

Attention:
Make sure to connect the power supply last. Connection and disconnection of other interfaces should be done with the power supply disconnected; otherwise, the device can be damaged.

To ensure correct operation of the device, it is necessary to first connect the power supply wires to the contacts as described on the device, VCC/positive contact and GND/negative contact of the detachable screw terminal block. For information on recommended supply voltage tolerance and power consumption, refer to operating conditions and the manufacturing label.

Power supply connection

(i)

Tip:
Unipi Gate device can be powered by 9-30 V⎓ power supply.

/↯\

Warning:
The device has appliance class III. To protect against electric shock and to comply with electromagnetic compatibility (EMC), it is necessary to connect a protective ground conductor to the ground connector of the device marked on the case with symbol (⏚). For ground conductor connection use ring tongue and provided M4 screw with serrated lock washer.

The DIN rail on which the device is installed must be connected to the main protective earth point of the cabinet/box as well.

The device enters regular mode in a few seconds after the power supply is connected. The mode is physically indicated by PWR LED continuous emitting and ACT LED emitting with short flashes (demonstration here / startup simulator here).

Accessing the device

The unit is now ready to house the implementation of any project done in Base OS.

Device address

Unipi Gate can be addressed with the mDNS record. mDNS address format is as follows:

Example:

G100-sn1262901234.local

Model and serial number can be found on the manufacturing label. It is located on the side of the device.

(i)

Note:
Alternatively the Unipi Gate can be addressed via its IP address. The IP address can usually be found on the DHCP server or by using a network scanner (such as Advanced IP Scanner). When the Unipi Gate is connected directly to a PC or laptop, both the computer and the Unipi Gate are assigned a random IP address from the range 169.254.XXX.XXX.

Connecting via SSH

To install additional SW and to create control logic, it is necessary to connect via SSH using the address from previous step.

Username for the SSH connection is unipi. For the first login use the factory default password. For further information see Passwords.

(i)

Note:
Units in default state, or with a freshly installed clean OS image, have a randomly generated factory password. This password can be found on the informational label.

After logging in for the first time, you will be prompted to set custom user password.

Further info