Professional Documents
Culture Documents
Input registers
13/12/15
Address
ofset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Access
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
ro
Register name
humidity sensor temperature
pressure sensor temperature
pressure [15..0]
pressure [31..16]
humidity
wind dirrection
wind speed
rain
lighting status
lighting cnt
AIN1
AIN2
Vmon
state
time [15..0]
time [31..16]
min. humidity sensor temperatu
max. humidity sensor temperat
avg. humidity sensor temperatu
raw humidity sensor temperatu
min. pressure sensor temperat
max. pressure sensor temperatu
avg. pressure sensor temperatu
res1
raw press. temp. [15..0]
raw press. temp. [31..16]
min. pressure [15..0]
min. pressure [31..16]
max. pressure [15..0]
max. pressure [31..16]
avg. pressure [15..0]
avg. pressure [31..16]
raw pressure [15..0]
raw pressure [31..16]
min. humidity
max. humidity
avg. humidity
raw humidity
min. wind speed
max. wind speed
avg. wind speed
res2
raw wind frequency [15..0]
raw wind frequency [31..16]
avg. wind dirrection
raw wind dirrection
raw rain
min. AIN1
max. AIN1
avg. AIN1
raw AIN1
min. AIN2
max. AIN2
avg. AIN2
raw AIN2
raw Vmon
Type
Example
reading/value
23.12C
2312
2312
23.12C
Unit
i16
i16
0.01C
0.01C
u32
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
1Pa
0.01%
0.01
0.01ms-1
*
HEX
dimensionless
*
*
0.01V
*
u32
i16
i16
i16
u16
i16
i16
i16
u16
1s
0.01C
0.01C
0.01C
HEX
0.01C
0.01C
0.01C
*
u32
HEX
u32
0.001Pa
u32
0.001Pa
u32
0.001Pa
u32
u16
u16
u16
u16
u16
u16
u16
u16
HEX
0.01%
0.01%
0.01%
HEX
0.01ms-1
0.01ms-1
0.01ms-1
*
u32
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
u16
HEX
0.01
HEX
*
*
*
*
*
*
*
*
HEX
HEX
100123
5000
27521
123
*
100123Pa
50.00%
275.21
1.23ms-1
*
*
12
*
*
*
12
*
*
523
5.23V
1 of 8
hardware no.
firmware no.
u16
u16
*
*
u32
u16
u16
*
*
*
config 0 [32..0]
u32
config 1 [32..0]
period
command
reserve
reserve
u32
u16
u16
u16
u16
Time [32..0]
c0
c1
c2
c3
c4
c5
u32
u16
u16
u16
u16
u16
u16
*
*
*
*
*
Seconds after
1.1.1970
*
*
*
*
*
*
kt1[0]
f32
kt1[1]
f32
kt1[2]
f32
kt1[3]
f32
kt1[4]
f32
krh[0]
f32
krh[1]
f32
krh[2]
f32
ktrh[3]
f32
krh[4]
f32
kp[0]
f32
kp[1]
f32
kp[2]
f32
kp[3]
f32
kp[4]
f32
purpose
System
Configuration
Unit
pressure sensor
factory
calibration
constants
Type
pressure sensor
temperature
calibration constants
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Register name
humidity sensor
temperature
calibration constants
Access
pressure sensor
calibration constants
Holding registers
13/12/15
Address
ofset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
2 of 8
label
i16
u16
i32
u32
f16
f32
f64
f32
kt1[1]
f32
kt1[2]
f32
kt1[3]
f32
kt1[4]
f32
kws[0]
f32
kws[1]
f32
kws[2]
f32
kws[3]
f32
kws[4]
kwd[0]
kwd[1]
f32
u16
u16
*
*
*
krn[0]
f32
krn[1]
f32
kain1[0]
f32
kain1[1]
f32
kain2[0]
f32
kain2[1]
f32
kvmon[0]
f32
kvmon[1]
f32
humidity sensor
calibration constants
kt1[0]
wind speed
calibration constants
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
wind direction
calibration
rain sensor
calibration
constant
voltage
AIN2
AIN1
monitor
calibration calibration
calibration
constant constant
constants
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Comment
signed short 16bit
unsigned short 16bit
signed long 32bit
unsigned long 32bit
half-precision float (IEEE 754-2008 standard)
float 32bit (IEEE 754 standard)
double 64bit (IEEE 754 standard)
Weather stations designed by Barani Design feature MODBUS ASCII, MODBUS RTU and Y-modem communication protocol for
high speed sensor data transfer.
13/12/15
3 of 8
bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Register
name
bit
USART setup
Register
name
Lighting status
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
13/12/15
Comment
*
*
*
*
*
Comment
Baudrate 0..32
vis. Next table
Parity
Stop Bits
*
*
*
*
*
*
*
*
4 of 8
bit
Modbus setup
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Register
name
bit
Status
Register
name
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
13/12/15
Comment
Baudrate 0..32
vis. Next table
Parity
Stop Bits
Modbus address
1..127
(1 - default)
Comment
New data sample aviable (set if new measurement
New data aviable (set if new data block measuremend
Humidity sensor not responding
Pressure sensor not responding
Pressure sensor not responding
Humidity sensor not responding
Wind Direction Sensor reading error
Wind speed overflow
Lightning sensor reading error
Analog input 1 error
Analog input 2 error
Vmon input error
*
*
*
*
5 of 8
Register
name
bit
Comment
Writing code to tdis register switch to binary protocol
Code id unsigned 16bit nubmer, value not specified yet
Command
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Register
name
bit
Comment
config 0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
13/12/15
6 of 8
Register
name
bit
config 1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Comment
avg. wind dirrection (wd_awg)
raw wind dirrection (wd_raw)
raw rain (rain_raw)
min. AIN1 (ain1_min)
max. AIN1 (ain1_max)
avg. AIN1 (ain1_avg)
raw AIN1 (ain1_raw)
min. AIN2 (ain2_min)
max. AIN2 (ain2_max)
avg. AIN2 (ain2_avg)
raw AIN2 (ain2_raw)
raw Vmon (vmon_raw)
state flags for internal sensors
value
Comment
command
0x0000 ACCEPTED
0x0001 SET_TIME
0x0002 RESTORE_DEFAULT
0x0003 SWITCH_TO_CLI
0x0004 SAVE_CONFIG
0x0005 LOAD_CONFIG
0x0006 SAVE_CALIB
0x0007 LOAD_CALIB
0x0008 SAVE_MODBUS
0x0009 LOAD_MODBUS
0x000A SAVE_CLI
0x000B LOAD_CLI
0x000C RESET
0x000D CLEAR_CALIB
0xA5A5 CMD_FAILED
0XFFFF CMD_UNKNOWN
Weather stations designed by Barani Design feature MODBUS ASCII, MODBUS RTU and Y-modem communication protocol
for high speed sensor data transfer.
13/12/15
7 of 8
13/12/15
8 of 8