MWS 9-5e.p65 Page 24
MWS 9-5 Manual
erstellt am 30.05.2012 von DO
REINHARDT
System- und Messelectronic GmbH
Fax: 08196/7005 and 1414 email:
Web:
www.reinhardt-wetterstationen.de
6.3 RS422/RS485 port
Using RS422/RS485 needs special treatment:
After applying power to the weather station or after power fail the TX-wire of the weather station
is disabled (set to TRI-state) due to safety reasons, this means that the weather station sends
NO data.
To enable the weather station, you need to transmit a ? (ASCII 63) to the weather station. Only
then the weather station begins to send data.
When using the enclosed REINHARDT software this will be performed automatically!
Otherways you may use the tool ENA422.EXE which allows to send a string to the weather sta-
tion over the COM-port.
To do this, at first the COM-port settings need to be set with the tool „MWS5MSET.EXE“, for
writing the INI-file „WS_CFG.INI“ for the COM-port.
Then you can send the required ? to the weather station with „ENA422 P-?“ .
CAUTION:
Firmware versions from 2.17 or later aktivate the COM-port immediately!
Thus with RS422 data will be sent without enabling of the COM-port.
With RS485 the port also is active immediately after power is applied, but of course no data will
be visible on the data lines for with RS485 data are only sent on request.
Initialisation of the weather station and memory check are performed as well, like with all other
COM-port configurations, but you won't see any data on the COM-port for the output is TRI-state!
While initialisation, which will need up to 2 minutes, the weather station will not accept any
command!
To send a command to a weather station with RS485, you always must insert the device address
of the weather station between the ! or the ? and the command, otherways the weather station
won't accept the command! Default address of weatherstations with RS485 is 1.
The command for reading the latest datastring is ?1U (opposite to ?U with all other COM-port
configurations)!