BLIIoT BL118 Node-RED Edge Gateway
BLIIoT BL118 Node-RED Edge Gateway
BL118
User Manual
Version: V1.1
Date: 2025-06-23
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
Table of Contents
1 Introduction ....................................................................................................................................5
1 Introduction
1.1 Overview
Before installing and using the BL118, please make sure the product package includes the following
items:
1×BL118 Node-RED Gateway
Pre-installed Node-RED
Note: If any of the above items are missing or damaged, please contact us.
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.
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.
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
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:
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.
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).
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
Clock
Model MCU Kernel eMMC DDR3 Temperature
Speed
-40~85℃
Industrial grade
SOM335 T113-i 1.2GHz 2 x A7 8GByte 1GByte
-40~85℃
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
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.
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
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
GND_IOS is the common terminal for the wet contact outputs (DO).
DI_COM is the common terminal for the dry contact inputs (DI).
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.
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,
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.
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.
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.
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.
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.
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.
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.
WAN port configuration provides options for obtaining an IP address dynamically or setting a static IP
address.
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.
Note: The network diagnostic tool is only available for WAN, 4G, and Wi-Fi STA modes.
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.
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.
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.
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.
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.
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.
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.
Click on "Security" to enter the firewall management page, where you can configure blacklist and
whitelist settings as needed.
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
Go to the System Upgrade page and click to select the upgrade file.
Locate and upload the upgrade package with the .tar.gz suffix.
Click "Start Upgrade". A confirmation message will appear indicating that the system has been
successfully upgraded, as shown in the figure below.
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.
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.
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
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.
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".
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.
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
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.
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.
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.
2. Connecting Nodes:
Use the mouse to click and drag to connect the Inject node to the Debug node.
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).
2. Click install
3. Search for the node you need to install, then click Install.
4. Local installation
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