SetUp Command
to communicate with a module with an unknown address is with the Default Mode.
The most significant bit of byte 1 (bit 7) must be set to ‘0’. In addition, there are six ASCII codes that are illegal for use as an address. These codes are $00, $0D, $24, $23, $7B, $7D which are ASCII codes for the characters NUL, CR, $, #, {, and }. Using these codes for an address will cause an ADDRESS ERROR and the setup data will remain unchanged. This leaves a total of 122 possible addresses that can be loaded with the SU command. It is highly recommended that only ASCII codes for printable characters be used ($21 to $7E) which greatly simplifies system debugging with a dumb terminal. Refer to Appendix A for a list of ASCII codes. Table 5.1 lists the printable ASCII codes that may be used as addresses.
Table 5.1 Byte 1 ASCII Printable Characters. |
|
| |||||
HEX | ASCII | HEX | ASCII | HEX | ASCII | HEX | ASCII |
21 | ! | 3A | : | 51 | Q | 68 | h |
22 | “ | 3B | ; | 52 | R | 69 | i |
25 | % | 3C | < | 53 | S | 6A | j |
26 | & | 3D | = | 54 | T | 6B | k |
27 | ‘ | 3E | > | 55 | U | 6C | l |
28 | ( | 3F | ? | 56 | V | 6D | m |
29 | ) | 40 | @ | 57 | W | 6E | n |
2A | * | 41 | A | 58 | X | 6F | o |
2B | + | 42 | B | 59 | Y | 70 | p |
2C | , | 43 | C | 5A | Z | 71 | q |
2D | - | 44 | D | 5B | [ | 72 | r |
2E | . | 45 | E | 5C | \ | 73 | s |
2F | / | 46 | F | 5D | ] | 74 | t |
30 | 0 | 47 | G | 5E | ^ | 75 | u |
31 | 1 | 48 | H | 5F | _ | 76 | v |
32 | 2 | 49 | I | 60 | ‘ | 77 | w |
33 | 3 | 4A | J | 61 | a | 78 | x |
34 | 4 | 4B | K | 62 | b | 79 | y |
35 | 5 | 4C | L | 63 | c | 7A | z |
36 | 6 | 4D | M | 64 | d | 7C | |
37 | 7 | 4E | N | 65 | e | 7E | ~ |
38 | 8 | 4F | O | 66 | f |
|
|
39 | 9 | 50 | P | 67 | g |
|
|