0% found this document useful (0 votes)
147 views47 pages

BLIIoT BL118 Node-RED Edge Gateway

The BL118 Node-RED Edge Gateway is an industrial-grade, customizable edge computing device designed for IoT applications, featuring a dual-core A7 processor and supporting various communication protocols. It includes pre-installed software such as Node-RED and offers flexible hardware configurations with multiple I/O options. The user manual provides detailed information on installation, operation, specifications, and development features for effective use of the gateway.

Uploaded by

Jerry Chen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views47 pages

BLIIoT BL118 Node-RED Edge Gateway

The BL118 Node-RED Edge Gateway is an industrial-grade, customizable edge computing device designed for IoT applications, featuring a dual-core A7 processor and supporting various communication protocols. It includes pre-installed software such as Node-RED and offers flexible hardware configurations with multiple I/O options. The user manual provides detailed information on installation, operation, specifications, and development features for effective use of the gateway.

Uploaded by

Jerry Chen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Node-RED Edge Gateway

BL118
User Manual

Version: V1.1

Date: 2025-06-23

Shenzhen Beilai Technology Co.,Ltd

Website: https://www.bliiot.com
Node-RED Edge Gateway BL118

Preface
Thanks for choosing BLIIoT Node-RED Edge Gateway. These operating instructions contain all the
information you need for operation of BL118.

Copyright
This user manual is owned by Shenzhen Beilai Technology Co., Ltd. No one is authorized to copy,
distribute or forward any part of this document without written approval of Shenzhen Beilai
Technology. Any violation will be subject to legal liability.

Disclaimer
This document is designed for assisting user to better understand the device. As the described
device is under continuous improvement, this manual may be updated or revised from time to time
without prior notice. Please follow the instructions in the manual. Any damages caused by wrong
operation will be beyond warranty.

Revision History

Version Release Date Description Drafter Reviewer

V1.0 2025-5-15 Initial Release MJF ZHY

V1.1 2025-6-23 Add X and Y MJF ZHY


board description

Page 2 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Table of Contents

1 Introduction ....................................................................................................................................5

1.1 Overview .................................................................................................................................5

1.2 Package Contents .................................................................................................................. 5

1.3 Features ..................................................................................................................................6

1.4 Hardware Specifications .........................................................................................................6

1.5 Software Specifications .......................................................................................................... 7

1.6 Model Selection ...................................................................................................................... 8

1.6.1 Main Model Selection ...................................................................................................... 8

1.6.2 SOM Selection ................................................................................................................. 8

1.6.3 X Series I/O Board Selection ...........................................................................................9

1.6.4 Y Series I/O Board Selection ...........................................................................................9

1.7 I/O Board Port Description ................................................................................................... 10

1.7.1 X Series I/O Board .........................................................................................................10

1.7.2 Y Series I/O Board ......................................................................................................... 11

1.8 List of Supported Protocols .................................................................................................. 14

2 Software Operation ..................................................................................................................... 16

3 Functional Configuration Overview .............................................................................................18

3.1 System Login ........................................................................................................................ 19

3.2 System Information ...............................................................................................................21

3.3 Device Load ..........................................................................................................................21

3.4 Network Configuration ..........................................................................................................22

3.4.1 WAN Configuration ........................................................................................................ 22

3.4.2 LAN Configuration ......................................................................................................... 24

3.4.3 Wi-Fi Function Configuration ......................................................................................... 26

3.4.4 4G Function Configuration .............................................................................................28

3.5 System Settings ....................................................................................................................30

3.5.1 Password Change ......................................................................................................... 30

3.5.2 Firewall Rule Management ............................................................................................30

3.5.3 System Log .................................................................................................................... 31

Page 3 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.5.4 System Upgrade ............................................................................................................ 32

3.5.5 Hardware Watchdog ...................................................................................................... 33

3.6 Node-RED ............................................................................................................................ 33

3.7 BLRAT ...................................................................................................................................35

4 Node-RED Development ............................................................................................................ 38

4.1 Overview of Node-RED ........................................................................................................ 38

4.2 Node-RED Node Overview .................................................................................................. 39

4.3 Quickly Create a Simple Node-RED Flow ........................................................................... 40

4.4 Quickly Create and Export a Simple Node-RED Project .....................................................42

4.5 Project Case Import ..............................................................................................................43

4.6 Uninstall/Install Nodes ..........................................................................................................44

5 BL118 Secondary Development Features ..................................................................................46

6 Warranty Terms ...........................................................................................................................47

7 Technical Support ....................................................................................................................... 47

Page 4 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

1 Introduction

1.1 Overview

BL118 Node-RED gateway is an industrial-grade, high-performance, scalable, and customizable


