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.
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 ®...
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.
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...
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.
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...
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.
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.
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 ®...
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 ®...
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 ...
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.
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 ®...
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.
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...
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.
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)
Need help?
Do you have a question about the UC100 and is the answer not in the manual?
Questions and answers