OZONECPU Main CPU Commands Version 2.31
- ALL COMMANDS ARE TERMINATED IN CARRIAGE RETURN <cr> - don't forget! It's assumed for all commands below
- mode of operation:
- See also Operational Description.
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.31 displays:
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 #define WDR_OK 0x40 /* comms OK */ #define INLET_OK 0x80 /* i.e. "valve comms OK" - no checking on outlet for now */ /* OZONE_status masks */ #define CPU_temp 0x01 #define STEPS_to_ref 0x02
Typical scan: 3.21 0 12 1 D7 DE 03
Firmware Ver 2.31 displays Average Wind Speed in m/s and Rain Detect flag value (0 = NO Rain):
WNDAVG: 2.03 RDET: 0
2003/04/24 17:04 WND: 0.20 RDET: 0 PSI CPU: 50.97 VALVE: 42 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 OZONECPU V2.31 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 COM2 data 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: OZONECPU V2.31 RTClock: 2003/04/17 15:24:00 MetMode: 2 WindCheck: 1 Intel Type 2+ 20MB PCMCIA CARD present - CARD OK! FLASH card capacity: 20840448 Records used: 464; available: 392752 Sampling GO PSI OZONE Running Minutes until ZERO Check - 1344