Where the numbers along the top row are the bit positions within the 8 bit byte and the
numbers and symbols in the bottom row are the functions associated with that bit.
To write to or read from a register in decimal or HEX, the following weights apply:
80
128
7
40
64
6
20
32
5
10
16
4
8
8
3
4
4
2
2
2
1
1
1
0
HEX VALUE
DECIMAL VALUE
BIT POSITION
To write control or data to a register, the individual bits must be set to 0 or 1 then
combined to form a Byte. Data read from registers must be analyzed to determine
which bits are on or off.
The method of programming required to set/read bits from bytes is beyond the scope
of this manual. It will be covered in most Introduction To Programming books, avail-
able from a bookstore.
In summary form, the registers and their function are listed on the following table.
Within each register are 8 bits which may constitute a byte of data or 8 individual bit
functions.
Digital output port, P2
No read back of output port
BASE +7
Digital input port, P2
BASE +6
Cammands to 9513 #2
Status of 9513 #2
BASE +5
Data for 9513 #2
Data from 9513 #2
BASE +4
CTR 10 ONLY
Digital output port
No read back of output port
BASE +3
Digital input port
BASE +2
Commands to 9513 #1
Status of 9513 #1
BASE +1
Data for 9513 #1
Data from 9513 #1
BASE +0
WRITE FUNCTION
READ FUNCTION
ADDRESS
11
CIO-CTR10 SECOND 9513
The CIO-CTR10 has two 9513 chips on it. The second of these, the one accessible
via connector P2 at the rear of the board, is wired up identically to the 9513 on P1.
Both are Keithley/MetraByte CTM-05 compatible both at the connector and the regis-
ter level. Software written for the CTM-05, including Labtech Notebook, HP VEE
and other third party software can operate both 'CTM-05s'. Simply install one
CTM-05 at the BASE ADDRESS and install the other at the BASE A 4.
On the CIO-CTR10, the second 9513 counter timer chip's address is fixed at the
board's base a 4. If the board were configured at 300H (768 Decimal), then
the second 9513 would reside at 304H (772 Decimal). No switches need to be set.
8