You can change the following settings:
- Parameters included in the wind data message
- Update interval
- Averaging time
- Wind speed max/min calculation mode
- Speed unit
- Direction offset
- NMEA wind formatter
Change the settings with the following command.
Command format in ASCII and NMEA 0183:
aWU,R=x,I=x,A=x,G=x,U=x,D=x,N=x,F=x<cr><lf>
Command format in SDI-12:
aXWU, R=x,I=x,A=x,G=x,U=x,D=x,N=x,F=x!
| R, I, A, G, U, D, N, F | Wind sensor setting fields. |
| x | Value for the setting |
| <cr><lf> | Command terminator in ASCII and NMEA 0183 |
| ! | Command terminator in SDI-12 |
| If averaging time [A] is greater than update interval [I], it is a multiple of the update interval and at maximum 12 times greater. Example: If I = 5 s, Amax = 60 s. |
Examples (ASCII and NMEA 0183, device address 0):
You need a 20-second averaging time for wind speed and direction both in wind data and composite data message in every 60 seconds. Wind speed is in knots and wind direction offset +10°.
Changing the measurement interval to 60 seconds:
0WU,I=60<cr><lf>
0WU,I=60<cr><lf>
| Several parameters can be changed with the same command as long as the command length does not exceed 32 characters. |
Changing the averaging time to 20 seconds, the wind speed unit to knots, and direction offset to +10°:
0WU,A=20,U=N,D=10<cr><lf>
0WU,A=20,U=N,D=10<cr><lf>
Changing the wind parameter selection:
0WU,R=0100100001001000<cr><lf>
0WU,R=01001000&00100100<cr><lf>
| Character '&' is not allowed in the command. |
The wind message response after the change above:
0R1<cr><lf>
0R1,Dm=268D,Sm=1.8N<cr><lf>
Example (SDI-12, device address 0):
Changing the measurement interval to 10 seconds:
0XWU,I=10!0<cr><lf>
In SDI-12 mode a separate enquiry (0XWU!) must be given to check the data.