Uplink Data
This chapter describes the reported data of the device.
Basic Information
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Power On | ff | 0b | 1 | Device is on |
| Protocol Version | ff | 01 | 1 | Example: 01=V1 |
| Hardware Version | ff | 09 | 2 | Example: 03 10 = V3.1 |
| Software Version | ff | 0a | 2 | Example: 03 01 = V3.1 |
| Device Type | ff | 0f | 1 |
00: Class A, 01: Class B, 02: Class C, 03: Class C to B |
| Serial Number | ff | 16 | 8 | 16 digits |
| TSL Version | ff | ff | 2 | Example: 01 00=>V1.0 |
|
Reset Event |
ff | fe | 1 | ff, only report when the device resets |
|
ff0bff ff0101 ffff0201 ff166445b43411300001 ff090200 ff0a0101 ff0f02 |
||
|---|---|---|
| Channel | Type | Value |
| ff | 0b | Power On: ff |
| ff | 01 | Protocol Version: 01 = V1 |
| ff | ff | TSL version: 0101 = V1.1 |
| ff | 16 | Device SN: 6445B43411300001 |
| ff |
09 |
Hardware Version: 0200 = V2.0 |
| ff |
0a |
Firmware Version: 0101 = V1.1 |
| ff |
0f |
Device Type: 02: Class C |
Periodic Report
| Item | Channel | Type | Byte | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Modbus Channel | f9 | 73 | 3~10 |
Channel ID (1B, 0-31) + Data Type (1B) + Data (Mutable) Data Type: Bit 7: 0 = unsigned, 1 = signed Bit 6-5: 00 = first register, 01 = second register Bit 4-0:
|
||||||||||||||||||||||||||||||||||
|
Collection Exception |
ff | 15 | 1 |
Channel ID of failed Modbus collection. Range: 0-31 |
|
Channel ID |
Description |
|---|---|
|
00 |
RS485 (Modbus Master) Channel 1 |
| 01 |
RS485 (Modbus Master) Channel 2 |
| ... | ... |
| 1f |
RS485 (Modbus Master) Channel 32 |
- Example:
-
- No Modbus channel.
ff0bff Channel Type Value ff 0b (Power On) ff -
Fail to fetch Channel1 data.
ff1500 Channel Type Value ff 15 00 = Channel 1
-
Succeed to fetch Channel2 first register's data.
f973 0182 ceff
Channel Type Channel ID Data Type Value f9 73 01 = Channel 2 82 => 1000 0010
100: Unsigned first register
00010: Input16
ce ff => ff ce = -50
- No Modbus channel.
|
Register Address |
Value (Hex) |
|---|---|
| 0 | 00 15 |
| 1 | 00 20 |
| 2 | 00 25 |
| 3 | 00 30 |
|
Data Type |
Byte Order |
Fetch Result |
Uplink (HEX) |
|---|---|---|---|
|
Holding/Input Register (INT16) |
AB |
21 (0x15) |
15 00 (BA) |
| BA |
5376 (0x1500) |
00 15 (AB) |
|
|
Holding/Input Register (INT32) |
ABCD |
1376288 (0x00150020) |
20 00 15 00 (DCBA) |
|
CDAB |
2097173 (0x00200015) |
15 00 20 00 (BADC) |
|
|
BADC |
352329728 (0x15002000) |
00 20 00 15 (CDAB) |
|
|
DCBA |
536876288 (0x20001500) |
00 15 00 20 (ABCD) |
|
|
Holding/Input Register (INT32 with upper 16 bits) |
/ |
21 (0x15) |
15 00 00 00 |
|
Holding/Input Register (INT32 with lower 16 bits) |
/ |
32 (0x20) |
20 00 00 00 |
| Holding/Input Register (INT64) | ABCDEFGH | 5911111952302128 (0x0015002000250030) |
30 00 25 00 20 00 15
00 (HGFEDCBA) |
| GHEFCDAB | 13510957797998613 (0x0030002500200015) |
15 00 20 00 25 00 30 00 (BADCFEHG) |
|
| BADCFEHG | 1513244659789344768 (0x1500200025003000) |
00 30 00 25 00 20 00 15 (GHEFCDAB) |
|
| HGFEDCBA | 3458805196287644928 (0x3000250020001500) |
00 15 00 20 00 25 00
30 (ABCDEFGH) |
Alarm Report
UC100 supports to report Modbus channel threshold alarms, change alarms or custom messages via command settings.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Modbus Channel Alarm | f9 | 73 | 3~10 |
Alarm Type (1B) + Data Type (1B) + Data (Mutable) Alarm Type: Bit 7-6: 01=Threshold alarm, 10=Threshold Alarm release, 11=Change alarm Bit 5-0: Channel ID, range: 0-31 Data Type: Bit 7: 0 = unsigned, 1 = signed Bit 6-5: 00 = first register, 01 = second register Bit 4-0: see Data Type |
|
Modbus Channel Change Alarm Value |
f9 | 74 | 9 |
Byte 1: Bit7-6: 00 = first register, 01 = second register Bit5-0: Channel ID, range: 0-31 Byte 2-9: Change Value (double) |
| Custom Message | - | - | 1-48 | Hex to ASCii |
- Example:
-
-
Channel16 data reaches the threshold.

