Appendix 1: serial commands – Vaisala HMP228 User Manual
Page 51

HMP228 Transmitters
M210282en-A
Appendix 1: Serial commands
45
APPENDIX 1: SERIAL COMMANDS
1. ANALOGUE OUTPUT COMMANDS ...................................................................................... 46
AMODE Setting the analogue outputs ..................................................................... 46
ASEL Selecting the scaling the analogue output quantities ...................................... 46
ASCL Scaling the analogue outputs ........................................................................ 47
2. CALIBRATION COMMANDS ................................................................................................. 49
CRH Relative humidity calibration .......................................................................... 49
FCRH Relative humidity calibration after sensor change ......................................... 49
CT Temperature calibration.................................................................................... 50
ACAL Calibrating the analogue outputs ................................................................... 51
L Outputting linear correction coefficients............................................................... 51
LI Entering linear correction coefficients ................................................................. 51
3. OUTPUT VIA THE SERIAL BUS............................................................................................ 52
R Starting the measurement output ........................................................................ 52
S Stopping the measurement output ...................................................................... 52
SEND Outputting a reading once............................................................................. 53
DSEND Outputting readings of all connected transmitters once .............................. 53
ERRS Outputting error messages ........................................................................... 53
ECHO Turning the serial interface echo ON/OFF .................................................... 54
INTV Setting the output interval for the RUN state.................................................. 54
FORM Setting the output format .............................................................................. 55
FTIME Adding time to output ................................................................................... 56
FDATE Adding date to output .................................................................................. 56
SERI Serial bus settings......................................................................................... 57
UNIT Selecting the output units .............................................................................. 58
ADDR Setting the transmitter address ..................................................................... 58
RESET Resetting the transmitter............................................................................. 59
3.1 Operation modes ........................................................................................................ 59
SMODE Setting the serial interface ......................................................................... 59
OPEN & CLOSE...................................................................................................... 60
4. OTHERS ................................................................................................................................ 61
ITEST Testing the analogue outputs ....................................................................... 61
MTIM Setting the measurement integration time ..................................................... 62
PRES Setting the pressure for mixing ratio calculations .......................................... 62
XPRES Setting the pressure for mixing ratio calculations temporarily...................... 63
CDATE Entering calibration date ............................................................................. 63
DATE Setting the date............................................................................................. 63
TIME Setting the time.............................................................................................. 64
VERS Name and version of the programme ............................................................ 64
? Outputting the transmitter settings....................................................................... 64
?? Outputting the transmitter settings also in POLL mode ...................................... 64
FILT Setting the averaging time ............................................................................. 65
The commands function as described when the serial interface is in full-
duplex mode and echo is on. All commands except FORM can be given in
either capital or small letters.
In the commands <cr> means carriage return, <lf> line feed and <ht> hori-
zontal tabulation.