Milesight UC100 User Manual

Milesight UC100 User Manual

Iot controller
Hide thumbs Also See for UC100:

Advertisement

Quick Links

IoT Controller
Featuring LoRaWAN
®
UC100
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Milesight UC100

  • Page 1 IoT Controller Featuring LoRaWAN ® UC100 User Guide...
  • Page 2 The device must never be subjected to shocks or impacts.  Declaration of Conformity UC100 is in conformity with the essential requirements and other relevant provisions of the CE, FCC, and RoHS. Copyright © 2011-2024 Milesight. All rights reserved. All information in this guide is protected by copyright law. Whereby, no organization or individual shall copy or reproduce the whole or part of this user guide by any means without written authorization from Xiamen Milesight IoT Co., Ltd.
  • Page 3 Revision History Date Doc Version Description May 27, 2022 V 1.0 Initial version Add active pass-through feature and two-way Dec. 5, 2022 V 1.1 pass-through feature on RS485 1. Add data storage and retransmission feature 2. Increase to 32 Modbus channels Jan 24, 2024 V 1.2 3.
  • Page 4: Table Of Contents

    4.2 LoRaWAN Settings ........................8 4.3 General Settings ........................11 4.4 RS485 Settings ........................12 4.5 IF-THEN Command ....................... 15 4.6 Milesight D2D Settings ......................17 4.7 Data Storage .......................... 19 4.8 Data Retransmission ......................20 4.9 Maintenance .......................... 21 4.9.1 Upgrade ........................21 4.9.2 Backup .........................22...
  • Page 5: Product Introduction

    1. Product Introduction 1.1 Overview UC100 is an IoT controller used for remote control and data acquisition from Modbus RS485 devices via LoRaWAN ® networks. It can read up to 32 Modbus RTU devices and support Modbus transparent transmission between server and RS485 devices as a Modbus to LoRaWAN ®...
  • Page 6: Hardware Overview

    2.4 Dimensions (mm) Device Installation UC100 device can be placed on a desktop or mounted to a wall. 1. Take off the back cover of UC100 device, and fix the wall plugs into the wall according to the drilling position as referred.
  • Page 7: Operation Guide

    4.1 Log in the ToolBox 1. Download ToolBox software from Milesight website. 2. Power on the UC100 device, then connect it to computer via the type-C port. 3. Open the ToolBox and select type as General, then click password to log in ToolBox. (Default...
  • Page 8: Lorawan Settings

    4. After logging in the ToolBox, you can change device settings. 4.2 LoRaWAN Settings LoRaWAN settings are used for configuring the transmission parameters in LoRaWAN ® network. Basic LoRaWAN Settings: Configure join type, App EUI, App Key and other information. You can also keep all settings by default.
  • Page 9 Parameters Description Device EUI Unique ID of the device on the label. App EUI Default App EUI is 24E124C0002A0001. Application Port The port is used for sending and receiving data, the default port is 85. Working Mode Fixed as Class C. Join Type OTAA and ABP modes are available.
  • Page 10 1) Please contact sales for device EUI list if there are many units. 2) Please contact sales if you need random App keys before purchasing. 3) Select OTAA mode if you use Milesight IoT Cloud to manage devices. 4) Only OTAA mode supports rejoin mode.
  • Page 11: General Settings

    If the frequency is one of CN470/AU915/US915, enter the index of the channel that you want to enable in the input box, making them separated by commas. Examples: 1, 40: Enabling Channel 1 and Channel 40 1-40: Enabling Channel 1 to Channel 40 1-40, 60: Enabling Channel 1 to Channel 40 and Channel 60 All: Enabling all channels Null: Indicates that all channels are disabled...
  • Page 12: Rs485 Settings

    UC100 supports to set up communications with RS485 via two ways: Modbus channels or Modbus RS485 bridge LoRaWAN ® Basic Serial Settings: UC100 has one RS485 port for Modbus RTU device connection. The basic serial settings should be the same as RS485 terminal devices.
  • Page 13 Max Retry Times terminal devices. Modbus Channels: UC100 supports to work as a Modbus RTU Client (Master) to poll the data from the RS485 device and return the data to the network server. Click to add Modbus channels, then save configurations.
  • Page 14 Modbus RS485 bridge LoRaWAN ® UC100 supports to work as a relay to set up the communication between the server and RS485 devices. There are two pass-through modes: Active Pass-through: the network server can send any command to the RS485 device and the RS485 device can only react according to server commands.
  • Page 15: If-Then Command

    One device can be added 16 commands at most. 1. Go to the Command page, and click “Edit” to add commands. 2. Set an IF condition based on the terminal device data or UC100 device status. Condition Description When the value of a Modbus channel, reaches the condition.
  • Page 16 Set lockout time: after the lockout time, UC100 will check if the value still reaches the threshold and matches the condition. 0 means this condition will only be detected once. The time interval of value change: the change value should last for some time.
  • Page 17: Milesight D2D Settings

    Milesight devices without a gateway. When the Milesight D2D setting is enabled, UC100 can work as a Milesight D2D controller to send control commands to other devices or work as a Milesight D2D agent to receive commands to trigger a reboot or message to the network server.
  • Page 18 When the RS485 channel triggers, UC100 can work as Milesight D2D controller to send a control command to control the Milesight D2D agent device. The command should be a 2-byte hexadecimal number. When UC100 receives a Milesight D2D command, it can work as a Milesight D2D agent to reboot the device, send a LoRaWAN ®...
  • Page 19: Data Storage

    4.7 Data Storage UC100 supports storing 1000 pieces of data locally and export data via ToolBox. The device will record the data according to reporting interval even not joining to network. 1. Go to Status page to click Sync to sync the device time or select LoRaWAN ®...
  • Page 20: Data Retransmission

    4. Click Clear to clear all stored data inside the device as required. 4.8 Data Retransmission UC100 supports data retransmission to ensure the network server can get all data even if network is down for some times. There are two ways to get the lost data: Network server sends downlink commands to enquire the historical data for specifying time ...
  • Page 21: Maintenance

    2) If the network is disconnected again during data retransmission, it will only send the latest disconnection data. 3) UC100 supports to send downlink commands to enquire the historical data for specifying time range, refer to Historical Data Enquiry.
  • Page 22: Backup

    Note: Any operation on ToolBox is not allowed during upgrading, otherwise the upgrading will be interrupted, or even the device will break down. 4.9.2 Backup UC100 devices support configuration backup for easy and quick device configuration in bulk. Backup is allowed only for devices with the same model and LoRaWAN ®...
  • Page 23: Reset To Factory Default

    4.9.3 Reset to Factory Default Please select one of following methods to reset device: Via Hardware: Open the case of UC100, and hold the reset button for more than 10s until the LED blinks. Via ToolBox Software: Go to Maintenance > Backup and Reset to click Reset.
  • Page 24: Modbus Channel Data

    64 45 B4 34 11 30 00 01 09 (Hardware Version) 0100 (V1.0) 0a (Software Version) 0101 (V1.1) 5.2 Modbus Channel Data UC100 reports RS485 sensor data which are fetched by Modbus channels according to reporting interval (20 mins by default). Item Channel Type Byte...
  • Page 25 Channel ID Description RS485 (Modbus Master) Channel 1 RS485 (Modbus Master) Channel 2 RS485 (Modbus Master) Channel 3 RS485 (Modbus Master) Channel 32 Examples: 1. No Modbus Channel. ff0bff Channel Type Value 0b (Power On) 2. Fail to fetch Channel1 data. ff 15 00 Channel Type...
  • Page 26: Modbus Channel Alarm

    20 00 00 00 with lower 16 bits) 5.3 Modbus Channel Alarm UC100 supports to report Modbus channel alarm packets if a Modbus channel value reaches the condition. Note: when data type is coil or discrete, the device will not report the alarm packet.
  • Page 27: Downlink Command

    03 => Hold 05 00 => 000010= 2 bytes 00 5 = 5 02 => Channel 3 5.4 Downlink Command UC100 supports downlink commands to configure the device. The application port is 85 by default. Item Channel Type Description Reporting Interval...
  • Page 28 Discrete Input16_AB Input16_BA Input32_ABCD Input32_BADC Input32_CDAB Input32_DCBA Input32_AB Input32_CD Input_float_ABCD Input_float_BADC Input_float_CDAB Input_float_DCBA Hold16_AB Hold16_BA Hold32_ABCD Hold32_BADC Hold32_CDAB Hold32_DCBA Hold32_AB Hold32_CD Hold_float_ABCD Hold_float_BADC Hold_float_CDAB Hold_float_DCBA Delete Modbus Channel 00+Channel ID (1B) 02+Channel ID (1B) + Name Length Mobus Channel Name (1B) + Name (Mutable) Note: Channel ID in downlink commands is different from uplinks: Channel ID...
  • Page 29: Historical Data Enquiry

    Hex to ASCii: 74 65 73 74 36 => t e s t 6 5.5 Historical Data Enquiry UC100 supports sending downlink commands to enquire historical data for specified time point or time range. Before that, ensure the device time is correct and data storage feature was enabled to store the data.
  • Page 30 Reply format: Channel Type Description 00: data enquiry success 6b/6c 01: time point or time range invalid 02: no data in this time or time range Data time stamp (4B) + Channel ID (1B) + Ctrl ce (Modbus Channel) (1B) + Data (4B) Data time stamp (4B) + Data Length (1B) + Data cd (Custom Message) (Mutable)
  • Page 31 Channel) 2024/01/18 Crtl: 3a => 0011 1010 15:47:00 Bit1=1=> Fetch success Bit6-2 => 01110 = 0e=Hold16_AB Data: 15000000=>00 00 00 15=21 -END-...

Table of Contents