CAT System Computer Control
SELECTING UPDATE DATA TO | ||
DOWNLOAD |
| DATA STRUCTURE |
As mentioned before, there are four opcodes that cause the
Status Update (Opcode 10H) - The 1st and 4th parameters of this command allow selecting different portions of Status data to be returned, as follows (“X” is the 1st parameter, “U” is the 4th):
Read Flags (Opcode FAH)
-three Status Flag Bytes, plus two transceiver ID bytes. The Status Flag Bytes are described on the preceding page, and in the Record Tables on the previous page.
The transceiver ID bytes are used in programs to distinguish the
| Flag Byte | Flag Byte | Flag Byte | ID Byte 1 | ID Byte 2 |
|
| 1 | 2 | 3 | (03H) | (93H) |
|
Read Meter Data (Opcode F7H) - Sending this com- mand returns a digitized meter deflection indication, between 00 and FFH (usually around F0H maximum). Four copies of this value are returned, along with one padding byte (F7H), as follows:
| Meter | Meter | Meter | Meter | F7H |
|
| Byte | Byte | Byte | Byte |
| |
|
|
| ||||
|
|
|
|
|
|
|
During reception, the signal strength deflection is returned. During transmission, the parameter repre- sented by the reading returned depends on the setting of the METER switch.
This identifies the current or
Memory Channel Data (Hex Codes)
Ch. | Hex | Ch. | Hex | Ch. | Hex | Ch. | Hex |
01 | 00H | 31 | 1EH | 61 | 3CH | 91 | 5AH |
02 | 01H | 32 | 1FH | 62 | 3DH | 92 | 5BH |
03 | 02H | 33 | 20H | 63 | 3EH | 93 | 5CH |
04 | 03H | 34 | 21H | 64 | 3FH | 94 | 5DH |
05 | 04H | 35 | 22H | 65 | 40H | 95 | 5EH |
06 | 05H | 36 | 23H | 66 | 41H | 96 | 5FH |
07 | 06H | 37 | 24H | 67 | 42H | 97 | 60H |
08 | 07H | 38 | 25H | 68 | 43H | 98 | 61H |
09 | 08H | 39 | 26H | 69 | 44H | 99 | 62H |
10 | 09H | 40 | 27H | 70 | 45H | P1 | 63H |
11 | 0AH | 41 | 28H | 71 | 46H | P2 | 64H |
12 | 0BH | 42 | 29H | 72 | 47H | P3 | 65H |
13 | 0CH | 43 | 2AH | 73 | 48H | P4 | 66H |
14 | 0DH | 44 | 2BH | 74 | 49H | P5 | 67H |
15 | 0EH | 45 | 2CH | 75 | 4AH | P6 | 68H |
16 | 0FH | 46 | 2DH | 76 | 4BH | P7 | 69H |
17 | 10H | 47 | 2EH | 77 | 4CH | P8 | 6AH |
18 | 11H | 48 | 2FH | 78 | 4DH | P9 | 6BH |
19 | 12H | 49 | 30H | 79 | 4EH | Q1 | 6CH |
20 | 13H | 50 | 31H | 80 | 4FH | Q2 | 6DH |
21 | 14H | 51 | 32H | 81 | 50H | Q3 | 6EH |
22 | 15H | 52 | 33H | 82 | 51H | Q4 | 6FH |
23 | 16H | 53 | 34H | 83 | 52H | Q5 | 70H |
24 | 17H | 54 | 35H | 84 | 53H |
|
|
25 | 18H | 55 | 36H | 85 | 54H |
|
|
26 | 19H | 56 | 37H | 86 | 55H |
|
|
27 | 1AH | 57 | 38H | 87 | 56H |
|
|
28 | 1BH | 58 | 39H | 88 | 57H |
|
|
29 | 1CH | 59 | 3AH | 89 | 58H |
|
|
30 | 1DH | 60 | 3BH | 90 | 59H |
|
|
Important Note!
The Hex Memory Channel Codes for returned memory data shown above (Byte 7) are different than those used in upload command data (opcodes)!
The memory channel hex codes used as argument (parameter) bytes for opcodes are offset by one (that is, one value greater) from their returned data counterparts. Therefore the channel hex codes used in opcodes 02H, 03H, and 0DH would range from 01H ~ 71H.
When constructing command block bytes, ensure that the correct memory channel hex code is used!
page 90 |
|