f9 73 4f 85 0040 21c5 Channel Type Channel & Alarm Type Data Type Value f9 73 4f => 01001111 01=Threshold alarm
001111: Channel 16
85 => 10000101 100: signed first register
00101: Hold_float
0040 21c5=> c521 4000=-2580 - Channel32 threshold alarm release.
f973 9f 8f 66666666c687c3c0 Channel Type Channel & Alarm Type Data Type Value f9 73 9f => 10011111 10=Threshold Alarm release
011111: Channel 32
8f => 10001111 100: signed first register
01111: Input_double
6666 6666 c687 c3c0 => -9999.55 - Channel1 first's register change alarm.
f974 43 00000000008040c0
f973c0030f00 f974000000000000002440
Channel Type Value f9 73 Alarm Type & Channel: c0=>11 000000, 11=Change alarm, 000000=>0=Channel 1 Data Type: 03=>0 00 00011=Unsigned, first register, Hold16
Value: 0f 00=>00 0f=15
f9 74 Register & Channel: 00 => 00 000000, 00=First register, 000000=>0=Channel 1 Change Value: 00 00 00 00 00 00 24 40=>40 24 00 00 00 00 00 00 =10 (Hex to double)
- Custom message.
74 65 73 74 Value 74 65 73 74=> t e s t (Hex to ASCii)
-
Historical Data
| Item | Channel | Type | Byte | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Modbus Channel | 21 | ce | 23 | Byte 1-4: Data unix
timestamp, UINT32, Unit: s Byte 5: Channel ID, Range: 0-31 Byte 6-7: Ctrl
Byte 8-15: Value 1 Byte 16-23: Value 2 |
||||||||||||||
| Custom Message | 21 | cd | 4+N | Byte 1-4: Data unix
timestamp, UINT32, Unit: s Byte 5-N: Message content (Hex to ASCii) |
- Example:
-
- Historical Modbus channel data.
21ce 0d755b63 01 8085 1400000000000000 ddff000000000000
Channel Type Time Stamp
Value
21 ce 0d 75 5b 63 => 63 5b 75 0d=1666938125s 01: Channel 2
Crtl: 8085 => 1 000010 110000000
Bit15: 1=>signed
Bit14-9: 000010 => 02=Input16_AB
Bit8: 1=> Fetch success
Bit7-6:10 = Two registers
Bit5-4:00 => Normal Data
Value 1: 14 00 00 00 00 00 00 00=>00 00 00 00 00 00 00 14=>20
Value 2: dd ff 00 00 00 00 00 00=>00 00 00 00 00 00 ff dd => -35
- Historical custom message.
21cd97e4656874657374 Channel Type Time Stamp Value 21 cd 97 e4 65 68=>68 65 e4 97=1751508119s 74 65 73 74=> t e s t (Hex to ASCii)
- Historical Modbus channel data.