Hilscher's netIOT Edge Gateway NIOT-E-TIJCX-GB-RE securely connects
Real-Time Ethernet automation networks with a „Cloud“ or any IoT-directed
application.
As a field device, it is performing a cyclic I/O data exchange with the PLC
and communicates with further IoT-capable field devices within the
automation network.
These key field data exchanged in real-time form the basis for intelligent
higher-level IoT applications for cyber-physical processes and M2M
solutions.
The gateway is designed for continuous operation in environments with
permanent intranet or Internet connection. Security mechanisms such as
the physical separation of automation and IT network, a secure operating
system, the execution of signed firmware and packets, as well as
encryption techniques of the latest standards secure the data integrity and
offer protection against data theft.
The gateway base function forms the web-based Thing Wiring editor NodeRED, which serves to model the flows in the devices. Data apps and data
profiles are created within minutes with predefined function blocks of the
editor. OPC UA and MQTT functions address objects in IoT-capable field
devices or in the cloud via standardized IoT protocols.
The Hilscher netIOT Service offers additional software packets to extend
the Edge Gateway base functions by further applications or accesses to
specific clouds.
Figure1: Edge Gateway communication structure
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The open source software „Docker“ by Docker, Inc. allows the user to
execute own applications on the secured Linux operating system of the
Edge Gateways while all protection mechanisms are fully preserved. The
applications are executed in protected, isolated runtime environments. To
accomplish this, Docker uses special techniques from virtualization of
operating systems.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
(14) LED communication state of Real-Time Ethernet.
LED communication state of Real-Time Ethernet connection.
Name und function depends on used RTE protocol:
PROFINET IO Device = BF (Bus failure)
EtherNet/IP Adapter = NS (network status)
(16) LED communication state of Real-Time Ethernet
LED communication state of Real-Time Ethernet connection.
Name und function depends on used RTE protocol:
PROFINET IO Device = SF (System failure)
EtherNet/IP Adapter = MS (module status)
(17) SMA connector for WiFi or cellular radio antenna
(18) SMA connector for WiFi or cellular radio antenna
Mount the Edge Gateway with 4 screws into the control cabinet. The
following figure shows the distance of the mounting holes.
Figure4: Drilling template
4.2LED sticker
Each fieldbus system uses its own names for the LED displays. Therefore,
an LED sticker with the names of the respective fieldbus system is included
within the delivery of the Edge Gateway. Stick the sticker of the fieldbus
system to be used to the I/O shield of the fieldbus interface of the Edge
Gateway.
Figure5: LED sticker
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Edge Gateway has two LAN connectors for connecting it to the cloud
network, positions (7) and (5) (see section Positions of theinterfaces [}page10]).
The MAC addresses of the LAN interfaces are printed on the device label.
Section Configuring Ethernet communication (LAN) [}page64] describes,
how you can set the IP address parameters of the LAN interfaces.
4.5Real-Time Ethernet connectors
The Edge Gateway has 2 RJ45-connectors to connect the fieldbus to a
Real-Time Ethernet network (OT network), positions (15) and (13) (see
section Positions of the interfaces [}page10]).
For data exchange at the fieldbus, use the fieldbus input and output in node
Node-RED. Sections Example 4: Fieldbus input node [}page138] and
Example 5: Fieldbus output node [}page146] describe how to access the
cyclic I/O data of the fieldbus in Node-RED.
4.6USB connectors
The Edge Gateway has 4 USB connectors (1), positions (6) and (8) (see
section Positions of the interfaces [}page10]).
You do not need the USB connectors for operation of the Edge Gateway.
You need the USB connector if you connect a keyboard in order to change
settings in the BIOS or if you do a firmware recovery with a USB stick.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Edge Gateway has 2 configurable serial interfaces COM1 (position (9))
and COM2 (position (10)). You can use each serial interface as RS-232,
RS-422 or RS-485 interface.
Prerequisites
You have to set the interface type in the BIOS. For this, you need a
keyboard with USB connector and a monitor with DVI-I or DP connector.
Important:
NUse only 1:1 DVI or DP connectors. Adapters like DVI-I to VGA or
DP to VGA are not supported by the gateway.
BIOS settings
In the BIOS, select Advanced > IT8786 Super IO Configuration > Serial
Port 1 Configuration for COM1 or Serial Port 2 Configuration for COM2.
Serial Port ConfigurationParameter
Serial PortEnabled
Disabled
Device SettingsDisplay only
Serial Port 1 (COM1): IO=248h; IRQ=5
Serial Port 2 (COM2): IO=2F8h; IRQ=3
Onboard Serial Port ModeRS232
RS422
RS485 (do not use this setting)
RS485 Auto (use this setting for RS-485 only, because RTS
control is active)
Table4: Parameters of the serial interface
4.7.1RS-232
RS-232PinSignalDescription
1DCDData Carrier Detect
2RXDReceive signal
3TXDSend signal
4DTRData Terminal Ready
5ISO_GNDGround (reference potential)
6DSRData Set Ready
7RTSRequest to Send
8CTSClear to Send
9RIRing Indicator
Table5: RS-232 D-Sub
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Edge Gateway NIOT-E-TIJCX-GB-RE\WF (article number 1321.301)
is equipped with a Wi-Fi interface. It supports 2 Wi-Fi operating modes:
Access Point and Client. Operating mode Access Point allows the Edge
Gateway to connect to other Wi-Fi devices in order to configure the Edge
Gateway from a mobile device for example. Operating mode Client allows
the Edge Gateway to be connected to any Wi-Fi Access Point.
Section Configuring wireless communication (Wi-Fi) [}page67] describes
how you activate the antennas and how to set the Wi-Fi operating mode.
4.9Preparing gateway for cellular communication
The NIOT-E-TIJCX-GB-RE\4EU gateway (article number 1321.302) is
equipped with a cellular modem for transmitting data into the cloud via
2G/3G/4G standard.
Requirements
To use the cellular interface of the gateway, you require the following items
(not included in the delivery of the Edge Gateway):
·Contract for mobile data with mobile communications provider
·SIM card of provider with registration credentials (SIM-Pin, password
etc.)
·Two GSM/UMTS/LTE antennas with the following recommended
characteristics (passive):
–Direction: omnidirectional
–Gain: > -3dBi (Avg)
–Input impedance: 50 ohm
–Efficiency: > 50%
–VSWR: < 2
–Connector type: SMA plug
Note:
If you are using the older GSM (2G) standard only, a single (main)
antenna is sufficient.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Place the SIM card into the tray. If necessary, use an adapter to fit a
Nano or Micro SIM format into the Mini SIM format of the tray:
Figure9: SIM card in tray
Ø Re-insert the tray with the SIM card into the card holder slot:
Figure10: Inserting SIM card
Ø Re-attach the cover of the card holder slot.
Connecting the antennas
Note:
Recommended type and positioning of your antennas depend on
the quality of your local radio signal.
If your Edge Gateway is stationed inside a control cabinet, you
should place the antennas outside the cabinet and connect the
antennas via cable to the SMA sockets of the gateway.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Connect both antennas to the SMA sockets of the gateway:
Figure11: SMA sockets
Note:
If you are using solely the older GSM (2G) standard, you need only
one antenna, which is to be connected at the "main" interface of the
two SMA sockets. For identifying the main antenna interface on the
gateway, see section Positions of the interfaces [}page10].
4.10Monitor connectors
The Edge Gateway has a DVI-I and a DP connector to connect a monitor.
You do not need a monitor for „normal“ operation of the Edge Gateway. If
you want to change settings in the BIOS or want to do a firmware recovery,
you need a monitor.
Important:
Use only 1:1 DVI or DP connectors. Adapters like DVI-I to VGA or
DP to VGA are not supported by the gateway.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
LEDs indicating voltage supply, hard disk access, battery state and activity
of operating system, serial interfaces and GPIOs. The position of the LEDs
is indicated by position (1) in section Positions of the LEDs on thegateway [}page21].
LEDColorMeaning
greenVoltage supply is OK
yellowHard disk drive is accessed
yellowState of CMOS-RAM (BIOS) battery
PG0yellowGPIO 4: can be programmed, currently not used.
TX1greenTransmission of data at serial interface COM1
RX1yellowReceiving data at serial interface COM1
TX2greenTransmission of data at serial interface COM2
RX2yellowReceiving data at serial interface COM2
PG1greenGPIO 0. Blinks when data is being copied from USB stick into gateway during firmware recovery.
PG2yellowGPIO 1: can be programmed, currently not used.
PG3yellowGPIO 2: can be programmed, currently not used.
PG4yellowGPIO 3: can be programmed, currently not used.
Table8: Description of gateway status LEDs
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Table10: LED states for the PROFINET IO-Device protocol
(Off)No error
Flashing
(1 Hz, 3 s)
OnWatchdog timeout; channel, generic or extended diagnosis
OffNo error
Flashing
(2 Hz)
OnNo configuration;
OnThe device is linked to the Ethernet.
OffThe device has no link to the Ethernet.
Flickering (load
dependent)
OffThe device does not send/receive Ethernet frames.
DCP signal service is initiated via the bus.
present; system error
No data exchange
or low speed physical link; or no physical link
The device sends/receives Ethernet frames.
LED stateDefinition
Flashing
(1 Hz, 3 s)
Flashing
(2 Hz)
Flickering (load
dependent)
The indicator turns on and off for 3 seconds with a frequency of 1 Hz:
“on” for 500 ms, followed by “off” for 500 ms.
The indicator turns on and off with a frequency of 2 Hz:
“on” for 250 ms, followed by “off” for 250 ms.
The indicator turns on and off with a frequency of approximately 10 Hz to indicate high Ethernet
activity: "on" for approximately 50 ms, followed by "off" for 50 ms. The indicator turns on and off in
irregular intervals to indicate low Ethernet activity.
Table11: LED state definitions for the PROFINET IO-Device protocol
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
OnDevice operational: The device is operating correctly.
Flashing (1 Hz) Standby: The device has not been configured.
Flashing
green/red/
green
Flashing (1 Hz) Major recoverable fault: The device has detected a major
OnMajor unrecoverable fault: The device has detected a major
OffNo power: The device is powered off.
OnConnected: An IP address is configured, at least one CIP
Flashing (1 Hz) No connections: An IP address is configured, but no CIP
Flashing
green/red/off
Flashing (1 Hz) Connection timeout: An IP address is configured, and an
OnDuplicate IP: The device has detected that its IP address is
Self-test: The device is performing its power-up testing.
The module status indicator test sequence occurs before the
network status indicator test sequence, according to the
following sequence:
· Network status LED off.
· Module status LED turns green for approximately 250 ms,
turns red for approximately 250 ms, and again turns green
(and holds that state until the power-up test has completed).
· Network status LED turns green for approximately 250 ms,
turns red for approximately 250 ms, and then turns off (and
holds that state until the power-up test has completed).
recoverable fault. E.g., an incorrect or inconsistent
configuration can be considered a major recoverable fault.
unrecoverable fault.
connection (any transport class) is established, and an
Exclusive Owner connection has not timed out.
connections are established, and an Exclusive Owner
connection has not timed out.
Self-test: The device is performing its power-up testing. Refer
to description for module status LED self-test.
Exclusive Owner connection for which this device is the target
has timed out.
The network status indicator returns to steady green only
when all timed out Exclusive Owner connections are
reestablished.
already in use.
(off)
LINK
CH0 (11), CH1 (8)
ACT
CH0 (9), CH1 (6)
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
LED green
(green)
(off)
LED yellow
(yellow)
(off)
Table12: LED states for the EtherNet/IP Adapter protocol
(Off)Not powered, no IP address: The device does not have an
IP address (or is powered off).
OnThe device is linked to the Ethernet.
OffThe device has no link to the Ethernet.
Flickering (load
dependent)
OffThe device does not send/receive Ethernet frames.
Table13: LED state definitions for the EtherNet/IP Adapter protocol
The indicator turns on and off with a frequency of 1 Hz: “on” for 500 ms,
followed by “off” for 500 ms.
The MS LED indicator turns on green on for 250 ms, then red on for 250 ms,
then green on (until the test is completed).
The NS LED indicator turns on green on for 250 ms, then red on for 250 ms,
then off (until the test is completed).
The indicator turns on and off with a frequency of approximately 10 Hz to
indicate high Ethernet activity: on for approximately 50 ms, followed by off
for 50 ms. The indicator turns on and off in irregular intervals to indicate low
Ethernet activity
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
An IP address is required to address the Edge Gateway in the LAN
network.
The following figure shows the factory setting of the LAN interfaces and the
assignment to the connectors.
Figure13: Default settings of the Ethernet network connectors
You have two possibilities of establishing a connection with the Edge
Gateway (factory setting):
NetNetwork connection - alternative 1: DHCP server available
If a DHCP server is available in the network:
Ø Use an Ethernet cable to connect the LAN connection port 1 (eth0)
(see position (7) in section Positions of the interfaces [}page10]) with a
network in which a DHCP server is available.
ð The Edge Gateway obtains an IP address from the DHCP server.
Access to the Edge Gateway is possible now.
Note:
The Edge Gateway sends a request to a DHCP server once after
switching on the device or after each connection of the Ethernet
cable, i.e. when the Edge Gateway detects a link signal. If you want
to activate a request of the Edge Gateway to the DHCP server
manually, pull off the Ethernet cable from the Edge Gateway and
reconnect it to the Edge Gateway.
Read section Using the web browser to establish a connection with theEdge Gateway [}page29] to find out how to access the Edge Gateway.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Network connection - alternative 2: Direct connection and adaptation
of the IP address of the PC or notebook used for commissioning
The IP address of the Edge Gateway (factory setting) is 192.168.253.1
and the subnet mask is 255.255.255.0 at LAN connection port 2 (eth1,
see position (5) in section Positions of the interfaces [}page10]).
If no DHCP server is available, you can set an IP address on your PC or
notebook, which suits the same subnet:
Ø Use an Ethernet cable to connect the LAN connection port 2 (eth1)
directly with your PC or notebook.
Ø Open the Control panel.
Ø Click on Network and Sharing Center.
Ø Click on Change adapter settings.
Ø Double click the name of the network connection: Local Area
Connection. (The name of the network connection may be different on
your PC.)
Ø Click on Properties.
Ø Double click on Internet Protocol Version 4 (TCP/IPv4).
Ø Set the following IP address, e.g. 192.168.253.2 and subnet mask
255.255.255.0.
Ø Click on Ok and then click on Close.
ð Now you can access the Edge Gateway from your PC or notebook.
Read section Using the IP address [}page31] to find out how to access
the Edge Gateway.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Enter the following address in the address line of your browser:
https://<hostname>
Example: For the device with the host name NTB827EB1D9D94 enter
https:// NTB827EB1D9D94
ð The Edge Gateway Manager opens.
You can now use the Edge Gateway manager to configure the device. For
this purpose, read section Edge Gateway Manager web page [}page33].
6.2.2Access to the Edge Gateway in the Windows network environment
To be located easily in the network, the Edge Gateway uses the UPnP
technology (Universal Plug and Play). This technology will display the Edge
Gateway in the Windows network environment.
Ø To display all devices in the network, click on Network in the Windows
Explorer.
Ê You will find the Edge Gateway under Other Devices:
Ø Open the context menu of this entry and select Properties.
Ê The menu provides information on the Edge Gateway, e.g. serial
number, MAC address, host name or die IP address.
Ø Click on the link under Device web page.
ð The Edge Gateway manager opens.
Ø To open the Edge Gateway manager, you can also double-click on the
device icon.
ð The Edge Gateway manager opens.
You can now use the Edge Gateway manager to configure the device. For
this purpose, read section Edge Gateway Manager web page [}page33].
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
If you know the IP address of one of the LAN connections of the Edge
Gateway and if you are physically connected to your operating device, you
can use your web browser to establish a connection with the Edge
Gateway by entering this IP address directly. Should your operating device
be configured with an IP address only, but without a subnet mask, your
operating device has to be located in the same subnet as the Edge
Gateway to be able establish a connection.
Ø Enter the IP address in the address line of the web browser as follows:
https://<IP address>
Example: https://10.11.5.61
ð The Edge Gateway manager opens.
You can now use the Edge Gateway manager to configure the device. For
this purpose, read section Edge Gateway Manager web page [}page33].
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Edge Gateway Manager displays tiles that allow rapid access to the
applications integrated in the device or external web pages.
IconFunction
Opens the control panel of the Edge Gateway.
The control panel configures the Edge Gateway and displays
information on the system. Section Control Panel [}page35]
describes the possibilities of configuration as well as the displayed
information on the system.
Opens the wiring editor Node-RED.
Section Node-RED - The wiring editor [}page97]describes how
to create applications for the Edge Gateway.
Opens the Node-RED Dashboard (graphical user interface).
Opens the Edge Server Control Center.
See section Edge Server [}page196].
Opens the Docker management.
See section Isolated application execution withDocker [}page208].
Opens the Edge Gateway documentation stored in the device.
Opens the homepage of the Device Information Portal in the
Internet.
Requires a connection to the Internet.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Setting the administrator password when the control panel is called
for the first time
The dialog box Set Administrator Password is displayed when the control
panel is called for the first time.
Figure16: Edge Gateway Manager - Setting the administrator password
To set a new administrator password, proceed as follows:
Ø Enter the preset password under Current Password. With the first
commissioning, the password is:
admin
Ø Enter the new administrator password. It must have at least 7
characters. For reasons of safety, Hilscher recommends using
significantly more characters. A strong password consists of upper and
lower case letters, digits and special characters. A quality indicator in
the dialog box evaluates the password.
Weak passwordMediocre passwordStrong password
Ø Click Change Password only after the entered password has been
evaluated as strong.
ð The administrator password for the user account Admin has thus been
changed.
ð As an administrator you can now use the control panel, create further
users in the user management, and assign access rights.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Edge Gateways support web connections secured by SSH/TSL via
https:// accesses only.
By definition, a secure connection can provide an efficient protection only if
a certificate proves that the server is secure. Only then can running
transactions of the initiating browser and the server be considered as
protected against interception and data theft.
This is why the browser at first inquires a certificate of verification from the
server (Gateway). This certificate proves that the issuer has verified the
security of the server. Each browser provides a preinstalled list of known
authorized issuers of certificates.
Each time the certificate of the server arrives at the browser, the browser
compares the issuer of the certificate with the issuers stored in the list of
known authorized issuers of certificates.
If the issuer of the certificate is not listed, the browser will signal a
certificate error and request the user's confirmation to continue because it
assumes that the connection is insecure.
As standard, Edge Gateways contain a certificate issued by Hilscher that is
not on the list of the known authorized issuers of certificates. Due to that,
the browser signals an insecure connection and requests the confirmation
to continue. When this confirmation has been given once, any future
connections will be established without further requests.
Note:
In the control panel you can replace this certificate any time by the
certificate of a known authorized issuer of certificates, see section
Uploading and installing own security certificates).
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Open this page with System > Info Center. No access rights are required
in order to open this page. This page shows e.g. the firmware version and
the serial number of the Edge Gateway.
Figure24: Page Info Center
The Info Center displays the following information:
System infoDescription
Hardware ident.Serial number of the Edge Gateway
Model nameModel designation of the Edge Gateway (NIOT-E-TIJCX-GB-RE)
Firmware versionComplete version designation of the firmware stored in the Edge
Gateway
System timeSynchronization status of the internal clock of the Edge Gateway.
When the clock is synchronized via the network, the IP address and
the name of the time server used for synchronization will be
displayed. The user has to configure the time zone.
Processor nameName of the microprocessor (CPU) installed in the Edge Gateway.
Table16: Info Center: Area System info
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
CPU usageNumber of microprocessor cores plus clock frequency and average
utilization of each core in the Edge Gateway
Memory utilizationSize and average utilization of the main memory in the Edge Gateway
Storage spaceDisplay of available memory and the memory that is currently utilized
on the integrated Solid-State-Disk of the Edge Gateway
Table17: Info Center: Area Monitoring
TemperatureDescription
CPU temperatureDisplay of the temperature of each processor core in the Edge
Gateway
Table18: Info Center: Area Temperature
If the data of the area Monitoring cannot be read, this is grayed out.
8.3.2License Manager
Open this page with System > License Manager.
The functionality of an Edge Gateway can be extended. The use of
particular functions requires a license. On this page you can see which
licenses are present in the device and you can transfer a license file into
the device.
8.3.2.1Which licenses are present in the device?
In order to display the licenses contained in the Edge Gateway, use the
License Manager. You can open it as follows:
Ø Open the Control Panel.
Ø Select System>License Manager.
Ê The window of the License Manager opens:
Figure25: License Manager with license for the passive mode of operation
The table License enabled Software Packages displays the currently
available licenses, in the example a license for the passive mode of
operation of the Edge Gateways is available.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Click at the info button on the left edge of the line (within column
Details).
Ê The Details window opens:
Figure26: License information in window Details
For each license, it displays the license type (Column Type), a brief
description (Column Description) and the expiration date (Column
Expires). An expiration date will be displayed only, if the license has a runtime limit.
8.3.2.2How to order and receive a license
The following instruction explains how to order a license for your Edge
Gateway to be used in passive mode of operation and receive a license file.
If you order device and license together or after ordering the license, you
receive a delivery note. After receiving the delivery note order the license
file from Hilscher by e-mail. Specify the following information in your e-mail:
1. The denomination of the desired license
2. The number of your delivery note (for reference)
3. The LAN MAC address of your device (to be taken from the device
label)
4. The e-mail address, to which the license download link shall be sent to.
Specify the following as the subject of your e-mail:
Request for a netIOT Licence
Ø Send the e-mail to Hilscher: vertrieb@hilscher.com
Ø Hilscher creates an individual license file for your Edge Gateway
according to the information supplied by you.
Ø Hilscher sends this file back to you as an attachment within the answer
e-mail. Consequently, this license file has to be transferred into the
Edge Gateway as described in section How to transfer a license into thedevice? [}page46].
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Load the individual license file received from Hilscher from your PC into the
Edge Gateway. Do the upload as follows:
Ø Open the Control Panel in a web browser.
Ø Select System > License Manager.
Ø Click on Upload License.
Ê A file selection dialog opens.
Ø Select the license file. This file has the file extension *.LIC.
Ø Click on OK.
Ê The license file is transferred into the Edge Gateway. If the transfer is
successful, the following message is displayed:
Figure27: Message after the transfer of the license file into the Edge Gateway
Ê To activate the license, a restart of the Edge Gateways is necessary.
Ø Click on OK.
Ê The license is installed now, but becomes active after the next restart of
the Edge Gateways.
Ø For a restart, select System > Reboot.
ð The license is activated.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
At any time, a Linux system executes many programs running in parallel
within the background. Usually, these are denominated as services, servers
or daemons. They perform a large part of the work of the operating system.
As they run in the background, these programs do not have a GUI and so
they are not able to manage output directly, for instance in case of events
relevant for system administration.
Such messages originate from
1. the Linux kernel (the central part of the operating system)
2. the daemons (programs executing the system services
3. user nprograms
Therefore, these messages are collected by a central system log service
(syslog) and are distributed depending on their priority and origin according
to a configurable set of rules.
So ,for system supervision and safeguarding correct reaction on error
situations, the file logging daemon syslogd (or an improved successor of it)
runs on every Linux system,. On the Edge Gateways from Hilscher, the
widely-spread logging daemon Syslog-ng is used, which had been
developped by BalaBit IT Security Ltd. (now: One Identity, https://syslog-
ng.org/).
Openíng the system log
To access the syslog files generated by Syslog-ng, open this page within
the main menu of the control panel using System > Syslog. Read access
rights are required to open this page. The page shows you a list of stored
system logs covering different periods in time. This list also contains the
last date of change and the file size specified in KB. Within this list, each
line corresponds to a gzip-compressed system log file for a specific time
period.
Figure28: Control Panel, page System > Syslog
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Select the desired entry within table Syslog files.
Ê The selected line is highlighted instantly.
Ø Click at button Download in the header of window Syslog files.
ð Your Web browser loads the file down from the Edge Gateway and
offers options for further processing of the downloaded file such as
Open, Open directory. The file has been compressed with the program
gzip and must be unpacked prior to evaluation.
8.3.3.1Structure of system log file
The structure of the entries has been originally defined by the IETF within
RFC3164 (https://tools.ietf.org/html/rfc3164), meanwhile it has been
reworked and substituted by RFC5424 (https://tools.ietf.org/html/rfc5424) .
The structure of the entries in the system log files of the Edge Gateways
also follows this structure.
HEADER
PRI - Priority
The header starts with the priority, denominated as PRI within the
standard.The priority is an integer number enclosed by angled brackets like
<45>, for instance.
The priority can be calculated from two numeric values:
·the facility (signifying the origin of the message, located within the upper
5 Bits)
·the severity (signifying the urgence and importance of the message,
located within the lower 3 Bits)
The following formula accomplishes this:
Priority = 8 * Facility + Severity
The facility is coded according to the following table:
CodeFacility (Origin of message)
0Kernel messages
1User-level message
2Mail system
3System daemons
4Security/authorization messages
5Messages generated internally by syslogd
6Line printer subsystem
7Network news subsystem
8UUCP subsystem
9Clock daemon
10Security/authorization messages
11FTP daemon
12NTP subsystem log audit
13Log audit
14Log alert
15Clock daemon
16…23Locally used facilities (local0-local7)
Table19: Numeric coding of facility value in priority PRI
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The severity is coded according to the following table:
CodeSeverity (Importance of message)
0Emergency: System is currently in an unusable state
1Alert: Immediate action required
2Critical: The system is in a critical state
3Error: Error messages are present
4Warning: Warning messages are present.
5Notice: Normal state of operation, but there is an important Information
6Informational: Informational messages are present
7Debug: Messages on debug level are present
Table20: Numeric coding of severity value in priority (PRI)
VERSION
ISOTIMESTAMP
HOSTNAME
APPLICATION
PID
MESSAGEID
Here the version number of the current sys´log protocol standard is put out.
As this is still in version 1, the version without any exception always equals
to 1.
This part of the message line contains a timestamp in ISO 8601-compatible
standard format (yyyy-mm-ddThh:mm:ss+-ZONE). This time stamp
relates to the point in time at that the message has been generated.
Example
07/06/2018 15:59:41
This part of the message line contains the name of the machine originally
sending the message. The length of HOSTNAME is limited to 255
characters.
This part of the message line contains the name of the device or application
originally generating the message. The length of APPLICATION is limited
to 48 characters.
This part of the message line contains the name of the process or the
process ID of the syslog application originally sending the message. This
may not necessarily be the process ID of the application generating the
message. The length of PID is limited to 128 characters.
This is the ID of the message itself. The length of MESSAGEID is limited to
32 characters.
This part of the message line may contain metadata on the message line or
application-specific information such as counters or IP addresses. It
consists of data blocks enclosed in angled brackets []. Each block contains
an ID and one or more pairs of the form name=value.
Example
[meta sequenceId="1"]
MSG
This part of the message line contains the genuine text of the message. It
can either be coded in UTF-8 (if a BOM character has been detected) or
otherwise it is ASCII-coded.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Edge Gateway is configured for a daily change of the logging file and
to keep the files of the last seven days. This procedure is denominated as
log rotation.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
To access this page, you need rights for the resource:
Setting the system time
On this page you can set the system time and the time zone this time
relates to.
You can set the system time in two ways:
TypeSelectionMethodStandard
presetting
manuallyManual selectionby entering date and timeno.
automatically NTP synchronized by means of a time serveryes
Table22: Setting the system time
Figure29: Time configuration page
Note:
When you change a system time setting, always reboot the Edge
Gateway afterwards so that all software components in the Edge
Gateway take the changed time: System > Reboot.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Click the option Manual.
Ø Enter the time in the input field Time in the format hh:mm:ss.
Ø Set the date using the calendar input field Date.
Ø Click Save changes.
Ø Reboot the device: System > Reboot in order that all software
components in the Edge Gateway take the changed time.
ð The system time is set.
Setting the system time automatically using a time server
You can synchronize the time using a time server that uses the Network
Time Protocol (NTP). Under NTP synchronized there is a list where you
can enter such time servers. The list of NTP servers will be worked off from
top to bottom until a server gives a valid answer and synchronization
occurs.
Ø Click the option NTP Synchronized.
Ø Click Add NTP server.
Ê The dialog box for entering the NTP server is displayed.
Ø In the input field NTP server enter the address of a server which uses
the NTP to synchronize the time:
E.g.: To add the server for time synchronization of the PhysikalischTechnische Bundesanstalt (the National Metrology Institute of
Germany) to the list, enter the address ptbtime1.ptb.de in the input
field NTP server.
Ø Click Add.
Ø Click Save changes.
Ø Reboot the device: System > Reboot in order that all software
components in the Edge Gateway take the changed time.
ð The system time is set via the NTP. As soon as the system time is set
successfully, the following information will be displayed under Status:
Synchronized to time server <IP address of the time
server>:<Port number of the time server > (<NTP
address of the time server>)
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
With the selection list Timezone you can adjust the time zone to your local
time in which the Edge Gateway is so that the set time can be interpreted
correctly (e.g. summer time conversion). For this purpose, the selection list
Timezone offers many setting options. The default value is Universal. For
Central European Time set CET.
Note:
Once the system time has been set, system services and NodeRED flows which use the system time for synchronization loose
their reference time, i.e. they refer to the new time set. When you
change a system time setting, always reboot the Edge Gateway
afterwards so that all software components in the Edge Gateway
take the changed time.
8.3.5Configure ports for HTTP/HTTPS communication
Open this page with System > Port Settings.
In order to open this page, no access rights are required.
By default, the Edge Gateway Manager uses port 80 for its HTTP
communication and port 443 for its HTTPS communication. In case of the
ports being used otherwise, you can configure the Edge Gateway to use
other ports. This situation applies, for instance, when using Docker (see
Isolated application execution with Docker [}page208]) , if Docker
containers are designed to serve HTTP and HTTPS requests only at the
above mentioned standard ports.
Figure30: Port settings
ProtocolDefault port
HTTP80
HTTPS443
Table23: Default ports
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
You have to login as Administrator to use this function.
This page offers the possibility to store the complete system files of the
Linux operating system of your Edge Gateway onto an external mass
storage device and to restore it from there, if necessary.
Backup
Observe the following information:
·The duration of the backup depends on the quantity of data.
·A running backup cannot be interrupted.
·The backup can deteriorate the performance of the Edge Gateway.
·Save the backup on an external data carrier because any existing
backup will be overwritten irrevocably without prior notice.
In order to create a backup of your system, proceed as follows:
Ø Select System > Backup and Restore in the control panel.
Ê The following screen is displayed:
Figure31: Backup and recovery
Ø Click at Create local backup.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
To improve the safety you can optionally define a password within input
field Password. If a password has been specified, that password must be
entered at each attempt to access the created backup file.
Furthermore, this warning message explains the above mentioned
consequences of starting the backup process such as time expense,
increased system load and missing possibility of abortion.
Ø In order to start the backup process, click at Yes.
Ê The following screen indicates the start of the backup process by the
text Backup in progress:
Figure33: Backup in progress
ð If the backup process has successfully been finished, the formerly
grayed out buttonDownload local backup is activated and the backup
file is offered for possible download. This means, the backup of system
files has been completed.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Choose this option to restore the system using the stored data, if already
an internal backup has been performed within your device and you have
downloaded this backup to an external storage medium or device.
Take care of the following consequences of system recovery:
·that the former system is overwritten and fully replaced by the system
stored in the backup file.
·that a new start of the system is initiated.
·that this process can last for a significant amount of time and cannot be
interrupted.
·that you must not interrupt power supply of the Edge Gateway in any
case.
In order to restore your system from a previous external backup (i.e.
download of an internal backup), proceed as follows.
Ø Select System>Backup and Restore within the Control Panel.
Ê The following screen appears:
Figure37: Backup and recovery
Ø Click at Restore from backup.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
If a password has been specified at creation of the backup file to be
restored, that password must be entered in input field Password!
Ø Click at Explorer.
Ê A file selection dialog appears.
Ø Select the image file with your stored system (file extension is *.img).
Ê The following message dialog is displayed:
Figure39: Message prior to starting recovery from external backup
Ê You are informed about the above mentioned consequences of system
recovery.
Ø If you want to proceed taking into account these consequences, then
click at Yes.
ð The selected file is checked for correctness. If the file is no image file,
does not contain a backup or is defective in any other way, an error
message is displayed. Otherwise your system is recovered from
external backup. In any way, do not interrupt the power supply of the
Edge Gateway during system recovery!
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
You have to login as Administrator to use this function.
In order to shut down the system:
Ø Within the Control Panel select menu entry System > Shutdown.
Ê The following safety query is displayed:
Figure44: Warning for consequences of shutdown
Ø If you really intend to shut down the system, answer to the safety query
with Yes.
ð The Linux operating system of your Edge Gateway is shut down.
Note:
Take care of the consequences for your network, if you shut down
the Edge Gateway.
8.4Packet management
8.4.1Managing packets
Open this page with Package Manager > Packages.
In order to be allowed to install packages, you need access rights "Read &
Write" for the resource "packages". In order to view the installes packages,
you only need access right "Read".
This page serves for managing additionally installes packages of the Linuxbased operating system of the Edge Gateway. The standard packages of
the operating system will not be listet on this page. The page
·lists the additionally installed packages including version,
·adds new and signed packages or
·updates already installed signed packages.
Note:
You can install packages signed by Hilscher only!
Use the package management only when Hilscher requests you to use the
package management.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
For editing the parameters, you need the access right „Read & Write“ to the
resource „LAN“. For displaying the parameters, you need the access right
„Read“.
On this page you configure the Ethernet interfaces eth0, eth1 (both on
the side of the cloud) and cifx0 (on the side of the fieldbus).
When delivered, the Ethernet interface cifx0 is deactivated. Section
„Activating the Ethernet interface cifx0“ (see below) describes how to
activate this interface.
You can configure the setting of the IP-address for each Ethernet interface.
·The Edge Gateway obtains the IP-address parameters automatically
from a DHCP server: Option „Obtain an IP address automatically“. The
Edge Gateway is a DHCP client.
·The user enters the IP-address parameters manually: Option „Use the
following IP address“. In this setting the Edge Gateway can be used as
a DHCP server (optionally).
The IP-address parameters include the IP-address, the subnet mask, the
Gateway address, and the IP-addresses of Domain Name Server 1 and 2.
The default IP address of the LAN connection eth1 (Port 2) is
192.168.253.1 with the subnet mask 255.255.255.0.
Figure45: Default LAN-configuration
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Name-displays the name of the LAN interface, e.g. eth0.
MAC address-displays the MAC address of the LAN interface.
SettingsObtain an IP address
automatically
Use the following IP
address
IP address,
Subnet mask,
Gateway
Receive DNS address
from DHCP server
DNS server 1,
DNS server 2
DHCP server
settings
Enable
Setting required so that the Edge Gateway automatically obtains the IPaddress parameters from a DHCP server.
Setting required so that the user can enter the IP-address parameters
manually. In addition, always enter the subnet mask and the Gateway
address.
Automatically: Display of the IP-address parameters received from the
DHCP server.
Manually: Input fields for the IP-address parameters to be entered by the
user.
DNS addresses (automatically) received from DHCP server.
DNS addresses manually entered by the user.
Automatically: Display of the DNS addresses received from the DHCP
server.
Manually: Input fields for the DNS addresses to be entered by the user.
At this interface, the Edge Gateway provides a DHCP server.
Prerequisite: The option „Use the following IP address“ is set. Note: In
this subnetwork, no other DHCP server must be available.
At this interface, the DHCP server is deactivated.
Start IP address,
End IP address,
Gateway,
Subnet mask
Table24: Table LAN: Description of the columns and elements
Parameters for the integrated DHCP server of the Edge Gateway.
To save your changes permanently, click Save changes.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Open the Fieldbus page with Network > Field.
Ê The Fieldbus page is displayed.
Ø Set the operating mode to Active.
Ø Click Change mode and then Yes.
Ø Under Firmware, select PROFINET IO Device or EtherNet/IP Adapter.
Ø If you have changed the selection under Firmware, click Change mode
to adopt your change and then click Yes.
2. Starting the Node-RED service.
Ø Open the Service page with Services > Service List.
Ê The Service page is displayed.
Ø If the Node-RED service is in the state Stop (yellow), mark the service
Node-RED.
Ø Set the Autostart to enabled so that the Node-RED service will also be
started with the next start of the device.
Ø Click Apply and then Yes.
Ø Under Operating status, click Start and then Yes.
Ê The Node-RED service has been started and is displayed green.
3. Displaying the Ethernet interface cifx0
Ø Open the LAN page with Network > LAN.
Ø If the Node-RED-service has been started only a moment before, the
Ethernet interface cifx0 is not displayed yet. The starting procedure
may take up to 1 minute. To display cifx0, click Refresh.
ð The Ethernet interface cifx0 is activated and can be configured now.
Figure46: LAN configuration(cifX0 activated)
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The following table describes the parameters of the operating mode Accesspoint.
ElementDescription
Operation
mode
ModeSelection list for changing the mode of operation
Namedisplays the name of the Wi-Fi interface (wlan0).
MAC address displays the MAC address, if Wi-Fi is activated.
IP addressSpecify IP address of Edge Gateway.
Subnet mask Specify subnet mask of Edge Gateway.
GatewaySpecify IP address of network gateway.
ChannelIn the list Channel you can select the radio channel and, thus, determine the
CountryIn the list Country you can select the country in which you operate the radio
SSIDSpecify Service Set Identifier of wireless network
Wi-Fi
protected
access
Pre-shared
key
DHCP Server to activate/deactivate the DHCP server
Start IP
address
End IP
address
Table27: Parameters of the operating mode Access point
Current mode of operation Access point.
Select the new operation mode from the selection list and then click at
Change mode.
WLAN radio frequency in the 2.4 GHz band.
network.
Here you enter the SSID to be used in the wireless network (WLAN) of the
Edge Gateway.
Note: Do not use the default SSID.
In order to use a WLAN connection, you have to specify the SSID at the WiFi clients.
displays the encryption method used in the wireless network.
Here you enter the key to be used in the wireless network (WLAN) of the
Edge Gateway. In order to use a WLAN connection, you have to enter this
key on any Wi-Fi client.
Note: Do not use the predefined default key.
Check this box whenever the Edge Gateway is to provide a DHCP server.
Here you have to enter the start IP address of the IP address range for the
DHCP server if you have checked the box DHCP server.
Here you have to enter the end IP address of the IP address range for the
DHCP server if you have checked the box DHCP server.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Click a line in the table which shows data of a client found.
Ø Click at Connect.
ð A dialog to enter the password is displayed.
Ø Enter the password and click Connect.
ð The Edge Gateway tries to establish a WLAN connection with the found
client. If this does not succeed, an error message is displayed.
Delete stored connection
Ø In the table of the connections, click Delete in the row to be deleted.
ð The stored connection is deleted and the messageWi-Fi successfully
disconnected is displayed.
Saving the Wi-Fi settings
To save the Wi-Fi settings, you need the access right 'Write' for the Wi-Fi
page.
Ø Click Save changes.
ð A security request box appears:
Ø Click at OK.
ð The Wi-Fi settings are saved.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
To access this page, you need rights for the resource:
Access to Field
On this page you configure the operating mode of the fieldbus interface
(Real-Time Ethernet). The fieldbus interface is deactivated when delivered
(factory setting).
Operating mode Description
ActiveIn the operating mode Active, the device can send and receive data on
the fieldbus interface. Note: The operating mode Active is required for
the typical operation of the Edge Gateway.
In this operating mode, select a firmware: PROFINET IO Device or
EtherNet/IP Adapter. Note: Do not use the PROFIBUS DP Slave
firmware.
In Node-RED use
· the fieldbus input node to receive data from the fieldbus (see section
Example 4: Fieldbus input node [}page138]) and
· the fieldbus output node to send data to the fieldbus (see section
Example 5: Fieldbus output node [}page146]).
PassiveIn this operating mode Passive, the device receives data from the
fieldbus interface. The receives data can be processed in Node-RED or
a Docker application. Table Operating modes in the passive operatingmode [}page73] describes further operating modes.
InactiveThe interface is deactivated.
Table29: Operating mode fieldbus interface
The passive operating mode offers you further operating modes.
The user manual Passive operating mode describes capabilities of
the Edge Gateway in the passive operation mode.
Operating mode Description
ConfigurationIn operating mode Configuration, you can transfer the signal
configuration in the Edge Gateway. After you have transferred the signal
configuration in the Edge Gateway, change the operating mode to
Operational.
OperationalThe received data can be processed in Node-RED using the passive
fieldbus input node.
The Edge Gateway has to be configured before using the operation
mode Configuration.
DockerThe received data can can be processed in a Docker application. The
Edge Gateway does not need a signal configuration in this mode.
Table30: Operating modes in the passive operating mode
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
In order to be allowed to edit these parameters, you need access rights
“Read & Write” for the resource “Cellular”. In order to view these
parameters, you only need access right “Read”.
On this page, you can configure the cellular interface of the Edge Gateway
for transmitting data into the cloud via 2G/3G/4G standard.
Cellular communication is possible only with the
NIOT-E-TIJCX-GB-RE\4EU gateway variant (article number 1321.302). If
you are using a different gateway variant, a Cellular interface notinstalled message will be displayed on opening this page.
In its state of delivery, the cellular interface (modem) of the gateway is
disabled.
Cellular state
The first line shows the current state of the cellular interface/modem:
Figure51: State of cellular interface
ParameterDescription
Modem stateShows the current state of the cellular interface (i.e. modem).
Click the button to open a window containing descriptions of all possible states.
FAILEDError: The modem is unusable
SIM_MISSINGError: SIM is required but missing
SIM_ERRORError: SIM is available, but unusable (e.g. permanently locked)
INITIALIZINGThe modem is currently being initialized
LOCKEDThe SIM needs to be unlocked
DISABLEDThe modem is not enabled and is powered down
DISABLINGThe modem is currently transitioning to the DISABLED state
ENABLINGThe modem is currently transitioning to the ENABLED state
ENABLEDThe modem is enabled but not registered with a network provider and not
available for data connections
SEARCHINGThe modem is searching for a network provider to register with
REGISTEREDThe modem is registered with a network provider, and data connections and
messaging may be available for use
DISCONNECTING The modem is disconnecting and deactivating the last active packet data
bearer
CONNECTINGThe modem is activating and connecting the first packet data bearer
CONNECTEDOne or more packet data bearers is active and connected
ModemDrop-down list for enabling and disabling the cellular modem.
Change stateClick this button to activate the Enabled or Disabled state selected in the Modem drop-down list.
Table31: Modem state
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Connection configuration
Ø Select the Enabled option from the Modem drop-down list, then click
Change state button.
Ê In the Enabled state, the page shows the connection configuration,
respectively the access data of the cellular service provider:
Figure52: Connection configuration Parameter
Note:
Before you proceed to enter your provider's access data into the
fields in the Connection configuration area, you must first install
your SIM card and mount suitable antennas onto the gateway.
Instructions for this can be found in section Preparing gateway forcellular communication [}page17].
Note also that some providers require you to fill-in only certain
parameters (e.g. only the SIM pin) or even none of the access
parameters listed below, in order to allow you to access their mobile
network. Contact your provider to find out which credentials are
actually required.
ParameterDescription
Access Point Name
(APN)
UsernameIf required, enter here the user name that was assigned to you by
PasswordIf required, enter here the password that was assigned to you by
SIM PINIf required, enter here the PIN of your SIM card that was
Table32: Access parameters of mobile provider
If required, enter here the APN of your provider.
your provider.
your provider.
assigned to you by your provider.
Note: In case you have repeatedly entered wrong numbers, thus
exceeding the indicated Remaining unlocking attempts forPIN1, the PIN will be locked. To unlock it, you must remove the
SIM card from the gateway, put it into another mobile device like
e.g. your mobile phone and reset the PIN with the PUC (or PUK)
that was given to you by your provider. Afterwards you can reinstall the card in your gateway and try entering the PIN again.
Ø Click Save configuration button to store the entered values.
Ø Restart the gateway by choosing System > Reboot from the menu, so
that the modem can start connecting with the provider.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Once the SIM card has been successfully unlocked by the PIN, the
PIN stays active until you delete it by using the Deleteconfiguration button followed by a reboot of the gateway.
Bear this in mind if you intend to change the SIM card: it is not
sufficient to just overwrite the old value in the SIM PIN field, you
must actively delete the value with the Delete configuration button
and restart the gateway before entering the new PIN.
Information
The Information area displays general network and connection
parameters:
Figure53: Network information
ParameterDescription
Signal strengthThe bar shows the signal strength and thus the quality of the
current connection in percent.
Click the button to open a window containing further
information.
Network typeUsed mobile communication standard
Name of the providerName of your cellular/mobile provider
Cell identification (CellID)
Location Area Code
(LAC)
IMEIIdentification number of the gateway's cellular modem
Table33: Network information
Identification number of the used BTS (base transceiver station)
Location area code
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The IP settings area displays the IP parameters of the cellular data
connection. IP settings are assigned by the provider on establishment of
the connection:
Figure54: IP Settings
ParameterDescription
IP AddressIP address of the modem (assigned by cellular provider)
GatewayIP address of the gateway of the data connection (i.e. of the
provider's Base Transceiver Station)
DNS server 1IP address of the Dynamic Name Server of the data connection
DNS server 2IP address of the Dynamic Name Server of the data connection
Table34: IP settings
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
In order to be allowed to edit these parameters, you need access rights
"Read & Write" for the resource "Routes". In order to view these
parameters, you only need access right "Read".
On this page, you can configure the IP routing of the Edge Gateway; i.e.
here you can specify which interfaces or connections are to be used to
address certain IP destination addresses outside the Edge Gateway (e.g.
on the Internet).
Figure55: Routes
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Current connection configuration table shows the current IP settings
of the network connections of the Edge Gateway:
ParameterDescription
ConnectionPhysical or virtual interface
cifx0Ethernet-LAN connection of the Real-Time Ethernet interface
(Fieldbus).
You can configure the IP address of cifX0 under Network >
LAN (you must first enable the cifX0 interface under Network >
Field).
eth0LAN connection of the eth0 Ethernet interface (port 1).
You can configure the IP address of eth0 under Network >
LAN.
eth1LAN connection of the eth1 Ethernet interface (port 2).
You can configure the IP address of eth0 under Network >
LAN.
cellularCellular communication interface (Modem).
The IP address is assigned to the modem on establishment of
the connection by the provider.
Note: The Cellular modem is available only in the NIOT-ETIJCX-GB-RE\4EU variant.
wifi_client Wi-Fi interface.
You can configure the operating mode ("Access Point" or
"Client") and the IP address for the Wi-Fi interface under
Network > Wi-Fi.
Note: The Wi-Fi interface is available only in the NIOT-E-TIJCX-
GB-RE\WF variant.
IPIP address of the connection in CIDR notation
Note: In case no IP address is displayed although the interface has been
activated:
· In case, the Ethernet interface has no link (then the operating system
does not assign an IP address to this interface).
· In case, the Ethernet interface has a link but the Ethernet interface has
not received an IP address from a DHCP server (then the operating
system deactivates this interface).
DHCPIndicates whether a DHCP service has been set for the connection.
Table35: Parameters of Current connection configuration table
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The Static routes configuration area displays already created routes, and
you can also create new routes here.
Ø In the drop-down list, select a connection/interface, e.g. eth1, to display
the IP destination addresses that are to be handled via this connection:
Figure56: Defined Routes
ParameterDescription
DestinationIP destination address in CIDR notation
GatewayGateway serving as first "hop" of the connection/route. If empty, the
standard gateway will be used as default.
MetricIf several routes have been defined for an IP destination address –
e.g. a wired route via Ethernet (eth1) and an alternative wireless route
via cellular connection (cellular) – the priority of the route can be
defined here.
The Edge Gateway always first uses the route with the lower value in
the Metric field to reach the IP destination address. If this route is
blocked (e.g. by pulled cable), the Edge Gateway will use the route
with the next higher number defined in the Metric field (e.g. via
cellular connection), etc.
DeleteUse the Delete button to delete the route.
Table36: Routes parameters
Ø To define a new route, first select in the drop-down list the connection/
interface that shall be used to contact the IP destination address.
Ø Click Add button.
Ê The table creates a new route with the default destination address
0.0.0.0/0:
Figure57: Create new route
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø In the Destination field, overtype the 0.0.0.0/0 default value with
your actual destination IP address. Use the CIDR notation.
Figure58: Define new route
Ø In the Gateway field, enter the IP address of the gateway that shall be
used as "first hop". The gateway should be located in the same network
as the connection/interface of the Edge Gateway. If the field is left
empty, the standard gateway will be used as default.
Ø If necessary (i.e. if more than one route has been defined for this IP
destination address), define the priority of the route in the Metric field.
The lower the number, the higher the priority.
Ø Click Save button.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
In order to be allowed to edit these parameters, you need access rights
"Read & Write" for the resource "Firewall". In order to view these
parameters, you only need access right "Read".
On this page, you can set individual firewall parameters for each
connection/interface of the Edge Gateway separately.
Figure59: Firewall
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
cifx0Ethernet-LAN connection of the Real-Time Ethernet interface
(fieldbus).
You can configure the IP address of cifX0 under Network >
LAN (you must first enable the cifX0 interface under Network
> Field).
eth0LAN connection of the eth0 Ethernet interface (port 1).
You can configure the IP address of eth0 under Network >
LAN.
eth1LAN connection of the eth1 Ethernet interface (port 2).
You can configure the IP address of eth0 under Network >
LAN.
cellularCellular communication interface (modem).
The IP address is assigned to the modem on establishment
of the connection by the provider.
Note: The cellular modem is available only in the NIOT-ETIJCX-GB-RE\4EU variant.
wifi_clientWi-Fi interface.
You can configure the operating mode ("Access Point" or
"Client") and the IP address for the Wi-Fi interface under
Network > Wi-Fi.
Note: The Wi-Fi interface is available only in the NIOT-E-
TIJCX-GB-RE\WF variant.
Current
firewall zone
New firewall
zone
SaveClick this button to save new firewall settings.
Table37: Parameters firewall
Current firewall settings for the connection/interface.
Here you can change the firewall setting for the connection/interface by
clicking the arrow icon and selecting a new configuration setting from the
drop-down list.
blockAll packets reaching the interface will be dropped. The sender
will be notified by an ICMP "unreachable" message.
dropAll packets reaching the interface will be “silently” dropped.
nat_dropThe source IP address of all outgoing IP packets is replaced
by the assigned IP address of the interface. All incoming IP
packets will be dropped.
nat_trusted The source IP address of all outgoing IP packets is replaced
by the assigned IP address of the interface. Incoming IP
packets will be forwarded to the assigned IP address of the
interface.
trustedDefault. All IP packets will be forwarded transparently (firewall
is switched off).
Important:
Note that you can no longer connect to the Edge Gateway Manager
via a blocked interface. If you inadvertently block all active
interfaces, the gateway is no longer accessible and must be reset to
the factory settings via "Firmware Recovery" (see section Firmwarerecovery [}page265]).
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
To access this page, you need rights for the resource:
Access onto hostname of Edge Gateway
On this page you configure the host name.
The host name identifies the device via the Wi-Fi or LAN network.
The default host name starts with the two letters "NT" followed by the LAN
MAC address of the LAN connection port 1 of the Edge Gateway. Example
NT0002A233E559. The default host name is printed on the label at the
bottom of the Edge Gateway. With the host name you can access the Edge
Gateway from your PC even without knowing the IP address of the Edge
Gateway (also see Using the web browser to establish a connection withthe Edge Gateway [}page29]).
If the Edge Gateway does not obtain an IP address from a DHCP server,
the system cannot translate the host name and you cannot access the
device.
Figure60: Hostname
Input field Hostname
A string of ASCII characters of arbitrary length can be entered into the input
field Hostname.
Saving the host name
The hostname is saved by clicking at.
If storing the hostname has succeeded, the following message box is
displayed:
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
For changing the settings of a service, you need the access right „Read &
Write“ to this service. For displaying the settings you need the access right
„Read“ to the service.
On this page you can
·display the list of the running services,
·display the operating status of each service,
·stop and start single services,
·activate/deactivate autostart.
The list of services is displayed at the left edge:
Figure61: List of default services
For a quick overview, the operating status of each service is displayed in
color.
ColorOperating status
greenThe service is being executed.
yellowThe service is configured, but not executed.
redThe service is neither configured nor executed.
greyNo access right to this service
Table38: Operating statuses of the services
The following table lists operating and display elements which are available
for each service.
ElementDescription
Operating statusDisplays the operating status of the service: “Stopped” or “Running”.
Button to Start or Stop the service.
AutostartDisplays whether the service is automatically startet (enabled) or
not started (disabled) when the Edge Gateway starts.
“Apply” button to change the autostart setting.
License statusDisplays information about the license, if the execution of the
service requires a license:
· Required license available in the Edge Gateway:
available / not available,
· name of the license,
· expiration date, if the license has a run-time limit.
Table39: Operating and display elements
A service can allow you individual settings.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
In case, the processing of a flow in the Edge Gateway takes a very long
time (e.g. due to an endless loop) you can delete all flows. After deleting
the flows there is no chance to restore these flows.
Ø Click Delete all.
Ê A security question is displayed.
Ø If you intend to delete all flows, click Yes.
ð All Node-RED flows are deleted.
8.6.1.2OPC UA Server for Edge
Figure62: OPC-UA Server for Edge settings within the Control Panel, page Network>Field
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The following table describes the parameters of the OPC UA Server for
Edge.
ParameterDescriptionRange of values
General communication parameters
PortThe port used for communication by OPC UAValid port
Default: 4840
Server NameThe name of the OPC-UA Server (for the client)Name consisting of:
a…z, A…Z, 0-9, space
Global discovery server
URL
Limitations
Max SessionsMaximum number of sessions1 … 10
Max connections per
endpoint
Max nodes per readMaximum number of nodes per read1 … 100
Max nodes per browseMaximum number of nodes per browse1 … 200
Min sampling interval Edge
Server
Min sampling interval
passive fieldbus
Security settings (Security modes)
At least one of these options must be checked. If multiple options are checked, the OPC UA Client may select a suitable
of these options.
NoneUnsigned communication without encryptionChecked / not checked
SignSigned communication without encryptionChecked / not checked
Sign&EncryptSigned communication with encryptionChecked / not checked
Security settings (Security policies)
At least one of these options must be checked. If multiple options are checked, the OPC UA Client may select a suitable
of these options. For maximum security you should choose the security mode Sign&Encrypt and the security policy
Basic256Sha256.
For more information, follow the links to the various security policies on https://opcfoundation.org/UA/SecurityPolicy/.
NoneNo encryption
Basic128Rsa15Encryption algorithm Basic128Rsa15, useful at security
Basic256Encryption algorithm Basic256, useful at security mode
URL of a Discovery Server within the network to which
the Edge Gateway is connected. If there is a Global
Discovery Server in your network, then specify ist URL in
Parameter Global discovery server URL. Using this
server, you can then access all OPC UA Servers listed
there. If this is not the case, use the displayed default
address: opc.tcp://127.0.0.1:4840/
UADiscovery
Maximum number of connections per endpoint1 … 100
Minimum sampling interval of the Edge Server, specified
in milliseconds
Minimum sampling interval of the passive fieldbus,
specified in milliseconds
useful at security mode None und Sign
mode Sign&Encrypt
Sign&Encrypt
Valid URL to a Discovery
Server within the network.
Default: 10
Default:100
Default: 100
Default: 200
>= 1 000
Default: 1000 [ms]
>= 200
Default: 200 [ms]
Checked / not checked
Checked / not checked
Checked / not checked
Basic256Sha256Encryption algorithm Basic256Sha256, useful at security
mode Sign&Encrypt
Security settings (Access method to OPC UA Server)
Anonymous accessAnonymous access to the OPC UA Server (not secure)Checked / not checked
Passive mode of operation
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Enable passive fieldbusEnabling the passive mode of operation
Check, if OPC UA Server should provide passively
acquired process data. Prerequisites are the Edge
Gateway running in the passive mode of operation and
the process data have been configured.
Not checked: The OPC UA Server should not provide
passively acquired process data.
Connection settings for the Edge Server
Edge ServerCheck, if the OPC UA Server is active. OPC UA for Edge
then accesses to the Edge Server and can access
topology information from the Edge-Server.
Not checked: OPC UA for Edge should not access
topology information from the Edge-Server.
UsernameUsernameValid username
PasswordPasswordValid password
Table40: Parameters of the OPC UA Server for Edge
Checked / not checked
Checked / not checked
Authentifcation in OPC UA
In general, OPC UA uses three methods for authentication.
1. Anonymous access
2. Access via username and password
3. Access via username, password, certificate and private key.
In order to allow anonymous access to the OPC UA Server, check
checkbox Allow anonymous access. This mode does not provide any
security and an OPC UA Client can connect via anonymous login.
Otherwise an OPC UA Client can access the den Edge Server via
username and password.
Storing the settings for the OPC UA Server for Edge
After you finished making your settings for the OPC UA Server for Edge,
you have to store these as follows in order to make them effective.
Ø Click at Save all.
Ê A message indicates that the configuration of the OPC UA Servers will
be changed on the next restart of the OPC UA Server.
Ø Click at OK.
ð The following message appears:
OPC UA Server for Edge config settings are
successfully saved
The changes are stored in the Edge Gateway now. However, they will
get effective after the next restart of the Edge Gateway.
Ø Click at Stop.
Ø Wait for some seconds.
Ø Click at Start.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The administrator manages users by means of two configuration pages:
·User roles (determining new roles and assigning access rights) and
·User accounts (adding, processing, and deleting).
Defining a user account is accomplished by assigning a predefined role to
the user.
8.7.1Managing user roles
Open this page with User Management > Roles.
On this page, you can determine roles and assign access rights onto
resources to these roles.
The roles Administrator and View are standard and cannot be deleted.
Figure63: Page for configuring roles
An access right is set per resource. Each configuration page of the control
panel which contains settable device parameters is a resource. Access via
REST-API (see Functions of the Edge Server [}page199]) is also a
resource.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
An access right can be assigned to the following single resources:
ResourceAccess to resource via menuUsage
System
Setting the system timeSystem > Time
License managementSystem > Licenses
System logSystem > SyslogDisplaying the system log
Packet management
Managing packetsPackage Manager > Packages
Network access
Access to LAN (Ethernet network) Network > LANConfiguring Ethernet communication
Access onto Wi-Fi (wireless
network)
Access onto hostname of Edge
Gateway
Access onto Field network
(Ethernet network)
Services
Configure service "XYZ" (depends
on installed services)
Configure DockerServices > Service List > Docker
Security
Public Key Infrastructure (PKI)Security > Public Key Infrastructure
Edge Server
Access via REST-APIEdge Server (REST API)Functions of the Edge
Table41: Access rights onto resources
Network > Wi-FiConfiguring wireless communication (Wi-
Network > Hostname
Network > Field
Services > Service List > Service "XYZ"Starting, stopping and configuring
Note: The user rights in the role
management relate only to the right to
configure the Docker service in the
Service List. The users of the Docker /
container management will be registered
in the portainer.io directly.
Setting the system time [}page51]
License Manager [}page44]
files [}page47]
Managing packets [}page63]
(LAN) [}page64]
Fi) [}page67]
Hostname [}page84]
Field [}page73]
services [}page85]
Isolated application execution with
Docker [}page208]
Public Key Infrastructure [}page92]
Server [}page199]
Each resource may obtain one of the following access rights:
Access rights onto resourceCheckbox
No accessNone
Read access onlyRead
Read and write accessRead, Write
Table42: Access rights to resources
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
For the protection of its communication using encryption, the Edge
Gateway uses security certificates and keys based on modern asymmetric
encryption techniques. The Edge Gateway can be integrated into a public
key infrastructure. The menu Security > Public Key Infrastructure offers
you the possibility to manage security certificates for several use cases,
display the contents of certificates.
To display information related to certificates and the associated keys, you
require access rights for reading on Public Key Infrastructure.
To add certificates and keys, you require access rights for writing on Public
Key Infrastructure.
Figure65: Public Key Infrastructure for managing of certificates
The GUI of the public key infrastructure consists of these areas:
1. Selection list for the certificate type (1): Trusted Certification Authorities
or Service certificates
2. File selection area for certificate and key files (2)
3. Certificate Viewer (3)
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
In the Certificate Type selection list (1), you can select whether you want
to manage
·certificates in the Trusted Certification Authorities or
·service certificates (server or client certificates for services in the Edge
Gateway) for the communication using the HTTPS or OPC UA
protocols.
File selection window for certificates and key files
In this area (2), you can select a PEM file containing information about a
certificate or a key. In case of selection of a certificate, important
information about the selected certificate is displayed in the area Certificate
Viewer (right side).
Depending on the selected certificate type (1), the file selection area for
certificate and key files either displays a list structure or a tree structure:
On selection of Root Certificates the list structure of the Trusted CA Store
in the Edge Gateway is displayed.
On selection of Service Certificates a tree structure is displayed.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The area Certificate Viewer (3) is used to display the structure of a
certificate selected within the file selection area on the left side. The
elements of the selected certificate according to the X.509 standard, such
as information on the issuer, serial number, country, locality, organisation
and oganisation unit are displayed, see section Structure of a certificateaccording to X.509 [}page239].
Note:
For more information on the foundations of asymmetric encryption
techniques and public key infrastructure, see sections Asymmetricencryption [}page237] and Certificates and keys [}page239].
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
Ø Click at Edit user account.
Ê The dialog Edit user account is displayed.
8.10.2Logout
Figure70: Dialog "Edit user account"
Ø Specify your e-mail address at the input field E-mail.
Ø Click at Save changes.
ð The specified e-mail address is stored.
Changing the password
Ø Click on Edit user account.
Ê The dialog Edit user account is displayed.
Ø Check change user password.
Ø Specify your password at the input field New Password.
Ø In order to confirm your input, specify your password again at the input
field Confirm Password.
Ø Click on Save changes.
ð The changed password is saved.
To log out from the Edge Gateway, use Session> Logout. No access
rights are required to select this menu entry. Prior to accessing the Edge
Gateway again, a new login (Specifying user name and password) is
necessary.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public
The task of a gateway in the Internet of Things is to establish easy
configurable flexible connections between different devices. The netIOT
Edge Gateway uses Node-RED for this task, a very flexible visual wiring
editor for the Internet of Things.
Node-RED was developed by IBM. It is a web-based graphical tool with an
intuitive user interface for wiring nodes for an application-specific data flow.
Nodes are wired by means of a mouse with drag and drop.
Node-RED is based on node.js a platform independent runtime
environment to develop Web applications with server side java scripting.
This manual explains you how to use Node-RED for configuration and
wiring of nodes within the netIOT Edge Gateway.
This manual refers to the following versions:
·Node-RED version 0.19.
·node.js minimal V4.x
Note:
You can find information about Node-RED in the Internet: http://
nodered.org/. The current documentation is available here: http://
nodered.org/docs/. For beginning, read the document Getting
To combine physics and logic, Node-RED models ("flows") and works with
("nodes") which represent objects in the Internet of Things. You can relate
these objects to physical interfaces as well as to logic functions.
Figure71: Comparison of the physical and logic view
By means of Drag&Drop the nodes are interactively wired with one another
to get flows, as shown in the following figure.
Figure72: Wiring the nodes
The following basic properties apply to one Node-RED node:
·A node fulfills a specific, defined task.
·A node has entry masks for setting the parameters.
·A node can have inputs and outputs.
·A node can be connected with other nodes via its inputs and outputs.
·A node can modify and overwrite data before passing the data on.
·A node transports data via the msg object in the JSON format.
The msg object always contains the objects .topic and .payload.
·.topic identifies the message.
·.payload contains the payload to be transported.
Node-RED has an ample library with already predefined nodes which are
ready for immediate use.
Edge Gateway | NIOT-E-TIJCX-GB-RE (On-Premise)
DOC160402UM07EN | Revision 7 | English | 2019-07 | Released | Public