- A to echo "address\r\n" - artifact of IMET, simple confirmation
of 'life'
- NOTE: address is NOT USED currently, but may be set/modified by UOK
command below.
- CCOxxx to overide the Comms Controller ON time value set by UOK. Values from
1 to 240 (minutes) may be set. A typical default value in EEPROM is 10 minutes. The CCOxxx
command can make that longer (or shorter), allowing the Comms Controller to determine how long it
can run to do its tasks. This command echoes the xxx value sent if valid. There is no response
otherwise. NOTE: After a logging system coldstart (initial powerup), this command may not
be issued for 60 minutes; since 30 minutes is the MAX duration (ON time) that may be set in EEPROM,
this insures at least one power-on reset of the Comms Controller before normal operations proceed.
- CCSTAT displays the following values related to Comms Controller operation:
- Interval from EEPROM - the time in hours (1-96) from one Comms Controller power ON to the next.
Set under UOK with the CCI command.
- Duration from EEPROM - the time in minutes (1-30) that Comms Controller power is ON at each interval.
Set under UOK with the CCD command.
- Current Interval Time Remaining - the time in minutes remaining until the end of the interval,
when the next Comms Controller ON time will occur.
- Current Duration Time Remaining - the time in minutes remaining until Comms Controller power is
turned OFF.
- Coldstart Status - set to 1 during the the coldstart period (60 minutes from logger powerup) as explained
in the CCO command above. Changes to 0 (zero) after the 1st hour.
Example response, 4 hour interval, 10 minute duration, 30 minutes before ON time: "4,10,30,0,0\r\n"
- CCSHDN kills power to the Comms Controller after a 2 second delay. May be issued by the Comms
Controller to turn itself OFF.
Responds with "CommsCtrlr Power OFF\r\n"
- CLOCK to see current date/time setting. Responds with
"yyyy/mm/dd hh:mm:ss\r\n"
- CLOCK=yyyy/mm/dd hh:mm:ss to set date/time; Sampling
MUST be STOPPED to set the clock.
- D responds with a single line of data (subset of full logged data)
from most recent sample interval;
each line is terminated with \r\n
Firmware Ver 3.21 displays:
- E responds with data from most recent sample interval on individual lines;
each line is terminated with \r\n
Firmware Ver 3.21 displays:
BPR: 1012.32
HRH: 72.34 24.123
LWR: 389.2
PRC: 43.65
SCT: 5.107 1.0127
SWR: 994.23
WND: -12.31 4.76
BAT: 12.50 12.60 12.70 12.80 (BAT not used in v2.50)
- FB read 512 byte blocks of memory (HEX-ASCII)
On entry, the prompt "Start block # -> " is displayed; the first
block (and default block) is 1; each successive block is 512
bytes farther into the card (note that the first 'record' is written
at block 257 - the first 131072 bytes are reserved); enter a value,
terminated by \r, to get first block. Enter X to exit, any other key
for the next block;
sampling MUST be STOPPED)
- Blocks are displayed in HEX-ASCII, 32 bytes (64 characters) per
line by 16 lines, each terminated "\r\n". A blank line is inserted
between successive blocks.
- On completion, i.e., you sent an X to exit, an extra "\r\n" is sent.
- FC read current record configuration; currently responds
with "Defaults Only\r\n"
See Record Format.
- FR read records
On entry, the prompt "Start record # -> " is displayed; the first
record (and default record) is 1; each successive record is "sizeof LOGR_record"
bytes farther into the card (note that the first 'record' is written
at block 257 - the first 131072 bytes are reserved); enter a value,
terminated by \r, to get first record. Enter X to exit, any other key
for the next record;
sampling MUST be STOPPED)
- FS report current card status (size, used, unused). Each line is
terminated in "\r\n".
Example:
PCMCIA CARD present - CARD OK!
FLASH card capacity: 20839680
Records used: 114; available: 21326
- GO to start sampling (power up default - only used to restart
after STOP for testing, new configuration, etc.) Responds with
"Sampling GO\r\n". Sampling MUST be STOPPED.
- HELP displays a brief list of all the commands. Each line is
terminated in "\r\n". A truncated HELP output is displayed
when LOGR53 is running (GO mode); i.e., only those commands
available while running are displayed. To access the full
command set, the LOGR53 must be STOPPED.
Example of output in STOPPED mode:
Firmware LOGR53 v3.21
A - Address acknowledge
CC - Comms Controller commands:
CCOxxx - Overide ON time [1-240]
CCSTAT - Comms Controller Settings Status
CCSHDN - Shutdown Comms Controller Power
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
R - Display Recent records
STAT - System status info
STOP - Stop sampling
T - Test mode commands:
TM - MET Module tests
TP - PTT tests
UOK - Update EEPROM constants
XMODE - XMODEM Dump PCMCIA card via RS232 console
- R to HEX dump the most recent 256 records of data written to FLASH
- The LOGR53 board uses 16K of spare RAM as a circular buffer to keep the most
recent 1 minute records written to FLASH. If set for an R-interval of 1, that allows
the most recent 4.25 hours to be dumped to the console as HEX-ASCII. At 9600 baud,
this takes about 40 seconds.
- One 64 byte record is dumped per line; this means 128 HEX characters per line.
- This data may be dumped without STOPping the logger.
- Data is in volatile RAM; if power is lost, all existing recent data in the RAM
buffer is lost. (Of course, it still remains stored in FLASH for later retrieval).
- See Record Format to decode the HEX dump.
- See UOK command below to set R-interval for the RAM buffer.
- STAT reports all current settings in multiline format.
On an EEPROM failure, the first line will be "\r\nDEFAULT OPERATION\r\n".
- Normal Operation:
Instrument Address\r\n (not used)
Model\r\n
Serial Number\r\n\
Latest Checkout/Calibration Date\r\n
Firmware Name and Version\r\n (from EPROM)
RTC date and time\r\n (CLOCK command format)
Logging Interval and Current Tick\r\n
Recent Record Interval (R-interval)\r\n
PCMCIA Card Type present - CARD OK!\r\n
FLASH card capacity: (size in bytes)\r\n
FLASH Records used: (record count); available: (record count)\r\n
Main Battery Voltage: (voltage)\r\n
(optional failure messages for any bad/missing modules)
PTT ID#1 packed data message in Hex-Ascii\r\n
PTT ID#2 packed data message in Hex-Ascii\r\n
PTT ID#3 packed data message in Hex-Ascii\r\n
Sampling GO\r\n
Example (note 4 missing modules):
LOG01
Model: LOGR-530
SerNum: 101
CalDat: 24APR07
Firmware: LOGR53 v3.21
RTClock: 2007/04/22 15:24:00
Logging Interval: 60; Current Tick: 0
R-interval: 2
Intel Type 2+ 20MB PCMCIA CARD present - CARD OK!
FLASH card capacity: 20840448
Records used: 464; available: 392752
Main Battery Voltage: 12.50
PRC failed
SST failed
TMP failed
WND failed
5439F07D0321FF7FC00000000001F45439F07D0321FF7FC00000000001F43E0E
5439F07D0321FF7FC00000000001F45439F07D0321FF7FC00000000001F43E0E
5439F07D0321FF7FC00000000001F45439F07D0321FF7FC00000000001F43E0E
Sampling GO
NOTE: Power to failed modules is cycled OFF for 45 seconds, then restored;
At the next 1 minute interval, new data will NOT be ready - new data will
appear at 2 minutes after the power was originally cycled off.
- STOP to stop sampling and allow configuration changes
or testing. Responds with "Sampling STOP\r\n".
NOTE: this command may NOT be issued while the Comms Controller power is ON,
except during the initial 60 minutes after powerup. This is a safety measure to
prevent a Comms Controller from STOPping the logger operation.
- TM Test all modules (Ports 1 thru 8 only, fixed format)
- On entry, displays "MET Module test command", then continuously
tries to poll the standard 8 modules by sending a 'C' command to the
default module address (e.g. #BPR01C)
- displays one module per line, full 'C' command return string
Example:
MET Module test command
BPR: 976.32
HRH: 0.000 0.000
LWR: 0.000 0.000 0.000 0.000
PRC: not responding (not installed?)
SCT: not responding (not installed?)
SWR: -4.3
WND: not responding (not installed?)
- Updates about every 5 seconds (longer if missing modules)
- To quit, hit ESC.
- NOTE: there is about a 2 second timeout delay on each bad/missing module
- TP Test PTT serial comms
- On entry, displays "PTT test command",
- NOT IMPLEMENTED
- Sampling MUST be STOPPED to use
any test command.
- UOK enter configuration update mode (held in EEPROM)
- Commands tagged with * will respond individually with their
current settings if terminated immediately with <cr>; i.e.
to see the current address, send ADR<cr>
- Remain in update mode until ABORT or WRTOK command.
- Sampling MUST be STOPPED to enter update mode.
- ABORT to quit this mode without update; responds with
"quitting...\r\n" after restoring original settings.
- * ADR=xxxxx to set 1 to 5 character address (default
is LOG01). These must be alpha-numeric. NOT USED in Ver 1.2x
- * CCD=xx to read/set the Comms Controller ON time at each interval.
May bet set from 1 to 30 minutes of ON time.
- * CCI=xx to read/set the Comms Controller ON time interval.
May bet set from 1 to 96 hours from one ON time to the next.
- * CD=xxxxxxx to set a free format, 7 characters max, configuration
date. For reference only, not used internally by instrument.
Displayed in STAT command.
- FEOK erase entire FLASH memory card.
NOTE that this command has nothing to do with EEPROM;
it's here to make it harder to do accidently! After erasing FLASH memory
you may exit the UOK command by using ABORT.
Requests 'Y' confirmation before proceeding.
- FE1OK erase first 1/2 MB of FLASH memory card. QUICK FOR USE IN TESTING!!!
If you aren't sure whether data has been written past the 1/2 MB point, use FEOK above!
NOTE that this command has nothing to do with EEPROM;
it's here to make it harder to do accidently! After erasing FLASH memory
you may exit the UOK command by using ABORT.
Requests 'Y' confirmation before proceeding.
- * RE=xxx - R-interval for RAM buffer (1 - 60 minutes)
R-interval determines how often a data record is put into the RAM buffer for
the R command. For example, an R-interval of 1 puts every data record into the RAM
buffer, allowing about 4 1/4 hours maximum of data to be buffered. An R-interval of 6 puts
every 6th data record into the buffer, so about a whole day of data will be buffered, at
6 minute intervals.
- * RI=xxxx to set the logging interval (typically 60 seconds)
The interval may be fro 15 to 3600 seconds, in multiples of 15 seconds only!
Displayed in STAT command.
- WRTOK to write all EEPROM parameters.
Update mode exits upon completion of write.
- XMODE XMODEM Dump PCMCIA card via RS232 console
Standard 40MB FLASH cards will take FOREVER to read this way -
the preferred method of reading data is to remove the FLASH card
from the LOGR53 and read it on a Linux-based laptop with PCCard slot
per Linux PCMCIA FLASH Card Reading
- This command is rudimentary; if you must dump data this way,
use the FR command to display any record and see if it's where you wish
to begin. Records are currently 64 bytes long, so you'll get
16384 records per dump request. (Record length is likely to change).
- Command dumps up to 1 MB of data from the requested starting record. The dump will
end after the last valid record is reached, so if there is not actually 1 MB of data
after the requested start record, the dump will stop (saves you time - you'd want it
that way!)
- On command entry, requests: Start record # (0 aborts) ->
- i.e. to get first MB of data (16384 records -> about 11 days), enter 1 as start record
- add 16384 to your start record number to find the start of subsequent 1 MB blocks of data;
i.e. if you entered 1 to start at the first record on the FLASH card, subsequent 1 MB blocks
of data start at 16385, 32769, 49153, 65537, etc...
- Typical example - the following description assumes PCPLUS for terminal software,
but any terminal program capable of XMODEM transfer should work.
- On entry, LOGR53 will prompt:
Start record # (0 aborts) ->
Enter a valid record # (see discussion above)
- Next, you'll be prompted:
Set terminal speed for 38400 then hit any key
- After setting speed and hitting a key, you will see:
XMODEM Send Function
Waiting for start...
- Start a transfer (PgDn in PCPLUS) - on completion, you will see something like:
Sent 238 blocks - done
Restore terminal speed to 9600 then hit any key
NOTE:"blocks" here are XMODEM blocks of 128 bytes each
- After resetting speed to 9600 baud and hitting a key, LOGR53 will send a
"\r\n"
- Ignore occasional gibberish when changing baud rates!
- See also Record Format.