Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
styledefault
typelist
printablefalse

...

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 LoRaWAN 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.

...

81

Fonction

Port

Modbus

502

BACnet

47808

FTP configuration

2222

Web configuration

80

Application HTTP

Specific port to each application

Support Wi6labs (blue star)

Support Wi6labs (blue star)

22 and 4443

Panel
panelIconIdatlassian-blue_star
panelIcon:blue_star:
panelIconText:blue_star:
bgColor#DEEBFF

Support ports are only used if you need a remote support session from Wi6labs support team

LoRaWAN devices

The device must be declared added in µWiotys with the following parameters:

  • Device EUI (DevEUI)

  • Application Device Activation 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 parameters are managed by Wi6labs.See FTP configuration for LoRaWAN device provisioning.

Once the configuration is loaded on the Gateway, all devices and corresponding Modbus tables will initialise after reboot.

...

µWiotys supports write single register (function code 6) only for several registers (see Modbus table )

Note

Writing register will trigger LoRaWAN downlink. Please kindly wait ~10s between each command in order to avoid radio collision.

...

To read float, see an exemple at FAQ.

Byte order representation

...

Expand
titleDetail of Byte order and Big-Endian representation

Swap Mode

Source 4-Byte

Target Bytes

 

N/A

[ a b c d ]

[ a b ][ c d ]

=> Wi6labs format

Swap Byte

[ a b c d ]

[ b a ][ d c ]

 

Swap Word

[ a b c d ]

[ c d ][ a b ]

Swap Byte and Word

[ a b c d ]

[ d c ][ b a ]

=> Representation of Float < v3.5.0


Info

1 word/register Modbus = 2 bytes (16 bits)

(MSB)

Big-Endian Modbus Representation

(LSB)

Byte

7

6

5

4

3

2

1

0

Modbus Register Order

a

b

c

d

...

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.

...