28 - 70
71130/11E/0318
7.1.2 Commands (holding register)
All commands of the Weather station occupy 32bits, i.e. 2 MODBUS register addresses and
represent whole numbers with no leading sign except the TA command (64bit). The following
example illustrates changing the baud rate to 19200 baud, with permanent storing of parameter,
afterwards.
1. Set password for user level "ADMIN" (KY=4711)
Slave-
address
Function
code
Start
address
No. of
registers
No. of
byte(s)
Data
CRC
0x01
0x10
0x9C 49 0x00 02
0x04
0x00 00 12 67
0x83 B9
low-byte high-byte
2. Command to set baud rate to 19200 baud (BR=192)
Slave-
address
Function
code
Start
address
No. of
registers
No. of
byte(s)
Data
CRC
0x01
0x10
0x9C 45 0x00 02
0x04
0x00 00 00 C0
0xCE F6
low-byte high-byte
3. Storing of Parameter with Change-over to user-
level „READ ONLY“ (KY=0)
Slave-
address
Function
code
Start
address
No. of
registers
No. of
byte(s)
Data
CRC
0x01
0x10
0x9C 49 0x00 02
0x04
0x00 00 00 C0
0xCE F3
low-Byte high-Byte
7.1.3 Commands and descriptions
The following table shows the available commands and associated passwords for read and write:
Command
MODBUS
register address
Protocol address
Description
Password
Read
1
Write
2
Command AV
40015 / 14
Averaging interval for wind speed and wind
direction. 0..6000 (x100ms).
Without
Admin
Command BP
40031 / 30
Parität, s. Command
„BP“
Without
Admin
Command BR
40005 / 4
Baud rate (see Command "BR").
Without
Admin
Command CI
40013 / 12
Command interpreter
(see Command "CI").
Without
Admin
Command DM
40011 / 10
Duplex mode
(see Command "DM").
Without
Admin
Command HC
40023 / 22
Heating conditions.
Without
Admin
Command HS
40025 / 24
Height setting.
Without
Admin
Command HT
40027 / 26
Heating control.
Without
Admin
Command ID
40003 / 2
Identification number / slave address.
Without
Admin
Command KY
40009 / 8
Set key / password (admin = 4711).
Without
Without
Command MC
40029 / 28
Magnetic Compass correction, housing for
sensor(0..359°).
Without
Admin
Command NC
40017 / 16
North correction of the wind direction (0..359°) /
1000 = automatic direction correction acc. to
magnetic compass.
Without
Admin
Command RS
40253 / 252
Reset: 1 -> Warm start.
2 -> Daily total precipitation = 0.
Without
Admin
Command SH
40019 / 18
Station height (0...9000m).
Without
Admin
Command SN
40007 / 6
Serial number.
Without
Not permitted
Command SV
45005 / 5004
Software Version e.g.: 160 = V1.60.
Without
Not permitted
Command TZ
40021 / 20
Time zone (see Command "TZ").
Without
Admin
Table 5: List of commands
1
: Command without parameter (used to read the selected parameter).
2
: Command with parameter used to write a new parameter).