edge computing gateway. It comes pre-installed with the Node-RED visual programming environment
and features a built-in dual-core A7 processor. The gateway offers flexible configuration of RAM,
ROM, and I/O interfaces, and supports WiFi, 4G network communication. It is widely used in
industrial IoT solutions and scenarios such as smart factories, smart energy, smart cities, and smart
transportation, supporting industrial visualization and digital transformation.
BL118 series adopts an industrial-grade design, featuring a built-in independent hardware watchdog
and electrical isolation technology. It has passed EMC and EMI testing, as well as high and low
temperature validation ranging from -45°C to 80°C, ensuring long-term stable operation in harsh
environments.
BL118 series offers 4 or 8 isolated RS485/232/CAN serial ports, along with expandable interfaces
including GPIO, DI, DO, AI, AO, RTD, and TC.
BL118 series comes pre-installed with the Node-RED and supports a wide range of industrial
protocols, including major PLC protocols, Modbus RTU/ASCII, TCP/IP, BACnet, CAN, OPC UA,
MQTT, HTTP, and WebSocket. With a simple drag-and-drop node-based programming interface and
an open operating system environment, it facilitates secondary development and function expansion,
providing a reliable solution for the Industrial Internet of Things (IIoT).

1.2 Package Contents

Before installing and using the BL118, please make sure the product package includes the following
items:
 1×BL118 Node-RED Gateway

 1×DIN35 Mounting Bracket Set

 Pre-installed BL118 Visual Management Software

 Pre-installed Node-RED

 Pre-installed BLRAT Software

 Ubuntu File System

 Tool-free Terminal Blocks

 If Wi-Fi or 4G modules are selected, the corresponding antennas will be included.

Note: If any of the above items are missing or damaged, please contact us.

Page 5 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

1.3 Features

 Downlink Support: Various PLC protocols, Modbus RTU Master, Modbus TCP Master, DL/T645,
IEC101, IEC104, BACnet IP, BACnet MS/TP, and more.
 Uplink Support: Modbus TCP, MQTT, OPC UA, BACnet IP, Huawei Cloud IoT, Alibaba Cloud IoT,
AWS IoT, ThingsBoard, Sparkplug B, Beilai Cloud, and more.
 Wide Operating Voltage Design: Supports DC 9–36V power input with terminal block
connection and built-in reverse polarity protection.
 Dual-core Cortex-A7 processor with a clock speed of up to 1.2GHz.
 Independent Hardware Watchdog + EMC/EMI Interference Protection Design.
 Supports optional 512MB or 1GB RAM, and 4GB or 8GB Flash storage.
 Allows SD card expansion to enhance historical data storage capacity.
 Comes with a pre-installed Node-RED environment and supports the Ubuntu 20.04 operating
system.
 Equipped with Gigabit and Fast Ethernet ports, and supports expandable WiFi and 4G wireless
networks.
 Provides 4 or 8 isolated RS485/232/CAN serial ports and two USB 2.0 ports.
 Supports GPIO/DI/DO/AI/AO/RTD/TC Expandable I/O.

1.4 Hardware Specifications

Item Description
Allwinner T113-i, 22nm process.
2× ARM Cortex-A7, with a clock speed of up to 1.2GHz.
CPU 1× HiFi4 DSP, with a clock speed of up to 600MHz.

1× Xuantie C906 RISC-V (64-bit), with a clock speed of up to 1008MHz

ROM 4GB/8GB eMMC


RAM 512M/1GByte DDR3
RJ-45 ports, 1 to 2, including 1x1000M and 1x100M; ESD Level 3, EFT Level
Ethernet
3.
2x USB 2.0 HOST (USB1, USB2), supporting High-Speed 480Mbps,
USB
Full-Speed 12Mbps, and Low-Speed 1.5Mbps modes; ESD Level 3.
X-Series IO Slot: 1 slot, compatible with optional X-Series IO boards; supports
RS485, CAN, RS232, RS422, DI, DO, GPIO, etc.
I/O Slot Y-Series IO Slots: 2 slots, compatible with optional Y-Series IO boards;
supports RS485, CAN, RS232, RS422, DI, DO, relay output modules, AI, AO,
PT100, PT1000, thermocouples, IEPE, etc.
LED 1x Power Indicator LED

Page 6 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

2x User-Programmable Indicator LEDs


