![Dyacon Mi-Met WSD-1 Manual Download Page 15](http://html.mh-extra.com/html/dyacon/mi-met-wsd-1/mi-met-wsd-1_manual_2545884015.webp)
DYACON
®
, Inc
Modbus Commands
WSD contains a Modbus slave port, the Modbus host must request data from the sensor.
The following describes the Modbus commands and messages. The basic instructions should be
adequate for Modbus host programming. For embedded developers, additional protocol details are
contained in the Modbus Appendix.
The default configuration:
Modbus address
01
Serial Data Parameters 19200, 8-bit data, no parity, 1 stop bit
Supported Functions and Exception Codes
Function
Description
Supported Error and Exception codes*
3
Read Holding Register
0x83: 01, 02, 03, 04
4
Read Input Register
0x84: 01, 02, 03, 04
6
Write Single Register
0x86: 01, 02, 03, 04
16
Write Multiple Registers
0x90: 01, 02, 03, 04
* See Error Code table below for more information.
Sensor Data Requests
Address Register
Access Type
Response
Range
Data Type
Description
200
201
Read
0 to 15
16-bit Signed Int System Status†
201
202
Read
0 to 500
16-bit Signed Int Wind speed (m/s)
202
203
Read
0 to 3599
16-bit Signed Int Wind direction (°)
† See System Status Code section below.
* See Data Format section for numeric conversions.
Mi-Met WSD-1 Manual
15