Advertisement

Quick Links

SMARTBRIDGE USER MANUAL
(model SB020100 RTU MODBUS to LORAWAN CONVERTER
Hardware version v02.01.00)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SB020100 and is the answer not in the manual?

Questions and answers

Summary of Contents for AONCIP SB020100

  • Page 1 SMARTBRIDGE USER MANUAL (model SB020100 RTU MODBUS to LORAWAN CONVERTER Hardware version v02.01.00)
  • Page 2: Table Of Contents

    SB020100 - Smart Bridge LoRaWAN - MODBUS 1. CONTENTS 1. CONTENTS ..............................1 2. SAFETY PRECAUTIONS ..........................2 3. OVERVIEW..............................3 4. INSTALLATION .............................. 5 4.1. Electrical diagram ..........................5 4.2. Connectors ............................5 5. COMMISSIONING ............................7 5.1. NFC connectivity ........................... 7 5.2.
  • Page 3: Safety Precautions

    SB020100 - Smart Bridge LoRaWAN - MODBUS 2. SAFETY PRECAUTIONS General considerations: • Incorrect handling or installation of the unit may result in injury to personnel as well as damage to the unit or other equipment associated with the system.
  • Page 4: Overview

    SB020100 - Smart Bridge LoRaWAN - MODBUS 3. OVERVIEW Modbus protocol is one of the communication standards more extended in the industrial sector. It is easy to find many applications with devices which integrate this protocol like energy meters, programmable logic controllers (PLCs), sensors and so on.
  • Page 5 SB020100 - Smart Bridge LoRaWAN - MODBUS Figure 3. Status and configuration parameters can be obtained using the NFC technology in smartphones and SmatrBridge Tool app UMAOC003 Rev E USER MANUAL Page 4 of 38...
  • Page 6: Installation

    SB020100 - Smart Bridge LoRaWAN - MODBUS 4. INSTALLATION 4.1. Electrical diagram Figure 4. Diagram connection for SmartBridge in the RS485 Modbus Network 4.2. Connectors J8.1 J8.2 J8.3 J8.4 J8.5 Figure 5. Connectors location in SmartBridge circuit UMAOC003 Rev E...
  • Page 7 SB020100 - Smart Bridge LoRaWAN - MODBUS Connector Description Electrical value position J8.1 Not used J8.2 Not used J8.3 RS485 communication output – signal A From -7V to +12V J8.4 RS485 communication output – signal B From -7V to +12V J8.5...
  • Page 8: Commissioning

    SB020100 - Smart Bridge LoRaWAN - MODBUS 5. COMMISSIONING 5.1. NFC connectivity First step is to configure the equipment to register it in the LoRaWAN network and define the Modbus parameters which must be monitored by the SmartBridge. By default LoRaWAN communication and Modbus parameters are the values used during manufacturing process to guarantee SmartBridge works correctly for delivering to final customer.
  • Page 9: Setting Lorawan Communication Parameters

    SB020100 - Smart Bridge LoRaWAN - MODBUS 5.2. Setting LoRaWAN communication parameters 5.2.1. Understanding SmartBridge LoRaWAN profile class SmartBridge can be integrated in a LoRaWAN network as a class A device. It means the device implement a bi-directional communication profile in which the data sent by server only can be received by the node after performing an uplink transmission.
  • Page 10 SB020100 - Smart Bridge LoRaWAN - MODBUS Application EUI (AppEUI) This parameter is used in OTAA method. It identifies the application during JOIN request. The length is 8 bytes. Application KEY (AppKey) This parameter is used in OTAA method. It encrypts data during the JOIN request. The length is 16 bytes.
  • Page 11 SB020100 - Smart Bridge LoRaWAN - MODBUS Table for US915 DataRate Configuration Indicative physical bit rate [bit/s] SF10 / 125kHz SF9 / 125kHz 1760 SF8 / 125kHz 3125 SF7 / 125kHz 5470 (visit https://lora-alliance.org/resource-hub/lorawanr-regional-parameters-v102rb for other regions) Tx Power The output power can be adjusted according to tables below depending on the region (EU868, US915 or AS923).
  • Page 12: Modbus Parameters Settings

    SB020100 - Smart Bridge LoRaWAN - MODBUS Tx Port SmartBridge port for data transmission. Values from 1 to 223 Rx Port SmartBridge port for data reception. Values from 1 to 223 5.3 Modbus parameters settings 5.3.1 Modbus serial RTU protocol overview Modbus serial RTU is a half-duplex communication protocol which is based on request and answer.
  • Page 13 SB020100 - Smart Bridge LoRaWAN - MODBUS If Data Type is configured as 0 (Integer 16 bits) then the SmartBridge gets the value of the register defined by “Register address” setting. The value sent in the uplink frame is the same obtained from the slave device.
  • Page 14: Checking The Setup And Establishing First Communication

    SB020100 - Smart Bridge LoRaWAN - MODBUS Data format Data length, parity and stop bits defines the format of the Modbus communication data. The values allowed are shown in the table below. Format Data length Parity Stop bits 8 bits...
  • Page 15: Operation

    SB020100 - Smart Bridge LoRaWAN - MODBUS 6. OPERATION SmartBridge is a smart Modbus - LoRaWAN protocol adapter which is powered by batteries. To preserve the battery life, it is very important to reduce the power consumption when equipment is not carrying out any task, therefor the SmartBridge enters in sleep mode.
  • Page 16 SB020100 - Smart Bridge LoRaWAN - MODBUS Example 1 – all parameters enabled Figure 11. Modbus communication management example 1 Example 1 – parameters from 5 to 12 disabled Figure 12. Modbus communication management example 2 UMAOC003 Rev E USER MANUAL...
  • Page 17: Data Frame Formats

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7. DATA FRAME FORMATS 7.1. UPLINK FRAMES (FROM NODE TO SERVER) 7.1.1. UPLINK 00 (Reading Modbus parameters) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8...
  • Page 18 SB020100 - Smart Bridge LoRaWAN - MODBUS If parameter X was defined as type integer (16 bits) then the value of the parameter can be obtained in the way: vX_hi. High part (8 bits) of the value of the parameter X vX_lo.
  • Page 19: Uplink 01 (Reading Data Type And Address Of The Requested Group Of Modbus Registers)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.1.2. UPLINK 01 (Reading data type and address of the requested group of Modbus registers) After receiving the command from the server requesting the addresses of a group of registers SmartBridge will perform in 3 minutes an uplink with this info. The format of the payload is described below...
  • Page 20: Uplink 02 (Reading Slave Address And Function Of The Requested Group Of Modbus Registers)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.1.3. UPLINK 02 (Reading slave address and function of the requested group of Modbus registers) After receiving the command from the server requesting the slave addresses and the Modbus function of a group of registers SmartBridge will perform in 3 minutes an uplink with this info. The format of the payload is...
  • Page 21: Uplink 03 (Serial Modbus Rs485 Settings)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.1.4. UPLINK 03 (Serial Modbus RS485 settings) After receiving the command from the server requesting the Modbus serial communication settings SmartBridge will perform in 3 minutes an uplink with this info. The format of the payload is described below...
  • Page 22: Uplink 04 (Smartbridge Status)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.1.5. UPLINK 04 (SmartBridge status) After receiving the command from the server requesting the device status SmartBridge will perform in 3 minutes an uplink with this info. The format of the payload is described below...
  • Page 23: Downlink Frames (From Server To Node)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2. DOWNLINK FRAMES (FROM SERVER TO NODE) 7.2.1. DOWNLINK 01 (Configure Type data and Modbus Address register) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8...
  • Page 24: Downlink 02 (Configure Enable Parameter, Modbus Slave Address Device And Read Function)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.2. DOWNLINK 02 (Configure enable parameter, Modbus slave address device and read function) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte 9 byte 10...
  • Page 25: Downlink 03 (Configure Modbus Rs485 Settings)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.3. DOWNLINK 03 (Configure Modbus RS485 settings) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 bd_1 bd_2 bd_3 bd_4 tt. Type of frame (03 – Configure RS485 Modbus communication parameters) bd_1 –...
  • Page 26: Downlink 05 (Direct Modbus Command To Slave)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.4. DOWNLINK 05 (Direct Modbus command to slave) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte 9 byte 10 byte 11 tt. Type of frame (05 - Direct Modbus command to slave) nn.
  • Page 27: Downlink 06 (Configure Uplink Period)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.5. DOWNLINK 06 (Configure Uplink period) byte 1 byte 2 byte 3 tt_hi tt_lo tt. Type of frame (06 - Configure uplink time period) tt_hi. High part of the value to configure the slot time between uplinks tt_lo.
  • Page 28: Downlink 07 (Configure Time And Date For The Smartbridge)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.6. DOWNLINK 07 (Configure Time and Date for the SmartBridge) byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 tt. Link type of configuration (07. Time and date adjustment) hh.
  • Page 29: Downlink 08 (Next Data Request For Uplink)

    SB020100 - Smart Bridge LoRaWAN - MODBUS 7.2.7. DOWNLINK 08 (Next data request for uplink) byte 1 byte 2 byte 3 tt. Type of frame (08 - Next data request for uplink) nd. Data Type for next uplink:  00 - Read values from registers of the slave devices in the Modbus network ...
  • Page 30: Troubleshooting

    SB020100 - Smart Bridge LoRaWAN - MODBUS 8. TROUBLESHOOTING Problem Cause → Solution Device doesn’t work · Low battery or defective batteries → Replace batteries · Wrong battery replacement → Ensure battery polarity · SmartBridge in deep sleep mode → Tap the SmartBridge with a smartphone with NFC interface enabled.
  • Page 31: Maintenance And Technical Service

    SB020100 - Smart Bridge LoRaWAN - MODBUS 9. MAINTENANCE AND TECHNICAL SERVICE If the device is going to be switched off for a long time it is recommended to send “Reset Communications” command through Android application tool. If the SmartBridge is not able to join with any LoRaWAN network then after five attempts of joining the device will be enter in deep sleep mode.
  • Page 32 SB020100 - Smart Bridge LoRaWAN - MODBUS 1. Disconnect SmartBridge from external sensors 2. Remove screws from housing 3. Remove housing from the cover. Be careful with internal antenna cable and wire connectors 4. Connect communication cable to programming connector and press the reset button. GND pin cable must be connected in pin 1 of the circuit connector Figure 13.
  • Page 33: Technical Features

    SB020100 - Smart Bridge LoRaWAN - MODBUS 10. TECHNICAL FEATURES Power supply Type 2x Type C battery Voltage 3.6V Maximum pulse current 2500mA Capacity 2x 6000mAh Expected battery life 10 years (*) (*) Conditions:  5 uplinks transmissions per day ...
  • Page 34 SB020100 - Smart Bridge LoRaWAN - MODBUS NFC communication Frequency 13.56MHz Interface Passive NFC Memory access Read - allowed Write - allowed Internal sensor Housing temperature Range: -20ºC...+60ºC Resolution: 0.5ºC Modbus communication Type Modbus RTU Physical link RS485 2 wires (A - B) and shield connection optional...
  • Page 35: Product Regulations

    SB020100 - Smart Bridge LoRaWAN - MODBUS 11. PRODUCT REGULATIONS SmartBridge is a product in conformity with the following directives RED Directive (2014/53/EU) Emissions EN 301 489-3 Radiated Emissions EN 55032 V2.1. Immunity EN 301 489-3 Electrostatic discharges EN61000-4-2 V2.1.
  • Page 36: Trademarks

    SB020100 - Smart Bridge LoRaWAN - MODBUS 12. TRADEMARKS All referenced brands, product names, services names and trademarks are the property of their respective owners. UMAOC003 Rev E USER MANUAL Page 35 of 38...
  • Page 37: Guarantee

    SB020100 - Smart Bridge LoRaWAN - MODBUS 13. GUARANTEE AONCHIP guarantees its products against any manufacturing defect for two years after the delivery of the units. AONCHIP will repair or replace any defective factory product returned during the guarantee period.
  • Page 38: Document History

    SB020100 - Smart Bridge LoRaWAN - MODBUS 14. DOCUMENT HISTORY Rev. Date Changes 05-Aug-2019 First edition 08-Aug-2019 Included new functionality to get float values from the Modbus slaves 21-Jul-2020 Included new functionality. Modbus registers management up to 20 registers 24-Feb-2021...
  • Page 39: Contact Information

    SB020100 - Smart Bridge LoRaWAN - MODBUS 15. CONTACT INFORMATION For more information, please visit: http://www.aonchip.com For sales please send an email to: info@aonchip.com IOT AONCHIP S.L. CEMENTIRI VELL, 12 1 - 1, 08221 TERRASSA – BARCELONA, SPAIN web. www.aonchip.com,...

Table of Contents