Owner's manual
HMP228 Transmitters
M210282en-A Appendix 1: Serial commands
55
FORM Setting the output format
FORM <cr>
"xxx...xxx"
? zzz...zzz <cr>
xxx...xxx = old format
zzz...zzz = new format
The FORM command sets the format of the outputs generated in RUN state
and by SEND command. Please note that capital and small letters have dif-
ferent meanings.
\aa..aa\ water activity
\TT..TT\ temperature
\uu..uu\ unit according to the preceding variable
\n line feed <lf>
\r carriage return <cr>
\t horizontal tabulation <ht> or <tab>
\\ \
For example:
format output
\a.aaa \ \+TT.TT\\r 0.123 +99.99 <cr>
\TTT.T\ \uu\\r\n 15.2 'C <cr><lf>
\a.aaa\ \+DD.D\ \uu\\r 0.123 +10.8 'C <cr>
Any text can be written in the command and it appears in the output. For ex-
ample:
aw: \a.aaa\ T: \+TT.TT\\r aw: 0.54 T: +25 <cr>
The format can be deleted by giving \ as a parameter:
>FORM \<cr> Note. only one space before \ and none
after
or
>FORM <cr>
"xxx...xxx"
?\<cr>
An example of a format suitable for use in Microsoft Excel spreadsheets:
>FORM <cr>
"xxx...xxx"
?\a.aaa\\t\TTT.T\\r\n <cr>
The output is then:
0.474<tab> 22.4 <cr><lf>