2B OZONECPU Main CPU Commands Version 2.60
- ALL COMMANDS ARE TERMINATED IN CARRIAGE RETURN <cr> - don't forget! It's assumed for all commands below
- mode of operation:
Instrument Module port assignments (Port 1 thru Port 11 correspond to LOGRIF PC Board P1 thru P11; Ports 12 thru 15 correspond to P20 - P23)
Standard commands (precede with # only, i.e. #STAT to get status):
NOTE: The FULL command set is ONLY available when the OZONECPU is NOT running (see STOP command).
Firmware Ver 2.60 displays:
Ozone Level, Cell Temperature, Cell Pressure, Wind Speed, Rain Detect Flag, elapsed Sample Time, OZONE Running Flag, System Status Byte HEX, MainCPU Status Byte HEX, OZONE Status Byte HEX
Elapsed Sample Time is in minutes;
OZONE Run Flag: 1 = RUNNING; 0 = STOPPED
Status Byte bits (1 = OK or ON) defined as follows:
/* STATUS byte masks - see struct.dec */ /* system_status masks */ #define sample_OK 0x01 #define WIND_OK 0x02 #define RAIN_OK 0x04 /* true = NO rain */ #define ZERO_checking 0x08 #define OZONE_analyzing 0x10 #define XMET_OK 0x20 #define INLET_open 0x40 #define OUTLET_open 0x80 /* maincpu_status masks */ #define ZERO_pwr 0x01 #define WDR_pwr 0x02 #define INLET_pwr 0x04 #define OUTLET_pwr 0x08 #define OZONE_pwr 0x10 /* OZONE_status masks */ #define CELL_temp 0x01 #define CELL_pres 0x02
Typical scan: 67 35.3 980.6 3.21 0 12 1 D7 1E 03
Firmware Ver 2.60 displays Average Wind Speed in m/s and Rain Detect flag value (0 = NO Rain):
WNDAVG: 2.31 RDET: 0
2003/06/20 17:04 WND: 0.20 RDET: 0 2B: 13.7 35.1 1003.7 STAT: 15 01 D7 1E 03
Example: PCMCIA CARD present - CARD OK! FLASH card capacity: 20839680 Records used: 114; available: 21326
Example of output in STOPPED mode: Firmware TWOBCPU V2.60 A - Address acknowledge CLOCK(=YYYY/MM/DD HH:MM:SS) - Read/Set RT clock date/time D - Send latest standard data E - Send latest extended data F - FLASH card commands: FB - Read any block, hex FC - Current record configuration FR - Read data record, formatted FS - Status info GO - Re-start sampling H - Display Help message O - Send latest OZONE data R - Send recent records in HEX SETUP - Show EEPROM Configuration Settings STAT - System status info STOP - Stop sampling T - Test mode commands: TM - MET Module tests UOK - Update EEPROM Configuration Constants XMODE - XMODEM Dump PCMCIA card via RS232 console
Example in MetMode 2: OZONE Model: OZONECPU SerNum: 101 CfgDat: 16 Apr 03 Firmware: TWOBCPU V2.60 RTClock: 2003/04/17 15:24:00 MetMode: 2 WindCheck: 1 R-interval 2 Intel Type 2+ 20MB PCMCIA CARD present - CARD OK! FLASH card capacity: 20840448 Records used: 464; available: 392752 Sampling GO 2B OZONE Running Minutes until ZERO Check - 1344