BLIIOT BL10 Series IIoT Gateways - User Manual - V1.0
BLIIOT BL10 Series IIoT Gateways - User Manual - V1.0
User Manual
Version: V1.0
Date:2023-12-9
Website: https://www.bliiot.com
Industrial IoT Gateways
-BL10X
Preface
Thanks for choosing BLIIoT BL10 series IIOT Gateway. Reading this manual with full
attention will help you quickly learn device functions and operation methods.
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 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. This Protocol Gateway is mainly used
for industrial data transmission over Ethernet or 4G network. Please follow the
instructions in the manual. Any damages caused by wrong operation will be beyond
warranty.
Revision History
Revision Date Version Description Owner
2024-1-10 V1.0 Initial Version LKY
Content
1 Product Introduction ...................................................................................................... 8
3 Mounting ........................................................................................................................19
4 Configuration ................................................................................................................ 19
1 Product Introduction
1.1 Overview
BL10 series Industrial IoT Gateways performs as industrial protocol converters, the
industrial protocol conversion gateways allow for Ethernet ports, Serial ports, 4G,
WiFi connections and can convert between various industrial protocols.
Before connecting IoT gateway, please make sure below items are included in the
package:
(Pictures are for reference only.)
1 X IoT Gateway
1 x Warranty Card
Note: If any of above items are missing, please contact BLIIoT Sales team.
1.3 Features
Downlink supports: Various PLC protocols, Modbus RTU Master, Modbus TCP
Master, etc.
Uplink supports: Modbus RTU, Modbus TCP, MQTT, OPC UA, AWS,
DC 9-36V power supply with terminal wiring. Power input with reverse wiring
prevention protection.
Serial port baud rate supports 2400bps-115200bps; Stop bit supports 1, 2; Data
or cascade switch can be collected. It comes with link and data indicators. Built-in
When connecting to the external network, it will prioritize wired Internet access
Use RESET button to restore factory settings (long press in power-on state until
Parameter Description
Processor Clock speed 300Mhz
System Storage 128MB
Flash Memory 64MB
Input Voltage DC 9~36V
Power
Power Consumption Normal: 70mA@12V, Max: 168mA@12V
Supply
Wiring Anti-reverse connection protection
Specification 2 x RJ45, 10/100Mbps, adaptive MDI/MDIX
Ethernet
ESD: ±6kV(Contact), ±8kV(Air)
Port Protection
EFT: 1kV, 5kHz
Downlink
Brand Connection Protocol
Modbus COM Port Standard Modbus RTU OK
Uplink
Protocol Description
Transparent Transmission Only support COM port transparent transmission
Modbus RTU to Modbus TCP Yes, support Modbus RTU to Modbus TCP
Modbus TCP Can only be server via Ethernet port
OPC UA Can only be server via Ethernet port
Currently only support “BLIIOT Cloud”,
Custom MQTT
“Thingsboard”, “Sparkplug B” JSON data format
HUAWEI IoT Support Private Key/Certificate connection
AWS Support
Alibaba IoT Support Private Key/Certificate connection
ThingsBoard Support ThingsBoard cloud, Select ThingsBoard
data module in custom MQTT
Modbus RTU Support
BLIIoT Cloud Support Modbus and MQTT
2 Hardware Introduction
When inserting/removing a SIM card, make sure the device is turned off.
Make sure device is placed flatly like above picture when inserting or removing SIM
card.
2.4 Debugging
Connect 4G Antenna
2.7 Reset
After the gateway operates normally, press and hold the Reset button continuously for
about 10 seconds until the RUN indicator goes out, at which time the gateway
restores the factory default settings if it restarts automatically.
RS485 or RS232
Description
1 RS485(A)
COM1
2 RS485(B)
3 GND RS485(GND)
4 RS485(A)
COM2
5 RS485(B)
6 RS485(B)
COM3
7 RS485(A)
8 RS485(B)
COM4
9 RS485(A)
10
GND RS485(GND)
11
12 RS485(B)
COM5
13 RS485(A)
14 RS485(B)
COM6
15 RS485(A)
Ethernet Port
Indicator Color Status Description
Always ON 100Mbps mode
Speed Green
OFF 10Mbps mode
Always ON Connected
LINK Yellow Flickering Transmitting data
OFF Connection disconnected
3 Mounting
4 Configuration
Connect BL110 to a router or switch through WAN port with standard direct network
cable or cross network cable, and the IP of router or switch can’t be the same as
gateway BL110 IP 192.168.3.1, WAN and LAN ports cannot be on the same LAN,
make sure the BL110 gateway and computer are on the same LAN.If it’s necessary to
connect the gateway to PC directly, use standard cross network cable to connect
through BL110 LAN port. (If BL110 is connected to PC directly, PC IP must be
specified to 192.168.3.1 as default LAN IP of gateway is 192.168.3.1 from factory
setting, You need to set the IP address, subnet mask, gateway, and DNS when you
assign an IP to your computer).
Note: WAN port IP is retrieved automatically, LAN port IP is 192.168.3.1
Click "Search" and all devices in the same local area network with the PC will
appear. For example, WAN port is connected to the switch, PC and gateway are in
the same local area network, and the gateway whose IP is 192.168.1.131 will be
found. If there is no device found, please make sure gateway and computer is in the
same local area network, and the computer UDP broadcast is normal. If the device
cannot be found because of the computer network environment issues, you can
enter the IP in the "IP" bar, click connect, login.
Changing the computer IP or gateway requires closing the configuration software
and reopening it. Changing the gateway on the IoT gateway's network port also
requires closing the configuration software and reopening it.
Select the gateway device you want to configure, double click, (Example: double click
on the IoT gateway with IP: 192.168.1.167), and enter the IoT gateway configuration
interface. Because the network environment of the computer does not show the
device, you can enter the IP to log in.
System
Function Description
Search Search for all protocol gateways in the same local area network
Clear Open a new default configuration file
Import Import gateway configuration file
Export Export gateway configuration file
Read Read logged-in IoT gateway configuration parameters
configuration
Save all configuration parameters by click "write configuration". Make
Write sure to click "write configuration" every time after modifying the
configuration configuration. The setting will be valid after device restarts
automatically.
Monitor the value of the data point of the currently connected device,
Monitor
and the data in the "Value" item of the display data point page.
BLRMS Remote Configuration
Reboot Reboot the device
Logs of system operation. If something goes wrong with the IoT
Log gateway, you can click Save Log File and send this file to the email
address prompted inside.
Basic Information
Function Description
Name The default is BeiLai Gateway, which can be customized.
Time Local time when reading the gateway
Model Gateway model
Version Gateway version
4G Module 4G module model. If it’s null, it means no 4G module
IMEI Device IMEI code
4G module signal value. If it’s less than 14, it means weak
Signal Strength
signal. Full signal value is 31
Operator SIM card operator
SIM ICCID Read SIM card ICCID
"OK" means the SIM card is successfully registered,
SIM Status
"Failed" means it is not registered
BLRMS Enable 1 "True" if enabled for one hour, "Failed" if not
Hour
BLRMS Enabled Enabled is "True", not enabled is "Failed"
Memory Usage Memory usage
CPU Usage CPU usage
Disk Usage Disk usage
WAN RX Number of packets received at WAN port
WAN TX Number of packets sent by WAN port
LAN RX Number of packets received at LAN port
LAN TX Number of packets sent by LAN port
COM1 RX Number of packets received at COM1
COM1 TX Number of packets sent by COM1
COM2 RX Number of packets received at COM2
COM2 TX Number of packets sent by COM2
COM3 RX Number of packets received at COM3
COM3 TX Number of packets sent by COM3
COM4 RX Number of packets received at COM4
COM4 TX Number of packets sent by COM4
COM5 RX Number of packets received at COM5
Cloud Platform
Function Description
Green light means MQTT Client is connected, gray means
MQTT Client
MQTT Client is not connected.
Green light means MQTT Client II is connected, gray
MQTT Client II
means MQTT Client II is not connected.
Green light means Ali IoT is connected, gray means Ali IoT
Ali IoT
is not connected.
Green light means HUAWEI IoT is connected, gray means
HUAWEI IoT
HUAWEI IoT not connected.
Green light means AWS IoT is connected, gray means
AWS IoT
AWS IoT is not connected.
Green light means Beilai MQTT Client is connected, gray
Beilai IoT
means Beilai MQTT Client is not connected.
Green light means Beilai Modbus cloud is connected, gray
Beilai Modbus IoT
means Beilai Modbus cloud is not connected.
Green indicates gateway is communicating with slave
Device Online Tip devices
Box Gray indicates gateway fails to communicate with salve
device
Refresh Refresh basic information of gateway
The private network setting is to allow a private Ethernet or 4G network to set the IP
that can be used or the server that can be connected. If it is a normal Ethernet or 4G
network, there is no need to set it.
Advanced Setting
Function Description
Choose from "WAN" and "4G" according to
Private
your needs, and only configure it with a private
Private network
network.
network
Keepalive IP Dedicated IP that can be used
NTP Server Dedicated connected NTP server
Network diagnostic auxiliary functions, such as:
Ping gateway IP connected to the gateway
Network port, you can determine whether the LAN
Ping
Diagnosis connected to the IoT gateway port is normal or
not, enter the IP of the gateway and click the
Ping button, the green color represents normal.
Device
Online
Waiting(Slav
Time(s)
e)
Old Enter old password
Password
Password
New Enter new password
Password
BLRMS BLRMS function is always available.
Gateway
Enable
Management
BLRMS BLRMS function can be used for one hour.
Platform
Enable 1
Hour
Remote server IP and port, e.g.
URL
my-rtu.com:7901
User Token Get it at the BLRMS web site
This switch needs to be turned on when using
4G Setting Enable 4G
4G network, only available for 4G version.
All 6 COM Port configuration is the same. Take the COM1 configuration as an
example.
Right click COM1 and click Add to add device. Device configuration box will pop up.
For the added device, double click it to show device configuration information. Right
click to delete device.
The byte order of the configuration data points is also set here
Note: The 2 COM ports support a total of up to 10 devices and 512 data points to be
collected; 6 COM ports support a total of 50 devices and 4002 data points.
Note: Device attributes are set according to the selected protocol. For example,
device brand is Modbus, set attributes as below.
Device Information
Function Description Default
Device Name Name the device
Modbus communication
Slave ID
address of the device
Device 16-bit Data Type Select “AB” or “BA” AB
Properties Select “ABCD”, “DCBA”, ABCD
32-bit Data Type
“BADC”, “CDAB”
Write function code Select from 05/06, 15/16 15/16
Click device name and then right click the box on the right, then click Add to configure
data points. The M.XXX in the brackets of the mapping address on the configuration
software represents the PLC Modbus address, and the value outside of the brackets
represents the Modbus address.
Right click "Add" to add the next data point. You can also right click to delete the data,
or double click the data point to edit the data.
You can add data points by importing and exporting Excel file. First, create some data
points to export, the configuration content of the Excel file is the same as the
information configuration principle of the data point configuration box. The variable
name, variable label, mapping address, and collection address can not conflict.
Variable Properties
Function Description
Variable Name Name of Added Datapoints
Variable Key The MQTT identifier of the datapoints
OCT/DEC/HEX Select from "decimal", "octal", "hexadecimal"
Select the register type of the device, different protocols display
Address Type
differently
Address Address of the collected data point
Only PLCs that support DB blocks need to be configured for
DB block address this. Address type is selected from "DBX", "DBB", "DBW",
"DBD", If the DB block data point is "DB1.DBD4", then fill in "1".
Select datapoint and right click it to delete datapoint. Double click datapoint to edit it.
Double click LAN port to enter setting page. Factory default IP of LAN is 192.168.3.1.
Auto IP address distribution and routing functions are disabled by default.
Note: If LAN port is connected to switch, the IP of all devices connected to switch
must be the same as LAN port IP.
After configuring LAN port attribute, right click LAN and click Add to configure the LAN
port device.
The LAN port can be connected directly to a slave device or to a switch to collect
connected devices on the switch.
and Time out the button next to the device model to set it.
16-bit Data Type Select from “AB” or “BA”, only configure it if Modbus is
selected as device brand.
32-bit Data Type Select from “ABCD”, “DCBA”, “BADC” or “CDAB”, only
configure it if Modbus is selected as device brand.
Write function code Select from "05/06", "15/16"
OK Confirm LAN port device setting
Cancel Cancel LAN port device setting
The procedure to add LAN Port device datapoint is the same as that of adding COM
port device datapoint. ID of the Modbus TCP device is configured in the data point
configuration box.
Refer to Add COM Port Device Datapoints
Right click WAN and click Add to enter device configuration page. The WAN is
connected to the switch to collect devices on the switch.
Note: Total 50 devices can be connected through LAN and WAN.
32-bit Data Type Select from “ABCD”, “DCBA”, “BADC” or “CDAB”, only
configure it if Modbus is selected as device brand.
Write function code Select from "05/06", "15/16"
OK Confirm WAN port device setting
Cancel Cancel WAN port device setting
The procedure to add WAN Port device datapoint is the same as that of adding COM
port device data point. ID of the Modbus TCP device is configured in the data point
configuration box.
Refer to Add COM Port Device Datapoints
4.2.7 4G Function
Set the APN of the SIM card, you don't need to set this if the device doesn't come with
a 4G module. It’s not necessary to set APN for China mainland 4G network.
4G Settings
Function Description
APN SIM card Internet access point
User SIM card user name
Password SIM card password
According to the IP address assigned to the client of the gateway by OpenVPN server,
you can enter the IP address of the gateway client directly into the "Device IP" item in
the login interface of the configuration software, and click Connect to log in the
gateway.
OpenVPN
Function Description
Client/Server Gateway device as "Client"
IP/Domain The address of the server with which the client establishes an
OpenVPN connection.
Port The TCP/UDP port provided by the server for establishing a
connection, the default is 1194.
TCP/UDP The protocol used in the communication between the client and
the server, and the connection method is selected according to the
server.
TUN/TAP In TUN mode, 3 Layer tunnel is established to realize
point-to-point transmission. In TAP mode, 2 Layer tunnel is
established to implement transparent transmission of IP packets.
Select the connection method according to the server.
Authentication Select from "Password Only", "Certificate Only", "Password and
Mode Certificate" as required.
User name Username of the client, not required for "certificate only" mode.
Password Client user password, not required for "certificate only" mode.
Encryption Select the data encryption algorithm, and select the connection
Algorithm encryption algorithm according to the server.
Select File to upload, the root certificate provided by the OpenVPN
CA File
server.
Client Select File to upload, the client certificate generated by the user
Certificate File based on the root certificate.
Select File to upload, the key corresponding to the client
Client Key File
certificate.
Compression Select from "LZO" and "LZ4" according to the OpenVPN server
Algorithm selection.
OK Confirm OpenVPN configuration
Cancel Cancel OpenVPN configuration
Click "Alarms", move the mouse to the right box, right click, click "Add", to enter
"Alarm and Event" setting box. You can configure the data points, action and the
action to be performed for alarm recovery.
Put mouse in "Alarm triggered execution action", right click the prompt box, click "Add"
to enter event configuration box, and set the operation to be performed when the
alarm is triggered. In the same way, put mouse on "Alarm recovery execution action",
set operations when the alarm release.
Event Configuration
Function Description
Generate the point name according to the selected data point,
Write Point click "Add" to select the data point to be operated. Click on the
data point and click OK
Write Value Write the value of the data point to be operated, write "1" or "0" for
Boolean, "0" means open, "1" means close.
Left click on "Task", move the mouse to the right box, click the right mouse, "Add" will
pop up, click "Add", to enter task schedule setting box, put the mouse in the box, and
right click to enter the operation box, click "Add", to enter Execution Event box.
Tasks
Function Description
Task Name Name of Tasks
System Action Can set to restart the gateway device regularly. If it is to schedule
other actions, select "NULL" for this item.
UTC Time Set the time for task scheduling, this time is UTC time.
Week Set week to perform the planned task.
Write Point Generate the point name according to the selected data point,
click "Add" to select the data point to be operated. Click on the
data point and click OK.
Write Value Write the value of the data point to be operated, write "1" or "0"
for Boolean, "0" means open, "1" means close.
OK Confirm Tasks setting
Cancel Cancel Tasks setting
Set COM mode to Pass Through, set COM parameters and then configure
Transparent Transmission parameters. All 6 COM ports can be used for Transparent
Transmission. The configuration procedures are the same. Below is the example of
setting COM2 for transparent transmission: 1. select Pass Through mode in COM2, 2.
configure COM2 attributes, click OK to enter Data Service configuration page.
Transparent Transmission
Function Description
COM Select the COM port to be used for pass through, e.g. COM2.
TCP Mode Select IoT gateway as “TCP Server” or “TCP Client”
Network Only set it when Gateway is used as TCP server
Interface Select WAN or LAN
If IoT gateway is used as server, it can’t be set but automatically
show selected WAN or LAN IP.
IP/Domain
If IoT gateway is used as client, fill in transparent transmission
server IP .
If IoT gateway used as server, fill in monitoring port
Port
If IoT gateway used as client, fill in server port
Set COM mode to Modbus RTU to Modbus TCP, set COM parameter and then
configure Modbus RTU to Modbus TCP parameters in Data Service. All 6 COM ports
can be used as Modbus RTU to Modbus TCP. The setting procedure is the same.
Below is the example of setting COM1 as Modbus RTU to TCP: 1. Select Modbus
RTU to Modbus TCP mode, 2. Set COM port attributes. 3. Click OK to enter Data
Service for configuring Modbus RTU to Modbus TCP.
BL10 series IoT gateway supports Modbus TCP protocol and provides data as
Modbus TCP server. Modbus TCP server is enabled permanently. Only configure
Ethernet port and monitoring port. The IP address of the Modbus TCP server can be
selected according to the requirements of WAN or LAN. WAN /LAN IP address can be
viewed by clicking WAN/LAN.
Modbus TCP host computer as a client, collecting gateway data support function code:
Boolean support "01", "05", numerical support "03", "06". 16-bit byte order is AB,
32-bit byte order is ABCD.
The acquisition address depends on whether the host computer fills in the Modbus
address or the PLC Modbus address.(The M.XXX in the brackets of the mapping
address on the configuration software represents the PLC Modbus address, and the
value outside of the brackets represents the Modbus address.)
The configuration of the host computer can be referred to 5.3.2 View Data with
KingView.
4.2.11.4 OPC UA
The BL10 series gateway supports OPC UA and provides data externally as OPC UA
server.
The IP address of the OPC UA server can be selected according to the requirements
of WAN or LAN. WAN/LAN IP Address can be viewed by clicking WAN LAN.
OPC UA
Function Description
Green indicates OPC UA is enabled
Enable
Gray indicates OPC UA is disabled. Default is disabled
Port Fill in the server port, the port must be filled in. Default: 4840
published, Click "OK". Double-click a data point to view the properties. As shown in
the figure below: The publishing topic "topic" only publishes the data point "TAG001"
of the "device1"of "COM1", and other data points are not published.
The "BLIIOT" JSON data format of MQTT Client and MQTT Client II is the same as
that of BLIIOT Cloud MQTT. Refer to BLIIOT MQTT Data Format.
"thingsboard-telemetry-gateway" JSON data format, publish and subscribe topic
format refer to the thingsboard official website documentation.
"sparkplug b" JSON data format, publish and subscribe topic format refer to
Sparkplug specification.
Note: The data point box is blank by default, if no data point is selected, all data points
are published. If there are multiple publishing topics, only one publishing topic can be
blank, and other topics must select the published data points, and cannot be left
blank.
MQTT Client
Function Description
Green indicates MQTT Client One is enabled
Enable
Gray indicates MQTT Client One is disabled
IP/ Domain Fill in IP/Domain name
Port Fill in server port(required), default is 1883
Client Identifier of MQTT Connecting message.
Client ID
Server uses it to identify Client
User Name of MQTT Connecting message.
User Name
Server uses it for ID verification and authorization
Password of MQTT Connecting message
Password
Server uses it for ID verification and authorization
Green indicates certificate is enabled
X.509
Gray indicates certificate is disabled
CA File Select file to upload (Need enable Certificate first)
Client Certificate File Select file to upload (Need enable Certificate first)
Client Key File Select file to upload (Need enable Certificate first)
Json data format selection, choose from "BLIIOT",
"thingsboard-telemetry-gateway", "sparkplug b", "yundee",
"dl". Default: BLIIOT. Some data templates have special
Data Template
configuration, click the button next to it to configure, such as
the group ID and edge node ID of the "sparkplug b"
template.
Topic of MQTT subscribing message. After subscribing
Subscribe Topic
server can send message to client for controlling
Alibaba Cloud
Function Description
Green indicates Alibaba Cloud is enabled
Enable Gray indicates Alibaba Cloud is disabled. Default is
disabled
Default is key connection. Select the key or certificate
Authentication Mode according to your needs, and choose from "Device Secret"
and "X.509".
Region Select Alibaba Cloud Region, default is China(Shanghai)
IP The IP address of Alibaba Cloud Enterprise Edition, not
required for the public edition.
Set the same ProductKey as the one in Ali Cloud.
ProductKey See below illustration (Device-Click DeviceSecret to view
it)
Set the same DeviceName as the one in Ali Cloud
DeviceName See below illustration (Device-Click DeviceSecret to view
it)。
Set the same DeviceSecret as the one in Ali Cloud
DeviceSecret See below illustration (Device-Click DeviceSecret to view
it)
CA File Select File Upload(Select Certificate Connection to fill in)
Client Certificate File Select File Upload(Select Certificate Connection to fill in)
Client Key File Select File Upload(Select Certificate Connection to fill in)
Alibaba Cloud device model is under development. Thus datapoint must be added
one by one. MQTT flag must be the same as the one in configuration software. For
example, collect datapoint VW8 of PLCS7-200SMART. MQTT flag in configuration
software is VW8. Then set datapoint as VW8 in cloud. Function name can be different
from variable name in configuration software.
Note: Currently Alibaba cloud device shadow is not supported. Data is written through
online debugging. Multiple data sending is not supported.
HUAWEI Cloud
Function Description
Green indicates HUAWEI Cloud is enabled.
Enable
Gray indicates HUAWEI Cloud is disabled. Default is disabled
Default is key connection. Select the key or certificate
Authentication
according to your needs, and choose from "Device Secret" and
mode
"X.509".
Select connecting to HUAWEI Cloud via MQTT to enter
console. Click Overview to get server IP address of device
connection
IP/Domain
Set the same Device Secret Key as the one in HUAWEI Cloud
when creating device in HUAWEI Cloud. If it’s forgot, it can be
Device Key
reset in device authentication.
(Not necessary if connecting with certificate is selected)
CA File Select File Upload(Select Certificate Connection to fill in)
Client Certificate Select File Upload(Select Certificate Connection to fill in)
File
Client Key File Select File Upload(Select Certificate Connection to fill in)
Set the same Service ID as the one in HUAWEI Cloud.
(IOT Platform-Products-Add Service-Service ID)
Server ID
same service ID in HUAWEI Cloud. Put MQTT flag as attribute name. For example,
collect datapoint Q0 of PLC S7-200SMART, put configuration software MQTT flag Q0
as attribute name.
4.2.12.5 AWS
Note: 1. Datapoint box is blank in default which means all datapoints will be published.
If multiple topics are published, only one topic datapoint box can be blank. For other
topics, datapoints for publishing must be selected.
2.AWS Cloud data shadow function is not supported.
AWS
Function Description
Green indicates AWS is enabled.
Enable
Gray indicates AWS is disabled. Default is disabled
Fill in the terminal node, enter the console, and click "Things" -
"Interact".
IP/Domain
Things
Publish Topic
BLIIOT MQTT Data Format refer to: 5.3.17 BLIIOT MQTT Data Format
First add datatpoint and then configure datapoint mark. It must be the same as MQTT
flag in configuration software. For example, collect datapoint Q1 of PLC
S7-200SMART, in configuration software MQTT flag is Q1, then set Q1 as read-write
mark in BLIIOT cloud.
Both BLIIOT Cloud and custom Modbus cloud can be connected via Modbus RTU
protocol. BL10 series gateway supports function code 01, 05 of Boolean data and
function codes 03, 06 of numerical data. 16-bit byte sequence is AB and 32-bit byte
sequence is ABCD.
4.2.13 BLRMS
BLRMS
Function Description
User BLRMS Login User Name
Password BLRMS Login Password
Log in Click this to log in
Gateway Select the device to be remotely managed
Select the functions that need to be remotely
Mode
managed
Channel Select pass-through port: Serial or Ethernet
Gateway Valid only when the channel selects the serial port.
COM
Remote IP IP of the device to be remotely passthrough
Passthrough Port number of the device to be remotely
Port
passthrough
Start Remote Enable Remote Passthrough
Passthrough
Remote Read Config. Remote Read Configuration
Configuration Write Config. Remote Write Configuration
Remote Upgrade firmware
Firmware
Firmware
Upgrade
Upgrade
Disconnect Close the BLRMS remote connection
To use the BLRMS service, you need to set up the "BLRMS Management Platform" in
the advanced settings.
Connect IO Module M140 to BL110 COM2 port and connect 4G RTU S475 to BL110
LAN port. M140T DI DO data is collected from COM2 via Modbus RTU protocol. S475
device data is collected from LAN port via Modbus TCP protocol. Connect BL110
WAN port to industrial router R40 LAN port. Router R40 provides network to BL110
Gateway.
Network Switch N81 is connected to BL110 LAN port. S475 is connected to Switch
N81. S475 device data is collected through LAN via Modbus TCP. M140T data is
collected through COM2 via Modbus RTU protocol. Collected data will be sent to
various clouds via 4G router R40 with its routing function.
Note: Both WAN and LAN can collect device data. The configuration procedure is the
same. This example is introduction to LAN port configuration.
The configuration method of 6 COM ports is the same. Take COM2 connection as an
example.
(1) Click COM2, right click the mouse and click Add to enter configuration box
(2) Set device name, for example, set M140T as device name
(3) Input device modbus adress, for example, if M140T Modbus ID is 1, put 1
(4) Select Type of data to be collected. The example is to collect the DI and DO of the
M140T, both of which are Boolean type, not numeric type register, select as
default.
(5) Write function code: As default, M140T supports writing multiple registers.
(6) Click OK to confirm adding M140T
(7) Click COM2 to view the added device M140T. If more devices to be added,
perform the same procedures as above Step (1)-(6)
Note: Click Write Configuration. Gateway BL110 will restart automatically. After
restarting, M140T is added successfully.
(1) Click M140T, move mouse cursor to the right box, right click mouse to enter
datapoint configuration window
(2) Variable name: Set datapoint name, for example, DO1
(3) Variable key, which can be filled in arbitrarily. The identifier cannot be repeated,
for example, the MQTT identifier of the DO1 data point is filled in as DO1.
(4) Select the acquisition address and choose data format according to the
requirements, OCT/DEC/HEX are octal/decimal/hexadecimal respectively. The
collected Modbus protocol address is input in decimal, so the example selects
decimal.
(5) Address type: Select according to the function codes supported by the collected
data points. For example, the DO of the collected M140T supports the "01"
function code, so select "01 Coil Status", and DI supports the "02" function code,
so select "02 Input Status”
(6) Address: The register address of the data point, such as: data point DO1 is "0"
register address in the M140T, so fill in "0".
(7) Data type: Select according to the data point, such as: DI and DO of M140T are
both coil types, so select "bool".
(8) Add Number: If it is collecting continuous addresses, the same function code can
be collected multiple times.
(9) Read/Write:Automatic identifying read-write type according to Address Type
(10) Map address: fill in the address where the collected data points are stored to the
BL110 gateway device, which can be filled in at will. Mapped addresses cannot be
duplicated. Range: 0-2000. For example, the data collected from DO1 is stored in
the “0” register address of the BL110 gateway. The outside of the mapping
address on the configuration software represents the Modbus address, and
M.XXX represents the PLC Modbus address.
(11) Variable Unit: Input any required unit
(12) Click OK to confirm
Note: After clicking OK to confirm the configuration, datapoints will appear in the box
lik above picture. If more datapoints to be added, right click the box and click Add to
enter datapoint configuration box, repeat Step (2)-(12)
Note: Click Write Configuration. Gateway will restart automatically. After restarting,
M140T datapoints are added successfully
Both WAN and LAN can collect device data. The configuration procedure is the same.
example, S475 is set to auto retrieving IP and the range is not limited,thus it’s not
necessary to change it.
(5) Subnet mask: The subnet mask of the LAN port gateway.
(6) MAC Addres: Input LAN port MAC address
(7) Click OK to confirm it
Note: Click Write Configuration and Gateway will restart. Turn off the power of
Gateway and restart it. After that LAN port configuration is done successfully
Note: LAN Port IP Address specifies the IP address arrange of LAN port device. If
device IP address is not within the range, data can’t be collected. Thus it’s necessary
to change LAN port IP address according to requirement. IP Address change will not
be effective until gateway is powered off and powered on again.
(1) Click LAN and right click mouse to enter device configuration box
(2) Device Name: input the name of device to be added, such as S475
(3) Device IP: input S475 IP address. For example, S475 is set to auto retrieving IP.
Open S475 configuration software and view its IP(192.168.3.125). Thus input
S475 IP 192.168.3.125.
Note: if LAN port IP is changed and LAN port device auto retrieves IP, please click
Write Configuration, power off gateway and power it on again. Then IP change
can be viewed
(4) Device Port: input LAN port device port. For example, S475 Modbus TCP port is
502. Thus put 502
(1) Click S475, move mouse cursor to the right box, right click the mouse and click
Add to enter datapoint configuration box
(2) Variable Name: Set the name of datapoint, for example, temp
(3) Variable key, which can be filled in arbitrarily. The identifier cannot be repeated.
For example, the MQTT identifier of the temperature data point is filled in as temp.
(4) Select the acquisition address and choose data format according to the
requirements. OCT/DEC/HEX are octal/decimal/hexadecimal respectively. The
collected Modbus protocol address is input in decimal, so the example selects
decimal.
(5) Slave ID: The Modbus ID of the S475 device is "1", so fill in "1".
(6) Address Type: S475 temperature supports function code 04, thus select 04 input
register
(7) Address: 24 (Datapoint temperature register address in S475 is 24)
(8) Data Type: S475 temperature is 16-bit signed numeric data, thus select int16
(9) Add Number: If consecutive addresses to be collected, the same function code
can collect it simultaneously.
(10) Read/Write: Automatic Identifying it according to Address Type
(11) Ratio: Set the ratio to be multiplied or minified for uploading to cloud
(12) Map Address: For example, S475 temperature data is saved in register address 8
of BL110).
Modbus mapping address can be any from 0 to 2000 and it can’t be repeated
(13) Variable unit: fill in according to requirements, or not fill in.
(14) Click OK to confirm.
Note: After confirming the configuration, datapoints will appear in the box like above
picture. To add more datapoints, right click the box and click Add to enter configuration
box. Perform the same procedure as Step (2)-(14)
Note: Click Write Configuration. Gateway will restart automatically. After device
restarting, S475 datapoint is added successfully.
The configuration procedures of uploading data to various clouds are the same. Here
only introduce configuration of collecting PLC data and send it to various clouds.
Refer to Configuration of Uploading Data to Various Clouds
(1) Click COM2, right click it and click Add to enter device configuration box
(2) Set Device Name at random like S7-200
(3) Device address: S7-200 serial port address, fill in as required, the address should
be consistent with the S7-200 setting, otherwise the communication will fail
(4) Click OK to confirm adding S7-200
Note: After confirming configuration, S7-200 device icon will appear below COM2. To
add more devices, follow the same steps (1)-(4)
Note: Click Write Configuration. Gateway will restart automatically and adding PLC
S7-200 is effective
(1)Click S7-200, move mouse cursor to the right box, right click the mouse and click
Add to enter datapoint configuration box
(2)Variable Name: Set the name of datapoint to be collected, for example, VW10
(3)Variable key, which can be filled in arbitrarily. The identifier cannot be repeated.For
example: VW10
(4)Select the collection address according to the requirements and data format filled
in the input gateway. OCT/DEC/HEX are octal/decimal/hexadecimal respectively.
Siemens I and Q data points are octal, but only decimal can be used because of
decimals.
(5)Address Type: Select address type according to PLC register. Here VW10 address
type is VW
(6)Address: Register address of datapoint. Here VW0 address is 10
(7)Data Type: Select data type according to PLC register type
(8)Add Number: If addresses are consecutive, the same register will collect multiple
addresses.
(9)Read/Write: Select from Read only and Read & Write.
(10)Ratio: set the ratio to be multiplied or minified for uploading to cloud
(11)Map Address: Set address where datapoint will be saved in BL110.
Modbus mapping address can be any from 0 to 2000 and it can’t be repeated
For example, set 18 as VW10 mapping address
(12)Variable unit: Fill in according to requirements, or not fill in.
(13)Click OK to confirm.
Note: After confirming the configuration, datapoints will appear in the box like above
picture. To add more datapoints, right click the box and click Add to enter configuration
box. Perform the same procedure as Step (2)-(13)
Note: Click Write Configuration. Gateway will restart automatically and S7-200
Page 78 of 141 Shenzhen Beilai Technology Co., Ltd V1.0
Industrial IoT Gateways
-BL10X
Siemens PLC data can be collected through WAN, LAN and cascaded switch. If you
want to set PUT/GET then the connection mechanism: Allow PUT/GET
communication access, such as S7-1500 should be set to allow. Acquisition of DB
block data is non-optimized block access.
Note: LAN Port IP Address specifies the IP address arrange of LAN port device. If
device IP address is not within the range, data can’t be collected. Thus it’s necessary
to change LAN port IP address according to requirement. IP Address change will not
be effective until gateway is power off and powered on again.
(1) Click LAN and right click mouse and click Add to enter device configuration box
(2) Device Name: Set device name, for example, set S7-200SMART as device name.
(3) Device IP: Input PLC IP address. For example, PLC S7-200SMART IP is
192.168.3.16, thus put 192.168.3.16 here. This is PLC IP address. PLC IP address
and LAN Port IP address must be in the same range.
(4) Device Port: Input LAN port device port. Default port of S7-200SMART is 102.
Thus put 102.
(5)Device Brand: Select Siemens as Device Brand and select S7-200SMART as
device model The polling interval and timeout are set according to requirements.
(6)Click OK to confirm adding PLC S7-200SMART
Note: S7-200SMART device icon will appear after confirming the configuration. If
more devices to be added, perform the same procedure as Step (1)-(6)
Note: Click Write Configuration and gateway will restart automatically. After restarting,
PLC S7-200SMART is added successfully
(1) Click S7-200SMART, move mouse cursor to the right box, right click the mouse
and click Add to enter datapoint configuration box
(2) Variable Name: Set the name of datapoint, for example, VW0
(3) Variable key, which can be filled in arbitrarily. The identifier cannot be
repeated.For example: VW0
(4) Select the collection address according to the requirements and data format filled
in the input gateway. OCT/DEC/HEX are octal/decimal/hexadecimal respectively.
Siemens I and Q data points are octal, but only decimal can be used because of
decimals.
(5) Address Type: Select address type according to PLC register. Here VW0 address
type is VW
(6) Address: Register address of datapoint. Here VW0 address is 0
(7) Data Type: Select data type according to PLC register type
(8) Add Number: If addresses are consecutive, the same register will collect multiple
addresses.
(9) Read/Write: Select from Read only and Read & Write.
(10) Ratio: Set the ratio to be multiplied or minified for uploading to cloud
(11) Map Address: Set address where datapoint will be saved in BL110.
Modbus mapping address can be any from 0 to 2000 and it can’t be repeated
For example, set 8 as VW0 mapping address
(12) Variable unit: Fill in according to requirements, or not fill in.
(13) Click OK to confirm.
Note: After confirming the configuration, datapoints will appear in the box like above
picture. To add more datapoints, right click the box and click Add to enter configuration
box. Perform the same procedure as Step (2)-(13)
Note: Click Write Configuration. Gateway will restart automatically and S7-200SMART
datapoint is added successfully.
The configuration procedures of uploading data to various clouds are the same. Here
only introduce configuration of collecting PLC data and send it to various clouds.
Refer to Configuration of Uploading Data to Various Clouds
The configuration method of 6 COM ports is the same. Because the Mitsubishi FX3U
programming port is RS422 interface, it needs to be connected to BL110 gateway
through RS422 to RS232 or RS485 programming line.
You can also use the Mitsubishi PLC BD expansion board interface to connect the
gateway, if you use the expansion board interface, then select FX232/485BD protocol,
add devices on the gateway to fill in the station number and PLC on the same settings.
For example: 232BD expansion board to the gateway, PLC configuration is as follows:
(1) Click COM1, right click it and click Add to enter device configuration box
(2) Set Device Name at random like FX3U
(3) Click OK to confirm adding FX3U PLC.
Note: After confirming configuration, FX3U device icon will appear below COM1. To
add more devices, follow the same steps (1)-(3)
Note: Click Write Configuration. Gateway will restart automatically and adding PLC
FX3U is effective
(1) Click FX3U, move mouse cursor to the right box, right click mouse and click Add
to enter datapoint configuration window
(2) Variable Name: Set datapoint name, for example, Y0
(3) Variable key, which can be filled in arbitrarily. The identifier cannot be
repeated.For example: Y0
(4) Select the collection address according to the requirements and data format filled
in the input gateway. OCT/DEC/HEX are octal/decimal/hexadecimal respectively. The
X and Y data points of FX3U are octal, so choose octal
(5) Address Type: Select the address type of Mitsubishi PLC register. Select Y for
collecting Y0 datapoint
(6) Address: Input datapint register address, for example, Y0 register address in
FX3U is 0, input 0
(7) Data Type: Select data type according to PLC register. For example, select bool
for Y as it’s coil type.
(8) Add Number: If consecutive addresses are collected, the same register can collect
multiple addresses.
(9) Read/Write:Select from Read only and Read & Write according to PLC register.
(10) Map Address: Input the address where the collected datapoint is saved in BL110.
It can be any address from 0-2000 but can’t be repeated. For example, Y0 data is
saved in register address 0 of BL110.
(11) Variable unit: fill in according to requirements, or not fill in.
(12) Click OK to confirm
Note: After clicking OK to confirm the configuration, datapoints will appear in the box
lik above picture. If more datapoints to be added, right click the box and click Add to
enter datapoint configuration box, repeat Step (2)-(12)
Note: Click Write Configuration. Gateway will restart automatically. After restarting,
For example, the parameter setting on Q06UDEH of Q series, Q/L series should
select MC protocol communication.
WAN port collect data from FX5U through the switch, and the switch is connected to
the external network. The configuration of the WAN port is as follows:
(1) Click "WAN", click the right mouse button, click "Add" to enter device configuration
box.
(2) Device name: Name the device, for example, because Mitsubishi FX5U is an
example, you can fill in FX5U.
(3) Fill in the IP of the acquisition device, because the designated IP of FX5U is
changed to: 192.168.1.112, so fill in 192.168.1.112 here. The IP is viewed on the
Mitsubishi programming software. Fill in the IP of the PLC here. It should be noted that
the IP of the PLC should be in the same network segment as the IP of the WAN port.
(4) Device port : Fill in as required. The example is 4999 from the Mitsubishi
(1) Click "FX5U", move the mouse cursor to the box, right-click the mouse, and click
"Add" to enter data point setting box.
(2) Variable name: Name the data point, collecting the data of "Y7", you can fill in:
"Y7".
(3) The identifier of the data point can be filled in arbitrarily. The identifier cannot be
repeated, for example, the identifier of the collected "Y7" data point is filled in as "Y7".
(4)Select the acquisition address fill in the input gateway in what data format
according to the requirements. OCT/DEC/HEX are octal/decimal/hexadecimal
respectively. Mitsubishi FX5U X and Y data points are octal, so choose octal. Select
The configuration procedures of uploading data to various clouds are the same. Here
only introduce configuration of collecting PLC data and send it to various clouds.
Refer to Configuration of Uploading Data to Various Clouds
Select the COM port according to the serial port board, because the gateway device
485 interface is 2-wire, if the serial port board is 485, pay attention to the serial port
board DIP switch to select 2-wire or 4-wire.
Takes the serial port board CP1W-CIF11 and Omron CP1L-L as examples, the serial
port board DIP switches 2 and 3 are ON, the DIP switch SW4 of CP1L-L is OFF, the
serial port board and other DIP switches of the PLC The location is set as required.
The serial port board RDA- or SDA- is connected to the gateway COM2 B, and
RDB+or SDB+the gateway COM2 A. CP1L-L serial port configuration mode should
select Host Link.
(1) Click "COM3", click the right mouse button, click "Add" to enter device
configuration box.
(2) Fill in the device name arbitrarily, such as: CP1L-L.
(3) Device address: CP1L-L serial port unit number, fill in as required, the address
must be consistent with the unit number set by CP1L-L, otherwise communication will
fail.
(4) Click "OK" to add the CP1L-L device.
Note: After clicking OK, the added devices will be displayed under COM3, as shown in
the figure above, CP1L-L. If you want to add multiple devices, repeat steps (1)-(4).
Note: Click "Write Configuration" to restart the gateway device automatically. After
restarting, the CP1L-L device with COM3 port is added successfully.
(1) Click "CP1L-L", move the mouse cursor to the box, right-click the mouse, and click
"Add" to enter data point setting box.
(2) Variable name: Name the data point, such as: CIO2.01.
(3) The identifier of the data point can be filled in arbitrarily. The identifier cannot be
repeated. For example, the identifier of the CIO2.01 data point is filled in as CIO201.
Some platform identifiers cannot recognize the decimal point.
(4) Select the acquisition address fill in the input gateway in what data format
according to the requirements. OCT/DEC/HEX are octal/decimal/hexadecimal
respectively. The CIO register is collected in bits with decimals, so the decimal system
is selected.
(5) Address type: Select according to Omron's register, if you want to collect
"CIO2.01", select "CIO_BIT".
(6) Address: The register address of the collected data point, collecting "CIO2.01", so
fill in "2.01".
(7) Data type: Select according to the acquisition PLC register, such as: "CIO_BIT" is
the coil type, so select "bool".
(8) Add Number: The number of acquisitions. If it is to acquire continuous addresses,
the same register can be acquired multiple times.
(9) Read/Write: according to PLC register selection. Select from "Read Only", "Read
and Write".
(10) Map address: Fill in the address where the collected data points are stored to the
BL110 gateway device, which can be filled in at will. Mapped addresses cannot be
duplicated. Range: 0-2000. Such as: collect the data of CIO2.01 and store it to the
"16" register address of the BL110 gateway.
(11) Variable unit: fill in arbitrarily according to requirements, or not fill in.
(12) Click "OK".
Page 95 of 141 Shenzhen Beilai Technology Co., Ltd V1.0
Industrial IoT Gateways
-BL10X
Note: After clicking "OK", the data points will be displayed in the box as shown in the
figure above. If you want to continue adding data points, right-click on the box and
click "Add" to enter data point configuration box, repeat (2)--( 12) Steps.
Note: Clicking "Write Configuration" will restart the gateway automatically, and the
data points added by CP1L-L will take effect only after restarting.
OMRON PLC data can be collected through WAN, LAN and cascaded switch
Below is example of adding OMRON PLC CP1L-EL to LAN port. Configure it as below
Note: LAN Port IP Address specifies the IP address arrange of LAN port device. If
device IP address is not within the range, data can’t be collected. Thus it’s necessary
to change LAN port IP address according to requirement. IP Address change will not
be effective until gateway is powered off and powered on again
(1) Click LAN and right click mouse and click Add to enter device configuration box
(2) Device Name: set device name, for example, set CP1L-EL as device name.
(3) Device IP: input PLC IP address. For example, PLC CP1L-EL IP is 192.168.3.151,
thus put 192.168.3.151 here. This is PLC IP address. PLC IP address and LAN
Port IP address must be in the same range.
(4) Device Port: Fill in LAN port device port. CP1L-EL default port is 9600
(5) Device Brand: Select Omron as Device Brand and select FINS_TCP as device
model The polling interval and timeout are set according to requirements.
(6) Click OK to confirm adding PLC CP1L-EL
Note: CP1L-EL device icon will appear after confirming the configuration. If more
devices to be added, perform the same procedure as Step (1)-(6)
Note: Click Write Configuration and gateway will restart automatically. After restarting,
PLC CP1L-EL is added successfully
Below example is part of PLC CP1L-EL register CIO & D data configuration
(1) Click CP1L-EL, move mouse cursor to the right box, right click the mouse and
click Add to enter datapoint configuration box
(2) Variable Name: Set the name of datapoint, for example, D100
(3) Variable key, which can be filled in arbitrarily. The identifier cannot be
repeated.For example: D100
(4) Select the collection address data format filled in the input gateway according to
the requirements. OCT/DEC/HEX are octal/decimal/hexadecimal respectively.
CP1L-EL D register is decimal, so choose decimal
(5) Address Type: select address type according to PLC register. Here D100 address
type is D
(6) Address: Register address of datapoint. Here D100 address is 100
(7) Data Type: select data type according to PLC register type
(8) Add Number: If addresses are consecutive, the same register will collect multiple
addresses.
(9) Read/Write: Select from Read only and Read & Write.
(10) Ratio: Set the ratio to be multiplied or minified for uploading to cloud
(11) Map Address: Set address where datapoint will be saved in BL110.
Modbus mapping address can be any from 0 to 2000 and it can’t be repeated
For example, set 9 as D100 mapping address
(12) Variable unit: Fill in according to requirements, or not fill in.
(13) Click OK to confirm.
Note: After confirming the configuration, datapoints will appear in the box like above
picture. To add more datapoints, right click the box and click Add to enter configuration
box. Perform the same procedure as Step (1)-(13)
Note: Click Write Configuration. Gateway will restart automatically and CP1L-EL
datapoint is added successfully.
The configuration procedures of uploading data to various clouds are the same. Here
only introduce configuration of collecting PLC data and send it to various clouds.
Refer to Configuration of Uploading Data to Various Clouds
The configuration method of the 6 COM ports is the same. Take COM4 connection as
an example. DVP-12SA2 COM3+ is connected to gateway COM4 A, COM3- is
connected to gateway COM4 B.
(1) Click "COM4", click the right mouse button, click "Add", to enter device
configuration box.
(2) Fill in the device name arbitrarily, such as: DVP-12SA2.
(3) Device address: The station number of Delta COM, fill in as required, the address
must be consistent with the Delta COM setting, otherwise communication will fail.
(4) Click "OK" to add DVP-12SA2 device.
Note: After clicking OK, the added devices will be displayed under COM2, as shown in
the figure above. DVP-12SA2, if you want to add multiple devices, repeat steps
(1)-(4).
Note: Clicking "Write Configuration" will restart the gateway device automatically. After
restarting, the DVP-12SA2 device with COM4 port added will be added successfully.
Taking adding data points Y0 and D0 as an example, the address of register X and Y
of Delta DVP-12SA2 is octal, and the address of register D is decimal.
(1) Click "DVP-12SA2", move the mouse cursor to the box, right-click the mouse, and
click "Add" to enter data point setting box.
(2) Variable name: Name the data point, such as: Y0.
(3) The identifier of the data point can be filled in arbitrarily. The identifier cannot be
repeated, for example, the identifier of the Y0 data point is filled in as Y0.
(4) Select the collection address data format filled in the input gateway according to
the requirements. OCT/DEC/HEX are octal/decimal/hexadecimal respectively.
Register X and Y addresses are in octal, and register D addresses are in decimal.
(5) Address type: According to Delta's register selection, if you want to collect "YO",
select "Y".
(6) Address: The register address of the collected data point, such as: collecting "Y0",
so fill in "0".
(7) Data type: Select according to the acquisition PLC register, such as: "Y0" is the
coil type, so select "bool".
(8) Add Number: The number of acquisitions. If it is to acquire continuous addresses,
the same register can be acquired multiple times.
(9) Read/Write: According to PLC register selection. Select from "Read Only", "Read
and Write".
(10) Map address: Fill in the address where the collected data points are stored to the
BL110 gateway device, which can be filled in at will. Mapped addresses cannot be
duplicated. Range: 0-2000. For example, the data collected from Y0 is stored in the
"0" register address of the BL110 gateway.
(11) Variable unit: Fill in arbitrarily according to requirements, or not fill in.
(12) Click "OK".
Note: After clicking "OK", the data points will be displayed in the box as shown in the
figure above. If you want to continue adding data points, right-click on the box and
Page 102 of 141 Shenzhen Beilai Technology Co., Ltd V1.0
Industrial IoT Gateways
-BL10X
click "Add" to enter data point configuration box, repeat (1)--( 12) Steps.
Note: Clicking "Write Configuration" will restart the gateway automatically, and the
data points added by DVP-12SA2 will take effect only after restarting.
Ongoing
The configuration procedures of uploading data to various clouds are the same. Here
only introduce configuration of collecting PLC data and send it to various clouds.
Refer to Configuration of Uploading Data to Various Clouds
Below is the example of connecting Mitsubishi PLC FX3U to BL110 COM1 port and
connecting Siemens PLC S7-200SMART to BL110 LAN port. BL110 WAN port is
connected to router R40 LAN port. R40 provides network for BL110. See below wiring
diagram:
BL110 LAN port is connected to Siemens PLC S7-200SMART Ethernet port, COM1 is
connected toMitsubishi PLC FX3U via RS232 to RS422 converting cable. BL110
collects both PLC data and send to various clouds with network provided by R40
through WAN.
Note: Both WAN and LAN ports can collect device data. This example is collecting
data through LAN port. WAN and LAN port configurations are the same as stated in
previous introduction.
Gateway provides data as Modbus TCP server. Modbus TCP host computer will
collect data from BL110, like SCADA, MES host PCs. Function codes supported for
collecting gateway data: 01 & 05 for boolean data; 03 & 06 for numerical data. Below
example is using KingView to view BL110 device data. WAN port IP: 192.168.1.155,
Modbus TCP Server port: 502
BL110 provides data as OPC UA server. Below is the example of collecting BL110
data with UaExpert(OPC UA Client). Connecting UaExpert with BL110 OPC UA server.
Datapoint will be generated automatically. Datapoint names are the same as variable
names in configuration software. Node id Consists of the device name on the
configuration software and the device's data point label.
The "BLIIOT" JSON data format of MQTT Client and MQTT Client II is the same as
BLIIOT MQTT. Refer to:BLIIOT MQTT Data Format
Connect to the ThingsBoard platform, select the JSON data format in the
"thingsboard-telemetry-gateway" format. The ThingsBoard platform domain name is
thingsboard.cloud.
Connect to a platform that supports Sparkplug B, such as the ignition platform, select
the JSON data format in the "sparkplug b" format, click the button next to the data
template item, enter configuration box to configure the group ID and edge node ID.
The difference between MQTT Client and MQTT Client II is that the subscription topic
of MQTT Client II does not work. The purpose of MQTT Client II is that the platform
can view the data but cannot control the data. Therefore, MQTT Client II connection is
not introduced.
The configuration of MQTT Client is as follows: Connection without certificate and the
JSON data format in BLIIOT format as an example.
(1) Double-click "MQTT Client" to enter configuration box. (2) Click the Enable button
to enable MQTT Client. Default: off. Gray: Disabled, Green: enabled. (3) IP/domain:
fill in the IP/domain name of the MQTT server. 4) Port: Fill in the MQTT server port,
Default: 1883. (5) Client ID: The client identifier used in the MQTT connection
message, and the server uses the client identifier to identify the client. (6) Username:
The username used in the MQTT connection message, the server can use it for
authentication and authorization. (7) Password: The password used in the MQTT
connection message, which can be used by the server for authentication and
authorization. (8) Data template: Select according to the JSON data format supported
by the MQTT server, default is "Beilai". (9) Subscribe topic: The topic name used by
the MQTT subscription message. After subscription, the server can send a publish
message to the client for control. (10) Publish topic: The topic name used by MQTT to
publish the message. The topic name is used to identify which information channel the
payload data should be published to. (11) Upload cycle: Data publish interval, default
is 30S. (12) Data retransmission: Whether to enable data retransmission, Gray:
disabled, Green: enabled. (13) Data Reporting Settings: Select the data point to be
uploaded in the box on the right side of the configuration box, the default is blank
means all upload.
(14) Click "OK" to confirm the configuration of BLIIOT MQTT. (15) Click "Write
Configuration", the MQTT Client will not be enabled until the gateway device restarts.
Re-open the configuration software to log in to the device, and you can see on the
basic information page that the prompt light of "MQTT Client Online Status" is green,
indicating that the MQTT Client is connected. The rightmost shows the online status of
the slave device.
Note: Client ID can not be the same the Client ID in configuration software
(1) Double-click "Alibaba Cloud IoT" to enter configuration box. (2) Click the Enable
button to enable Alibaba Cloud. Default: off. Gray: Disabled, Green: enabled. (3)
Authentication mode: Choose whether to use a key connection or a certificate
connection. The default is key connection. (4) Region: Select the Alibaba Cloud region,
default is China (Shanghai). (5) IP: The IP address of Alibaba Cloud for the enterprise
version, don't need to filled in for the public version. (6) ProductKey: The same as the
ProductKey in the Alibaba Cloud device. (7) DeviceName: The same as the
DeviceName in the Alibaba Cloud device. (8) DeviceSecret: The same as the
DeviceSecret in the Alibaba Cloud device. (9) CA file: When enabling certificate
connection, select the root certificate file to upload. (10) Client certificate file: When
enabling certificate connection, select the client certificate file to upload. (11) Client
key file: When enabling certificate connection, select the client key file to upload. (12)
Upload cycle: The interval for regular data release, the default is 30S. (13) Select data
point upload: select the data point to be uploaded in the box on the right side of the
configuration box, the default is blank means all upload. (14) Click "OK" to confirm (15)
Click "Write Configuration", and Alibaba Cloud will not be enabled until the gateway
device restarts. Re-open the configuration software to log in to the device, and you
can see that the "Alibaba Cloud Online Status" indicator light is green on the basic
information page, indicating that Alibaba Cloud is connected. The rightmost shows the
online status of the slave device.
Add datapoint to Alibaba Cloud as below picture. Make sure datapoint mark is the
same as MQTT flag in configuration software. For example, MQTT flag of datapoint
VW8 of PLC S7-200SMART is VW8 in configuration software, then set VW8 as
datapoint mark in Ali Cloud. Function name and variable name can be different.
(1) Double-click "HUAWEI CLOUD IoT" to enter configuration box. (2) Click the
Enable button to enable HUAWEI CLOUD. Default: off. Gray: Disabled, Green:
Enabled. (3) Authentication mode: Choose whether to use a key connection or a
certificate connection. Default is key connection. (4) IP/domain: Connect to the
address of HUAWEI CLOUD, enter the console, click Overview, and the platform
access address of the device access service console, you can view the server
address. (5) Port: 1883 by default, 1883 for key connection, and 8883 for certificate
connection. (6) Device ID: Set the same as the device ID on HUAWEI CLOUD. (7)
Device key: Set the same key as the key on HUAWEI CLOUD, and enter the key
when creating a device. (8) CA file: When enabling certificate connection, select the
root certificate file to upload. (9) Client certificate file: When enabling certificate
connection, select the client certificate file to upload. (10) Client key file: When
enabling certificate connection, select the client key file upload. (11) Server ID: Set the
same as the service ID on HUAWEI CLOUD, the service ID set when creating the
product. One service ID or multiple service IDs can be set. This example introduces
multiple service ID applications, adding "M140T" and "S475" service IDs. (12) Upload
cycle: The interval for regular data release, the default is 30S. (13) Data
retransmission: whether to enable data retransmission, click the button to enable.
Gray: disabled, Green: enabled. (14) Select data point upload: select the data point to
be uploaded in the box to the right of the configuration box, the default is blank means
all upload. In this example, the service ID "M140T" selects the data point of M140T to
upload, the service ID item selects "M140T", right-clicks the mouse in the right box,
the data point box pops up, and selects the data point of "M140T", for example: click
the data point of M140T DO1, click and hold the left mouse button, move the mouse
down to the data point to be uploaded, click "OK", and the data point you selected will
be displayed in the box. Select the service ID "S475", right-click in the box, the data
point box will pop up, select the data point, and click "OK".
(15) Click "OK" to confirm the configuration of HUAWEI CLOUD. (16) Click "Write
Configuration", HUAWEI CLOUD will be enabled after the gateway device restarts.
Re-open the configuration software to log in to the device. On the basic information
page, you can see that the "HUAWEI CLOUD online status" indicator light is green,
indicating that HUAWEI CLOUD is connected. The rightmost shows the online status
of the slave device.
The property name is the variable label identifier on the configuration software
Check whether the DO2 data has changed in the device shadow, from the original "1"
to "0".
(1) Double-click "Amazon IoT" to enter configuration box. (2) Click the Enable button
to enable Amazon Cloud. Default: off. Gray: disabled Green: enabled. (3) IP/domain:
Fill in the terminal node, enter the console, and click "Interaction" of "Thing" to view. (4)
Port: 8883. (5) Thing: Fill in the ARN, and click "Details" of "Thing" to view the ARN. (6)
Client ID: fill in the account ID and view it in the user information. (7) CA file: Select the
root certificate file to upload. (8) Client certificate file: Select the client certificate file to
upload. (9) Client key file: Select the client key file to upload. (10) Publish topic: the
topic created when creating the rule, the topic name used by MQTT to publish the
message, click "Add" to fill in the publishing topic name. You can fill in multiple
publishing topics, select a publishing topic, and click "Delete" to delete the selected
topic. For example: the topic viewed in the "rule" of "action" is "iot/topic", so fill
in"iot/topic".
(11) Upload cycle: Data publish interval, the default is 30S. (12) Data Reporting
Setting: Select the data point to be uploaded in the box on the right side of the
configuration box, the default is blank means all upload. (13) Click "OK" to confirm the
configuration of Amazon Cloud. (14) Click "Write Configuration", and Amazon Cloud
will be enabled after the gateway device restarts. Re-open the configuration software
to log in to the device, and on the basic information page, you can see that the
“Amazon Cloud Online Status” indicator light is green, indicating that the Amazon
cloud is connected. The rightmost shows the online status of the slave device.
Login to AWS, click Act, click Test and select subscription topic “iot/topic” to view
messages published by BL110 gateway
(10) Heartbeat Interval: Set cycle time of sending Heartbeat message. Default is 60s
(11) Click OK to confirm the configuration.
(12) Click Write Configuration. Gateway will restart and BLIIOT Cloud via Modbus is
enabled successfully. Open configuration software and login device. BLIIOT cloud
via Modbus connection status can be viewed from basic information. Green
indicates device is connected BLIIOT cloud via Modbus. Slave devices connection
status can be viewed from the right box.
Configure datapoint in cloud like below picture. First create datapoint, then enter
connection setting and put datapoint Modbus ID, function code, address, data format,
byte sequence and collecting cycle. Modbus address in BLIIOT cloud and
configuration software is deviated by 1. For example, datapoint VW0 of PLC
S7-200SMART in configuration software is 8, then put 9 in cloud. Sensor names in
cloud can be different from those in configuration software
Create datapoint in cloud first. Set datapoint mark is the same as MQTT flag in
configuration software. Below is example of some datapoint configuration. For
example, MQTT flag of datapoint VW0 in configuration software is VW0, then set
read-write mark VW0 in BLIIOT cloud
The "BLIIOT" JSON data format of MQTT Client and MQTT Client II is the same as
that of BLIIOT MQTT. The details are as follows
(1) Valid Load Data Format in device Publishing messages
Publish Topic: Serial Number (Configured publish topic)
{
"sensorDatas": [
{
//Boolean value
"flag": "Y0", //Read-write identification mark
"switcher": 1 //Data Type and Value
},
{
//Numeric Type
"flag": "VW0", //Read-Write identification mark
"value": 8 //Data Type and Value
}
{
//4G Module signal value
"flag": " signal_strength ", //Read and write identifiers, fixed and cannot
be modified
"value": 28 //data type and value
}
{
//GPS positioning
"flag": "GPS", //GPS logo
"lat": "224.1377", //Latitude data
"lng": "113.4791" //longitude data
}
],
"state":"alarm", //Alarm mark(Set Alarm Event in configuration software. Once
alarm is trigger, this mark will appear. It’s not included in scheduled automatically
uploaded data)
"state":"recovery", //Alarm recovery mark (Only appear when there’s alarm
recovery. It’s not included in scheduled automatically uploaded data)
"gateway_indentify": "Beilai" //Gateway name identifier, upload gateway name
"time": "1622700769", //Time mark, it’s time stamp of data uploading
"addTime": "2021-06-03 06:12:49" //Time mark, it’s time of device data uploading
"retransmit":"enable" //Retransmission mark, MQTT historical data (Only appear
when there’s historical data retransmission. It’s not included in scheduled
automatically uploaded data)
}
Note:
//Read-Wrtie Mark:character is "flag", followed by " MQTT identifier of data point",
it’s the MQTT mark set in configuration software when adding datapoint. It can be
customized
6 Warranty Term
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