Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The Gateway needs a dedicated IP address on the same VLAN as the Modbus automate. It can be set up as DHCP or static IP.
The default configuration is static IP:
address:
192.168.1.100
netmask:
255.255.255.0
gateway:
192.168.1.1
The Gateway should be synchronized to a NTP server in order to have valid timestamps of the Lora payload.
The default NTP servers configured are 0.pool.ntp.org and 1.pool.ntp.org, however this won't be valid if the Gateway doesn't have internet access.
...
The device must be declared in µWiotys with following parameters:
Device EUI (DevEUI)
Application Type (OTAA/ABP)
Application EUI (AppEUI)
Application key (AppKey)
Manufacturer model reference (see list device)
Modbus Slave number [1 to 200]
Only class A and C devices are supported. OTAA configuration is the default configuration. All advanced Lora LoRa parameters are managed by Wi6labs.
...
µWiotys supports write single register (function code 6) only for several register registers (see Modbus table )
Note |
---|
Writing register will trigger LoRaWAN downlink. Please kindly wait ~10s between each command in order to avoid radio collision. |
Note that our µWiotys Modbus registers are formatted with Big-Endian Modbus Representation & 0 - Based Registery
Common table
All slaves share a common table with these informations:
DevEUI
Reference ID
Last timestamp
Measurement table
The Measurement table is specific to each device type (Temperature, Industrial,...) without any differences between manufacturer. The data specific to each device type (temperature, voltage,...) will only be available after the first Lora payload is received and will be updated with each new payload.
All the register information is defined in modbus dictionary.
Type of value used
Data type | register size | description | range |
---|---|---|---|
U16 | 1 | unsigned integer | [ 0 : 65 535 ] |
U32 | 2 | unsigned integer word swapping | [ 0 : 4 294 967 295 ] |
U64 | 4 | unsigned integer word swapping | [ 0 : 18 446 744 073 709 551 615 ] |
S16 | 1 | signed integer | [ -32 768 : +32 767 ] |
S32 | 2 | signed integer word swapping | [ -2 147 483 648 : +2 147 483 647 ] |
S64 | 4 | signed integer word swapping | [ -9 223 372 036 854 775 808 : +9 223 372 036 854 775 807 ] |
floatFloat (F64/F32) | 2 | Floating point byte swapping non-swap (abcd) | NA |
To read float, see an exemple at FAQ.
...
Byte order representation
Swap Mode | Source 4-Byte | Target Bytes | Modbus Register Order | |||||||
N/A | [ a b c d ] | [ a b ][ c d ] | => Wi6labs format from v3.5.0 |
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Common table
All slaves share a common table with these informations:
DevEUI
Reference ID
Last timestamp
Measurement table
The Measurement table is specific to each device type (Temperature, Industrial,...) without any differences between manufacturer. The data specific to each device type (temperature, voltage,...) will only be available after the first Lora payload is received and will be updated with each new payload.
All the register information is defined in modbus dictionary.
BACnet
µWiotys supports BACnet protocol (from version 3.4.0).
...
There are no specific operation to do to add a new sensor for BACnet. You can use the Online support interface (https://app.uwiotys.com/index.php/device/list ) to create your infrastructure.
Only Analog input (AI) and Analog values (AV) are currently supported.
...