Mini PCIE 1x module slot for Wi-Fi or 4G modules
SIM Card Slot 1xNANO
Antenna Interface 2x antenna interfaces, suitable for 4G/Wi-Fi/GPS, etc.
Debug 1x Micro USB debug port
SD Card Slot 1
Reset 1 Reset Button
Independent
Onboard independent hardware watchdog
watchdog
Rated DC 24V, supports wide voltage range of 9–36VDC, with reverse
Power Supply
polarity protection and overcurrent protection. ESD Level 3, EFT Level 3.
Grounding Chassis ground
Mounting Method DIN-35 rail mounting and wall mounting
Material Aluminum alloy housing + stainless steel
Dimensions 110 × 83 × 46 mm (tolerance ±0.5 mm)

1.5 Software Specifications

Item Description
Kernel Linux-5.4.61
System
File System Ubuntu20.04
Proprietary Software BL118 Visual System Management Software
BLRAT enables secure and efficient remote access
Remote Access Tool to devices, facilitating remote operation and
maintenance tasks.
Supports a wide range of mainstream PLC models,
PLC Protocol
including Siemens, Mitsubishi, Omron, Delta, etc.
Software Visual Programming Tool Node-RED V4.0.0
Node.js V20.18.1
Software Environment
Npm V10.8.2
Modbus/OPC UA/IEC104/Ethernet IP/BACnet/
Southbound Protocol
Serial/CAN
Northbound Protocol MQTT/HTTP/TCP/UDP/WEB SOCKET
Database Influxdb/Mysql/Sqlite

Page 7 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

1.6 Model Selection

BL118 Node-RED Edge gateway, designed for secondary development, adopts a flexible architecture
that allows users to select different SOM boards to configure various ROM and RAM combinations.
By integrating different X and Y boards, it supports a wide range of I/O combinations to meet the
needs of diverse application scenarios.
Product Naming Convention:

Host Model–SOM Model–X Board Model–Y1 Board Model–Y2 Board Model

For example: BL118-SOM334-X1

BL118 indicates host model with 2 Ethernet ports, 2 USB 2.0 ports, an X board using a 2x5 PIN
interface, and no Y boards.

SOM334 specifies an eMMC of 4GB, 512MB DDR4 RAM, and a wide temperature range of -40°C
to 85°C.

X1 indicates that the X board provides 4 channels of RS485.

To indicate additional modules:

Add "W" after the host model for Wi-Fi support (e.g., BL118W-SOM334-X1).

Add "L" after the host model for 4G module support (e.g., BL118L-SOM334-X1).

1.6.1 Main Model Selection

Model ETH USB HDMI X IO Board Y IO Board Dimensions

1x1000Mhz,
BL118 2xUSB2.0 X 2x5PIN X 110*83*46mm
1x100Mhz

1x1000Mhz,
BL118A 2xUSB2.0 X 2x5PIN 1 110*83*46mm
1x100Mhz

1x1000Mhz,
BL118B 2xUSB2.0 X 2x5PIN 2 110*83*46mm
1x100Mhz

1.6.2 SOM Selection

Clock
Model MCU Kernel eMMC DDR3 Temperature
Speed

SOM334 T113-i 1.2GHz 2 x A7 8GByte 512MByte Industrial grade

Page 8 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

-40~85℃
Industrial grade
SOM335 T113-i 1.2GHz 2 x A7 8GByte 1GByte
-40~85℃

1.6.3 X Series I/O Board Selection

Model RS485 RS232 CAN GPIO PIN

X1 4 x x x 2x5PIN

X2 x 4 x x 2x5PIN

X3 2 2 x x 2x5PIN

X4 2 x 2 x 2x5PIN

X5 x 2 2 x 2x5PIN

X6 2 x x 4 2x5PIN

X7 x 2 x 4 2x5PIN

X8 1 1 1 2 2x5PIN

1.6.4 Y Series I/O Board Selection

You can select the Y-series I/O board based on your needs. Y-series I/O modules are compatible with
all Y slots. When the Y63 is selected, you can not choose second Y-series IO board.

Model Description Model Description

Y01 4DI+4DO NPN Y41 4AO, 0/4~20mA

Y02 4DI+4DO PNP Y43 4AO, 0~5/10V

Y11 8DI, NPN Y46 4AO, ±5V/±10V

Y12 8DI, PNP Y51 2RTD, 3-Wire PT100

Y13 8DI, Dry Contact Y52 2RTD, 3-Wire PT1000

Y21 8DO, PNP Y53 2RTD, 4-Wire PT100

Y22 8DO, NPN Y54 2RTD, 4-Wire PT1000

Page 9 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Y24 4DO, Relay Y56 Resistance measurement

Y31 4AI, single-ended, 0/4~20mA Y57 Voltage measurement

Y33 4AI, single-ended, 0~5/10V Y58 4TC

Y34 4AI, differential, 0~5/10V Y63 4 RS485 or RS232

4 PWM Output + 4 Pulse Counter


