Connecting Devices to EnOS


This topic describes how to connect sub-devices to the EnOS Egde gateway and configure connectivity services.

Before You Start

Step 1: Add Edge Devices to Edge Management

  1. Log in to the EnOS Management Console and select EnOS Edge > Edge List from the left navigation menu.
  2. Click New Edge and select the EnOS Edge devices created in Pre-Configuring Edge Device Asset, and click Confirm.

Step 2: Deploy the Registration Information on Edge Devices

  1. In Edge List, click the View icon of the newly created Edge to go to the Edge Details page.
  2. Click More at the bottom of the page and select Download box.conf to download the configuration file.
  3. Hand the file to the Edge delivery engineers to have the box.conf file configured, so that the Edge device can be connected to the cloud.

Step 3: Configure Connection Information

In the Edge Detail page, click the Access Management tab, and select the Ethernet or COM Port tab according to the connection type to be added. The supported methods of adding & editing connections are as follows:

Add the Connection

Here are two methods to add the connection.

  • Method 1: Add the Connection One by One

For system docking, centralized control access, and scenarios with few connections, click the Add Connection icon button_add_connection_gray to add the connection one by one.

  • Method 2: Add the Connection in Batches

For directly connected devices or scenarios with a huge number of connections:

  1. Click button_export_gray to export the connection template (Template_collect.xlsx).
  2. Fill in multiple connection information in the template (Template_collect.xlsx)
  3. Back to the Access page and click button_import_protocol_config to import the template file (Template_collect.xlsx).

Edit the Protocol Configuration File

Here are two methods to edit the protocol configuration file:

  • Method 1: Edit Protocol Configuration File Online

Under a single connection, click the button_edit_gray beside the “Configuration File” to set the protocol communication parameters online.

  • Method 2: Import Protocol Configuration information in Batch
  1. Click button_download_template_gray beside the “Configuration File” of a connection to export the standard protocol configuration file (protocol.sys).
  2. Fill in the connection information in the protocol.sys.
  3. Back to the Access > Ethernet/Com Port page, select the connections to be imported with the same protocol configuration file (protocol.sys).
  4. Click button_import_protocol_config beside the “Protocol Configuration File” on the operation line above to import the protocol configuration file (protocol.sys).
../../_images/upload_protocol_into_connection.png

Step 4: Configure Devices and Templates

Here are two methods to add the sub-devices and access templates.

  • Method 1: Create Templates and Add Devices One by One
  1. In Templates > Access Templates > Private Template, add and edit a template. You can skip “Step 3 Calculate Model Point” on the “Edit Template” page. For more information, see Create access templates.
  2. Go to Edge Management > Edge Details > Access > Ethernet/Com Port and click the created connection to expand it.
  3. Click New Device. Fill in the required information on the “Add Device” page.
  • Method 2: Create Templates and Add Devices Automatically

Note

The auto template configuration only supports the connection with the IEC104 or Bacnet IP protocol.

  1. Go to Edge Management > Edge Details > Access > Ethernet/Com Port and click the created connection to expand it.
  2. Click New Device. Fill in the required information on the “Add Device” page. In the “Step 2”, click button_switch to turn on the auto-configuration function.
  3. Click Save and back to the previous page. Click the connection to expand it.
  4. Click Auto Template Configuration and fill in the required information in the pop-up window.

Step 5: Edit Access Template

Here are two methods to edit the templates:

  • Method 1: Edit Templates One by One

For scenarios with similar templates:

  1. Go to Templates > Access Templates > Private Template.
  2. Select and edit the target template.
  • Method 2: Edit Dynamic Templates in Batch

For scenarios with different kinds of templates:

  1. Go to Edge Management > Edge Details > Access > Ethernet/Com Port.
  2. Click on the right side of the connection and click Edit Dynamic Template.
  3. Fill in the required information in the pop-up window.

Step 6: Edit The Device

  1. In Access > Ethernet/Com Port page, click to expand the connection you just created.
  2. Click button_edit_gray in the device line to edit the device. Fill in the required information in the pop-up window, including:
    • Logical number: It is a string type used to identify different devices under the same connection. For details, go to Protocols in EnOS Management Console and search for the protocol configuration guide.
    • Offset: It is used to position the collection point with the format like 1-100. The noncontinuous offsets can be connected using “#”, with the format like 1-100#1001-1050. The configuration method varies according to the protocols.

Step 7: Publish and Check the Status

  1. Click the Publish button at the bottom of the page to distribute the configuration information to the EnOS Edge device as a resource package.
  2. After activating Edge License, click Access > Ethernet tab. And click to expand the connection created before.
  3. Click the view button of the sub-device to check connection status. When the connection status of the sub-devices is Connected, the data are connected to the cloud.

Specific Scenario: Multiple Channel Data Collection

When the device collects data from multiple channels, you can follow the above steps to connect data to the cloud.

Notably, you need to pay attention to the following issues in Step 4:

  • When the measurement point data of a device from multiple connection channels are connected to the cloud, the measurement points in each connection must be unique. So you need to create different access templates for this device asset.
  • Ensure that the model points to be mapped are unique in different access templates of the same device.
  • In this scenario, turn on the Enable Multi-channel button in the upper right corner of the “Add Device” page.