Specifications

Table Of Contents
OPERATIONS
Page 73 MRC-565 Packet Data Radio Operations & Maintenance
5.7.13 Setting/Reading CR10X Internal Registers
The CR10X has internal registers that are used to hold data while it is being manipulated prior to
being output to final storage memory. The MRC-565 can read these registers using local or
remote commands and transmit the contents back to the originator of the remote command. In
addition the contents of the registers can be changed via remote command. This capability allows
the CR10X internal program to access a register value as a parameter that can be changed
remotely. Some uses might include controlling switches, motors, software options, final storage
update rate, input scan rate, etc.
To read a register use the command CR10X,REGISTER,N where "n" is the register number.
The result will be displayed as follows:
+cr10x,register,1 01/08/99 10:42:37
[+12.355 ]
The current value in the register is shown within the square brackets.
To change a register use the command CR10X,REGISTER,N,XXXX where "n" is the register
number and "XXXX" is the new contents in decimal or "0xHHHH" is the new contents in
hexadecimal. The following example shows the old value in square brackets followed by the new
value.
+cr10x,register,1,10.4 01/08/99 10:42:49
[+12.355 ] +10.400
Reading CR10X Internal Pointers and Error Statistics:
The CR10X,STAT command will read and display the CR10X internal pointers and error
counters. The following example shows the response format:
+cr10x,stat 01/08/99 10:39:44
R10185 F62262 V3 A1 L10151 E00 02 00 M0256 B+3.1117 C2858
MRC-565A DPTR:08219 008 09:42, CR10X Start:007 04:09 End:008 10:39
The first line of the response is the “A” command response from the CR10X. It shows “R”xxxx
the current data pointer, “F”xxxx the number of filled memory locations, “A”x the storage area
number, “L”xxxx the last modem pointer, “E”xx xx xx error statistics, “M”xxxx memory size,
and “B”xxxx internal battery voltage. The “C”xxxx is a checksum value and not otherwise
useful.
The second line is the MRC-565 current data pointer value, the Julian day and time (hr:mn) of
the report at that location, the day and time of the oldest and newest report in the CR10X Final
Storage memory. The values on this line depend on the format of the data arrays having the
Julian day and time in the first two sensor locations as discussed in the “Time Tagging”
paragraph above.