Y36 4AI, differential, ±5V/±10V Y95 (1 High-Speed, 3 Low-Speed),
NPN

4 PWM Output + 4 Pulse Counter


Y37 4 IEPE Measurement Y96 (1 High-Speed, 3 Low-Speed),
PNP

1.7 I/O Board Port Description

1.7.1 X Series I/O Board

X1 Module (4 RS485 Serial Ports)


Port No. 2 4 6 8 10
Name ttyAS4-A ttyAS5-A ttyAS2-A ttyAS3-A GND
Port No. 1 3 5 7 9
Name ttyAS4-B ttyAS5-B ttyAS2-B ttyAS3-B PGND

X2 Module(4 RS232 Serial Ports)


Port No. 2 4 6 8 10
Name ttyAS4-TX ttyAS5-TX ttyAS2-TX ttyAS3-TX GND
Port No. 1 3 5 7 9
Name ttyAS4-RX ttyAS5-RX ttyAS2-RX ttyAS3-RX PGND

X3 Module(2 RS232 Serial Ports and 2 RS485 Serial Ports)


Port No. 2 4 6 8 10
Name ttyAS4-A ttyAS5-A ttyAS2-TX ttyAS3-TX GND
Port No. 1 3 5 7 9
Name ttyAS4-B ttyAS5-B ttyAS2-RX ttyAS3-RX PGND

X4 Module(2 CAN and 2 RS485 Serial Ports)


Port No. 2 4 6 8 10
Page 10 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1
Node-RED Edge Gateway BL118

Name CAN0+ CAN1+ ttyAS2-A ttyAS3-A GND


Port No. 1 3 5 7 9
Name CAN0- CAN1- ttyAS2-B ttyAS3-B PGND

X5 Module(2 CAN and 2 RS232 Serial Ports)


Port No. 2 4 6 8 10
Name CAN0+ CAN1+ ttyAS2-TX ttyAS3-TX GND
Port No. 1 3 5 7 9
Name CAN0- CAN1- ttyAS2-RX ttyAS3-RX PGND

X6 Module(2 RS485 Serial Ports and 4 GPIO Ports)


Port No. 2 4 6 8 10
Name ttyAS4-A ttyAS5-A PB0 PB7 GND
Port No. 1 3 5 7 9
Name ttyAS4-B ttyAS5-B PB1 PB6 PGND

X7 Module(2 RS232 Serial Ports and 4 GPIO Ports)


Port No. 2 4 6 8 10
Name ttyAS4-TX ttyAS5-TX PB0 PB6 GND
Port No. 1 3 5 7 9
Name ttyAS4-RX ttyAS5-RX PB1 PB7 PGND

X8 Module(1 RS485 Serial Port, 1 RS232 Serial Port, 1 CAN and 2 GPIO Ports)
Port No. 2 4 6 8 10
Name CAN0+ ttyAS5-A ttyAS2-TX PB6 GND
Port No. 1 3 5 7 9
Name CAN0- ttyAS5-B ttyAS2-RX PB7 PGND

1.7.2 Y Series I/O Board

