Wireless Sensor System
Appendix A
Data from the sensors is mapped as follows in the gateway.
Data Arrays
The gateway is capable of supporting multiple protocols depending on the specific module that is used and how it is configured.
Parameter
Configuration Port
COMM_CHANNEL
Communication channel of system
COMM_NET_ID
Communication network ID of system
ACTIVE_SENSORS
Number of sensors active in system
SENSORS_WITH_LOW_BATTERY
Number of sensors that are sending a low battery signal
REPEATER_MODE
“1” means gateway is set as a repeater
TIMEOUT_CONFIG
Value (minutes) of timeout setting; “0” means mode is disabled
SENSORS_IN_TIMEOUT
Number of sensors currently in timeout, if mode enabled
SOFTWARE_VERSION
Version of gateway software
Nx_PWR
Battery voltage, or RSSI of RF powered sensors
Nx_DELTA_T
Time (seconds) since the last packet was received
Nx_S1
Sensor input 1
Nx_S2
Sensor input 2
Nx_S3
Sensor input 3
Nx_S4
Sensor input 4
Nx_S5
Sensor input 5
Nx_S6
Sensor input 6
Nx_S7
Sensor input 7
Nx_S8
Sensor input 8
Nx_TXID
Transmitter ID (only valid in RF powered sensors)
Array
Starting Address Length
Type
Description
TXID
30001
100
Integer
Transmitter ID - only used for RF-powered nodes
PWR
30101
100
Integer
Battery voltage, displayed as 2-digit integer (e.g. 3.6V = 36, 5.4V =
54) or RSSI (1-5) or received RF-power.
SECS
30201
100
Integer
Time (seconds) since last update. This is refreshed at 10 second
intervals in groups of 10 (e.g. 1-10, 11-20, 21-30, etc.).
S1
30301
100
Integer
Sensor input 1, scaled up 10X
S2
30401
100
Integer
Sensor input 2, scaled up 10X
S3
30501
100
Integer
Sensor input 3, scaled up 10X
S4
30601
100
Integer
Sensor input 4, scaled up 10X
S5
30701
100
Integer
Sensor input 5, scaled up 10X
S6
30801
100
Integer
Sensor input 6, scaled up 10X
S7
30901
100
Integer
Sensor input 7, scaled up 10X
S8
31001
100
Integer
Sensor input 8, scaled up 10X
STATUS
31101
100
Integer
Gateway Status Parameters,, not used in this demo
Note - “x” is a number from 1 – 100, corresponding to the each sensor node in the system. A BACnet object is defined for all
nodes, regardless of whether or not they are active in the system.
MODBUS Register Map
The Sensor ID is the index in the arrays listed above. For example, to find the S1 data for Sensor 15, go to address 30315
- 22 -