REINHARDT
System- und Messelectronic GmbH
Bergstr. 33 86911 Diessen-Obermühlhausen Postfach 12 41 D-86908 Diessen Tel. 08196 - 934100
MWS_55_e.indb Page 61
geändert am 26.10.2017 von DO
Manual MWS 55 / MWS 88 / MWS 10 and Sensors 55
Controlling the interface (Protocol select)
CAUTION: THESE SETTINGS ARE VERY CRITICALLY!!
!S<DZ><#13>
Suppresses inter alia the output of data
DZ is the decimal value from the following binary listfor the different protocols.
Binary list of protocol parameters for DZ.
DZ (binary) =
xxxxxx00b (bit 1+2) : RS232 - WSA sends a datastring each second
xxxxxx01b (bit 1+2) : RS422 - WSA sends a datastring each second
xxxxxx10b (bit 1+2) : RS485 - WSA is addressed and sends data only on request
xxxxxx11b (bit 1+2) : Reserved
xxxxx1xxb (bit3) : WSA sends data only on request (RS232 + RS422)
xxxx1xxxb (bit4) : WSA sends data on request and when storing into the logger
xxxXxxxxb (bit5) : Reserved
xxXxxxxxb (bit6) : Reserved
x1xxxxxxb (bit7) : Sends check byte(bit 1+2
≠
11), simple XOR or CRC-8 (Bit21=1)
1xxxxxxxb (bit8) : Flash write protection
(Commands changing the data flash are rejected (except update))
This mode only can be cancelled in SECURE-Mode!
xx1xxxxx xxxxxxxx xxxxxxxxb (bit22) : Compatibility mode (data each 2 seconds)
By adding of single binary values the parameters can be combined.
Example for MWS with RS422 only sends on request:
for RS422 (binary) = xxxxxx01 (DZ=1)
for sending on request (binary) = xxxxx1xx (DZ=4)
added --> = xxxxx101 --> decimal = 5 --> !S5<#10>
CAUTION: With RS485 the WSA's address must always follow on ! or ?, for otherwise the com-
mand won't be recognized! (Standard@ = 10)
!S+<Bit#><#13> ;
Set single bit in protocol select
!S-<Bit#><#13> ;
Set back single bit in protocol select
Example: !S+3 activates sending data on request and when storing.
CAUTION! Never use this command with analog display connected!!!
IMPORTANT!!!
Switching the protocols from RS422 and RS485 to another protocol only works in SE-
CURE mode (!") due to safety reasons!!
Example:
If you want to change from RS422 (!S1) to RS485 (!S2) first change into SECURE mode with the
command !". The MWS 55 now will send permanently the following:
**SECURE**
Then you send the command !S2. The MWS 55 now is in RS485 mode and has got the preset
address (10 by default). To exit the SECURE mode insert the following command:
!10"
Now you can retrieve the current data string with the command ?10U.
To change back to RS422 first switch to SECURE mode with the command !10" and then enter
the command !10S1 to change to RS422. The MWS 55 now permanently will send **SECURE**.
With the command !" you exit the SECURE mode and the MWS 55 will send a data string each
second.