Y01 Module(4 NPN Type DI and 4 NPN Type DO Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DO1 DO2 DO3 DO4 GND_IOS DI_COM DI1 DI2 DI3 DI4
Note:

GND_IOS is the common terminal for the wet contact outputs (DO).

DI_COM is the common terminal for the dry contact inputs (DI).
Page 11 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1
Node-RED Edge Gateway BL118

Y02 Module(4 PNP Type DI and 4 PNP Type DO Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DO1 DO2 DO3 DO4 GND_IOS DI_COM DI1 DI2 DI3 DI4
Note:

GND_IOS is the common terminal for the wet contact outputs (DO).

DI_COM is the common terminal for the dry contact inputs (DI).

Y11 Module (8 PNP Type DI Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DI1 DI2 DI3 DI4 DI_COM DI_COM DI5 DI6 DI7 DI8
Note: DI_COM is the common terminal for the dry contact inputs (DI).

Y12 Module(8 NPN Type DI Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DI1 DI2 DI3 DI4 DI_COM DI_COM DI5 DI6 DI7 DI8
Note: DI_COM is the common terminal for the dry contact inputs (DI).

Y21 Module(8 PNP Type DO Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DO1 DO2 DO3 DO4 GND_IOS GND_IOS DO5 DO6 DO7 DO8
Note: GND_IOS is the common terminal for the wet contact outputs (DO).

Y22 Module(8 NPN Type DO Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name DO1 DO2 DO3 DO4 GND_IOS GND_IOS DO5 DO6 DO7 DO8
Note: GND_IOS is the common terminal for the wet contact outputs (DO).

Y24 Module(4 Relay output)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y31 Module(4 4~20mA/0~20mA Single-Ended Analog Input Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AI1+ AI1- AI2+ AI2- GND GND AI3+ AI3- AI4+ AI4-

Page 12 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Y33 Module(4 0~5V/0~10V Single-Ended Analog Input Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AI1+ AI1- AI2+ AI2- / / AI3+ AI3- AI4+ AI4-

Y34 Module(4 0~5V/0~10V Differential Analog Input Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AI1+ AI1- AI2+ AI2- / / AI3+ AI3- AI4+ AI4-

Y36 Module(4 -5~5V/-10~10V Differential Analog Input Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AI1+ AI1- AI2+ AI2- / / AI3+ AI3- AI4+ AI4-

Y41 Module(4 4~20mA/0~20mA Single-Ended Analog Output Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y43 Module(4 0~5V/0~10V Single-Ended Analog Output Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y44 Module(4 0~5V/0~10V Differential Analog Output Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y45 Module(4 -5~5V/-10~10V Single-Ended Analog Output Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y46 Module(4 -5~5V/-10~10V Single-Ended Analog Output Module)


Port No. 1 2 3 4 5 6 7 8 9 10
Name AO1+ AO1- AO2+ AO2- / / AO3+ AO3- AO4+ AO4-

Y51 Module(2 RTD 3-wire PT100)


Port No. 1 2 3 4 5 6 7 8 9 10
Name / PT1+ PT1- PT1- / / / PT2+ PT2- PT2-
Page 13 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1
Node-RED Edge Gateway BL118

Y52 Module(2 RTD 3-wire PT1000)


Port No. 1 2 3 4 5 6 7 8 9 10
Name / PT1+ PT1- PT1- / / / PT2+ PT2- PT2-

Y53 Module(2 RTD 4-wire PT100)


Port No. 1 2 3 4 5 6 7 8 9 10
Name PT1+ PT1+ PT1- PT1- / / PT2+ PT2+ PT2- PT2-

Y54 Module(2 RTD 4-wire PT1000)


Port No. 1 2 3 4 5 6 7 8 9 10
Name PT1+ PT1+ PT1- PT1- / / PT2+ PT2+ PT2- PT2-

Y58 Module (4 TC)


Port No. 1 2 3 4 5 6 7 8 9 10
Name T1+ T1- T2+ T2- / / T3+ T3- T4+ T4-

Y63 Module
Port No. 1 2 3 4 5 6 7 8 9 10
Name ttyWC ttyWCH ttyWCH ttyWC GN GN ttyWCH ttyWCH ttyWCH ttyWCH
H0-A 0-B 1-A H1-B D D 2-A 2-B 3-A 3-B
Note: Once the Y63 module is used in the BL118, no other Y-series modules can be used, and only
one Y63 module is allowed.

1.8 List of Supported Protocols

Downlink Protocols(PLC)
Brand Connection Method PLC Models
Serial Port S7-200 Series PLC
S7-200SMART Series PLC
S7-300 Series PLC
Siemens
Ethernet port S7-400 Series PLC
S7-1200 Series PLC
S7-1500 Series PLC
FX5 Series, RJ71C24 Series, LJ71C24 Series,
Mitsubishi Serial Port QJ71C24 Series
FX5 Series, RJ71C24 Series, LJ71C24 Series,

Page 14 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

QJ71C24 Series, FX3 Series

FX3 Series, FX2 Series, FX1 Series, FX0 Series

FX3 Series, FX2 Series, FX1 Series, FX0 Series

FX5-ENET/IP Series, RJ71EIP91 Series, QJ71EIP71


Series
FX5 Series, RJ71EN71 Series, RnENCPU Series,
Ethernet port LJ71E71 Series, QJ71E71 Series, QnUCPU Series,
FX3 Series
FX5 Series, RJ71EN71 Series, RnENCPU Series,
LJ71E71 Series, QJ71E71 Series
COM Port CJ/CS/CP/CP1H/CP1L Series
Omron
Ethernet port CJ/CS/CP/CP1H/CP1L Series
COM Port AH Series, AS Series, AX-3 Series, DVP Series
Delta AH Series, AS Series, AX-3 Series, DVP Series(Built-in
Ethernet port
Ethernet port)
ControlLogix Series, CompactLogix Series, Micro800
Ethernet port
Series(820,850, 870)
ControlLogix Series, CompactLogix
Allen-Bradley Series(5069-SERIAL Module), Micro800 Series(820,
Serial Port 830, 850, 870)
SLC Series(500, 5/03, 5/04, 5/05), Micro-Logix
Series(1000, 1100, 1200, 1500)
Beckhoff Ethernet port CX Series, TwinCAT2, TwinCAT3
Ethernet port AC Series, AM Series, H5U Series, H3U Series
Inovance AC Series, AM Series, H5U Series, H3U Series,H1U
Serial Port
Series
CCSD Series, XA Series, XS Series, XG Series,XL
Serial Port
Series, XC Series, XD Series
Xinjie
CCSD Series, XA Series, XS Series, XG Series,XL
Ethernet port
Series
Yonghong Serial Port FBs Series
Fengwei Serial Port VS Series

Other Downlink Protocols


Brand Connection Method Protocol
Power Meter Serial port DL/T645-2007
BACnet Devices Serial port BACnet MS/TP

Page 15 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Ethernet port BACnet/IP


Serial port Modbus ASCII, Modbus RTU
Modbus Devices
Ethernet port Modbus TCP
CAN Devices CAN Port CAN protocol

Uplink Protocol
Protocol Remarks
TCP
Modbus RTU to Modbus TCP
Modbus TCP Server-only, communicates via Ethernet port
OPC UA Server-only, communicates via Ethernet port
BACnet/IP Server-only, communicates via Ethernet port
Customized MQTT
Huawei Cloud IoT Supports key and certificate-based connection methods
AWS IoT
AliCloud IoT Supports key and certificate-based connection methods
Modbus RTU
BEILAI Cloud Beilai Cloud supports Modbus RTU and MQTT
Onenet
HTTP Supports key and certificate-based connection methods
Websocket
UDP

2 Software Operation

1. Use the ifconfig command to check the IP address. The default factory IP address is
192.168.1.118.

2. Enter the IP address and port 1880 in the browser: 192.168.1.118:1880, and the Node-RED login
page will appear.

Page 16 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3. The web front-end and back-end are running. Enter the IP address and port 8080 in the browser:
192.168.1.118:8080. As shown below, the software is now running successfully.

Page 17 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3 Functional Configuration Overview

System Functions

Functions Description

Displays the device ID, kernel version, operating system version, and

System Information system time. In offline mode, manual adjustment of the local time is

supported.

Device Load Displays available storage, cache size, buffer size, and CPU status.

1. Supports configuration of WAN, LAN, 4G, and Wi-Fi interfaces.

2. Enables automatic network switching with the following priority:

Network Configuration WAN > 4G or Wi-Fi.

3. The LAN port can be configured to enable a DHCP server and

routing forwarding capabilities.

Password Change User password change function

Security Blacklist and Whitelist configuration function

1. System runtime log management and deletion functions


System Log
2. Supports managing additional system logs

System Upgrade System upgrade function

Watchdog Enable and Disable the hardware watchdog

Node-RED One-Click installation and redirection for Node-RED

Page 18 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Language Chinese-English switch function

BLRAT Remote login

Exit Return to the login page

Software Watchdog Configure software watchdog to be enabled by default

3.1 System Login

1. Enter 192.168.1.118:8080 in the browser to access the login page.

2. A language switch is available in the top-left corner, allowing you to switch between Chinese and
English.

3. Below the login form, there is a link to the company website. Clicking it will redirect you to the
official website.

Page 19 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

4. Return to the login page, enter the default username root and password 123456, and log in to the
system web interface, as shown below.

5. Clicking the logo icon in the top-left corner also redirects to the company website.

Page 20 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.2 System Information

After successfully logging into the system, the System Information section on the homepage displays
the device model number, kernel version, operating system version, and the system time, which can
be calibrated and set.

When the device is offline, the system time can be set manually. When connected to the network, the
system automatically synchronizes the time from the network and manual setting is not supported.

3.3 Device Load

On the front-end page, in the Device Load section on the right, the system displays the available
memory, cache size, buffer size, and CPU usage status.

Page 21 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.4 Network Configuration

3.4.1 WAN Configuration

WAN port configuration provides options for obtaining an IP address dynamically or setting a static IP
address.

Page 22 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

In Static IP mode, you can configure the IP address, subnet mask, default gateway, and DNS server.
After saving the configuration, a reboot is required for the changes to take effect. You can use the
ifconfig command to verify the settings after the reboot.
In dynamic configuration mode, the WAN port automatically obtains an IP address from the server.
A network diagnostic tool is also available, which can be used to check the current interface status,
perform route diagnostics, and verify network connectivity, as shown below.

Page 23 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Note: The network diagnostic tool is only available for WAN, 4G, and Wi-Fi STA modes.

3.4.2 LAN Configuration

LAN port configuration provides options for modifying the IP address, enabling the DHCP server,
enabling routing and forwarding functions, and setting bridge mode.

1. IP Address Modification
You can configure the IP address and subnet mask.

Page 24 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Note: The WAN and LAN IP addresses must not be the same.

2. DHCP Function

Clicking on DHCP will display a request form to configure the DHCP server.

When setting up DHCP, the lease time must be greater than 30 seconds, the starting IP address must
be lower than the ending IP address, and both must be within the same subnet as the configured IP
address, as shown below.

After configuration, click Save and the system will automatically set up the DHCP server.

3. Routing Function

Click the Standard Routing button to enable the routing function. Once enabled, devices connected
to the LAN port will have network access capabilities.

Page 25 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.4.3 Wi-Fi Function Configuration

Clicking on Wi-Fi Configuration displays two buttons: one for Server Mode and one for Client Mode.
1. Server Mode
Click the Server Mode button to configure the Wi-Fi hotspot name and password in the WLAN server
settings. After saving the configuration and rebooting, the hotspot will be activated.

Page 26 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

When a phone or device connects to the configured Wi-Fi hotspot, the system will automatically
enable routing and forwarding by default.
2. Client Mode
Note: Server Mode must be disabled before enabling Client Mode, as the two modes cannot operate
simultaneously.
After enabling Client Mode, the system will automatically search for available Wi-Fi networks.

Click "Connect" and enter the username and password to establish a connection. If the WAN port has
an active network, it will be automatically disabled. Once the WAN connection is disconnected, the
system will automatically switch to the Wi-Fi connection.

Page 27 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.4.4 4G Function Configuration

1. Network Connection Function


Using EC200N as an example, after enabling 4G and saving the configuration, the setting will take
effect after a reboot. If the WAN port has no network connection, the system will automatically switch
to 4G.

In the back-end, enter ifconfig eth1 down to disable the WAN port. Use the ifconfig command to
check the network interface status—you will see that the WAN port is disabled and usb0
(representing 4G) is active and functional.

Page 28 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Next, ping an external network to verify that data is being transmitted and received.
2. APN Function
APN function allows you to specify the 4G network access direction to a particular network provider.
After enabling the APN option, enter the APN, username, and password. Once the configuration is
saved, click Restart to activate the APN settings.

Page 29 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.5 System Settings

3.5.1 Password Change

The default username is root and the default password is 123456. You can change the password as
needed.

After changing the password, the system will automatically redirect to the login page. Wait for 5
seconds while the back-end updates, and then you can log in using the new password.

3.5.2 Firewall Rule Management

Click on "Security" to enter the firewall management page, where you can configure blacklist and
whitelist settings as needed.

Blacklist: Devices with these IP addresses are denied access.


Whitelist: Only devices with these IP addresses are allowed access.
Enter the IP address, port, and protocol, then click "Add Rule". After that, click the firewall switch to

Page 30 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

enable the firewall.

3.5.3 System Log

1. System Log View


Click on "System Log" to navigate to the following page.

You can perform operations such as log search, log switching, clearing logs, downloading, and
deleting logs.
2. Log Configuration
Further down on the same page is the log configuration window, where you can set the maximum
retention time, storage size, enable log compression, and specify the number of compressed logs.
After configuration, click Save to apply the settings.
Page 31 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1
Node-RED Edge Gateway BL118

3.5.4 System Upgrade

Go to the System Upgrade page and click to select the upgrade file.

Locate and upload the upgrade package with the .tar.gz suffix.

Page 32 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

Click "Start Upgrade". A confirmation message will appear indicating that the system has been
successfully upgraded, as shown in the figure below.

3.5.5 Hardware Watchdog

Disabled by default. Click to enable.

3.6 Node-RED

The system comes with the Node-RED installation package pre-installed. Click to jump to the
Page 33 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1
Node-RED Edge Gateway BL118

Node-RED interface.

Username: root Default Password: 123456

Note: If the password was changed previously via the web interface, the Node-RED password will be
the one set on the web interface.
After entering the username and password, you will access the Node-RED interface, where users
can perform secondary development.

Page 34 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3.7 BLRAT

1. Open the BEILAI Remote Management System (BLRMS) and log in to your account to obtain the
token.
BLRMS Address: my-rtu.com

Register a BLRMS account then log in.

2. Obtain TOKEN
A token will be automatically generated in the BLRMS.

The token is a unique identification number for each account to identify the user. Every user under
the device need to use the same Token. Click "Device Management" - "Token Key" to get the token.

3. Enter the BL118 management platform, click "BLRAT" in the navigation bar, then click "Enable
Remote". Paste the previously copied token and click "Confirm". The system will then enable
remote display.

Page 35 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

4. Open the BLRAT software, click on "Connection Settings", paste the token in the password field,
and click "OK". The connection status will then be displayed.

5. Click "Search", paste the token in the device key field, and click "OK".

Page 36 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

6. Once the device with the enabled remote function is found and its related information is
displayed, click "Connect", then click "Refresh". Wait for 2–4 seconds. Once the remote service
is activated, the remote IP will be obtained.

7. Enter the obtained remote IP and port 8080 in the browser's address bar (format: remote IP:8080)
to remotely access the gateway configuration interface.

Page 37 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

8. Click "Disconnect" to terminate the remote connection. This will only disconnect the direct link
between the PC and the gateway. You can still reconnect by clicking "Connect" again.
Additionally, once the gateway enables remote access, it will be set to automatically start on
boot.

4 Node-RED Development

4.1 Overview of Node-RED

1. Menu Bar: Located at the top of the interface, the menu bar includes the Deploy button and main
menu options. Import and export functions for flows are also available here.
2. Node Palette: A collection of various pre-packaged functional nodes, allowing users to
conveniently drag and use them as needed.
3. Workspace: Users can drag and drop nodes into the workspace and connect them to represent
data flows, enabling easy implementation of custom programming.
4. Debug Panel: Includes five functional tabs: Info, Help, Debug, Configuration Nodes, and Context
Data. These assist in program debugging and system configuration.

Page 38 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

4.2 Node-RED Node Overview

1. Input Nodes: Used to receive external data. For example, the Modbus-Read input node can
receive Modbus TCP/RTU/ASCII requests, while the MQTT In input node can subscribe to
MQTT topics and receive messages.

2. Output Nodes: Used to send data to external systems. For example, the Modbus-Write output
node can send Modbus TCP/RTU/ASCII requests, while the MQTT Out output node can publish
MQTT messages.

3. Function Nodes: Used for data processing and transformation. These nodes can perform
complex logic operations such as data filtering, format conversion, mathematical calculations,
and more. Developers can write JavaScript code in the function node, while the range node
maps values from one numerical range to another.

4. Storage Nodes: Used for data storage and management. For example, database nodes can
store data in a database, while file system nodes can save data to local files.

Page 39 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

5. Control Nodes: Used to control the execution of flows. For example, the inject node can trigger
the execution of a flow, and the switch node can direct the flow based on defined conditions.

4.3 Quickly Create a Simple Node-RED Flow

1. Drag and Drop Nodes:


Drag an Inject node into the workspace. This node is used to inject data into a flow.
Drag a Debug node into the workspace. This node is used to output debug information.

Page 40 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

2. Connecting Nodes:
Use the mouse to click and drag to connect the Inject node to the Debug node.

3. Configure the node:


Double-click the Inject node to set the type of data it will send (e.g., string or number).
Double-click the Debug node to ensure it is configured to display the input data.

4. Deploy the flow:


Click the Deploy button in the top right corner to save and start the flow.

5. Trigger the Inject node:


Click the Inject node in the workspace — it will send data to the Debug node, which will then display
the data in the debug panel on the right side.

Page 41 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

4.4 Quickly Create and Export a Simple Node-RED Project

1. Enter the Export Interface

2. Select the export type: you can choose to export selected nodes, current flow, or all flows.
The export format can be chosen as:
Download (downloads a .json file), or Export to clipboard (copies the JSON-format text to the
clipboard).

Page 42 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

4.5 Project Case Import

1. Entering the Import Interface

2. Select an Import Case

Page 43 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

3. Click Import to complete the process.

4.6 Uninstall/Install Nodes

1. Open the interface

Page 44 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

2. Click install

3. Search for the node you need to install, then click Install.

4. Local installation

Page 45 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

5. Node library deletion

5 BL118 Secondary Development Features

➢ Pre-installed with BEILAI’s customized version of Node-RED for drag-and-drop programming


➢ Built-in library of industrial protocol nodes including Modbus, PLC, and MQTT
➢ Includes BLRAT remote maintenance tool, enabling unattended operation
➢ Minimalist development with visual flow orchestration — no coding skills required
➢ Real-time debugging interface for rapid logic verification
➢ Access to over 5,000 official and third-party nodes
➢ Support for secondary product development
➢ Supports Docker-based containerized deployment
➢ Integrated support for MQTT, OPC UA, Modbus, and PLC protocols

Page 46 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1


Node-RED Edge Gateway BL118

6 Warranty Terms

1) This equipment will be repaired free of charge for any material or quality problems within one year
from the date of purchase.
2) This one-year warranty does not cover any product failure caused by man-made damage,
improper operation, etc

7 Technical Support

Shenzhen Beilai Technology Co., Ltd


Website: https://www.bliiot.com

Page 47 of 47 Pages Shenzhen Beilai Technology Co., Ltd V1.1

You might also like