
16
IE-SNC-T43(4)11-02
Description of supported functions
Configuration of transducer
Syntax of command:
%AANNTTCCFF cr
Meaning of symbols:
AA
… current address of transducer
00…FF (hexadecimal)
NN
… new address of transducer
00…FF (hexadecimal)
TT
… code of transducer (2Bh… temperature transducer)
CC
... code of communication speed
Code speed
[Bd]
03 1200
04 2400
05 4800
06 9600
07 19200
08 38400
09 57600
0A 115200
FF
… data format and check sum:
D7 D6 D5 D4 D3 D2 D1 D0
xxxx xx00 format "Engineering units"
x0xx xx00 check sum switched OFF
x1xx xx00 check sum switched ON
•
Communication speed and check sum are possible to change only, if jumper is closed
o
Change in communication speed activates only after transducer power is switched
OFF and switched ON again.
o
Change in setting of check sum activates immediately after jumper is opened
•
If address is changing
o
and jumper is closed, transducer responds with address 00h again, and newly set
address will be activated after jumper is opened.
o
and jumper is not closed, change is activated immediately.
•
If attempt occur to write incorrect data to the transducer (and syntax is correct), transducer
responds with error message.
Response of the transducer
1.
If syntax of command is not correct, transducer does not respond at all (e.g. no check sum is
received though it is switched ON, check sum is not correct, string is not complete or
contents invalid character).
2.
If syntax is correct, but required operation is not correct, transducer returns error message in
format
? AA cr
this state appears, if we try to change communication speed and check sum and jumper is
not closed.
3.
If command is executed, transducer responds:
! AA cr
Check sum (CRC)
: it is the sum of all characters before it, its lowest byte is applied.
Reading of the temperature
Syntax command:
#AA cr