Use this command to change communication settings.
Command format in ASCII and NMEA 0183:
aXU,A=x,M=x,C=x,I=x,B=x,D=x,P=x,S=x,L=x,H=x,O=x<cr><lf>
Command format in SDI-12:
aXXU,A=x,M=x,C=x,I=x,B=x,D=x,P=x,S=x,L=x,H=x,O=x!
| A, M, C, I, B, D, P, S, L, H, O | The communication setting fields. |
| x | Input value for the setting |
| <cr><lf> | Command terminator in ASCII and NMEA 0183 |
| ! | Command terminator in SDI-12 |
|
When changing the serial interface and communication protocol, note the following: Each serial interface requires its specific wiring and/or jumper settings. Change first the serial interface field C and then the communication protocol field M. Changing the serial interface to SDI-12 (C=1) automatically changes the baud settings to 1200, 7, E, 1 and the communication protocol to SDI-12 (M=S). |
| Reset the transmitter to validate the changes of communication parameters by disconnecting the service cable or using the reset command aXZ. |
Example (ASCII and NMEA 0183, device address 0):
Changing the device address from 0 to 1:
0XU,A=1<cr><lf>
1XU,A=1<cr><lf>
Checking the changed settings:
1XU<cr><lf>
1XU,A=1,M=P,T=1,C=2,I=0,B=19200,D=8,P=N,S=1,L=25, N=WXT530V=1.0,H=0,O=1<cr><lf>
Example (ASCII, device address 0):
Changing RS-232 serial interface with ASCII, polled communication protocol and baud settings 19200, 8, N, 1 to RS-485 serial interface with ASCII, automatic protocol and baud settings 9600, 8, N, 1.
Checking the settings:
0XU<cr><lf>
0XU,A=0,M=P,C=2,I=0,B=19200,D=8,P=N,S=1,L=25,N=WXT530, V=1.0,H=0,O=1<cr><lf>
| You can change several parameters in the same command as long as the command length does not exceed 32 characters (including command terminator characters ! or <cr><lf>).You do not have to type setting fields you do not wish to change. |
Changing several settings with one command:
0XU,M=A,C=3,B=9600<cr><lf>
0XU,M=A,C=3,B=9600<cr><lf>
Checking the changed settings:
0XU<cr><lf>
0XU,A=0,M=A,T=1,C=3,I=0,B=9600,D=8,P=N,S=1,L=25, N=WXT530,V=1.0,H=0,O=1<cr><lf>