Chapter 5: Programming
The board is an I/O-mapped device that is easily configured from any language and any language can
easily perform digital I/O through the board's ports. This is especially true if the form of the data is byte
or word wide. All references to the I/O ports would be in absolute port addressing. However, a table
could be used to convert the byte or word data ports to a logical reference.
The recommended languages to program in to write interrupt service routines in are Delphi and C++
Builder. Visual C is more difficult to accomplish this in and Visual BASIC is
NOT
recommended for
interrupt type programming.
Developing Your Application Software
Address
Register
Operation
(Counter/Timer Disabled)
(Counter/Timer Enabled)
Base Address
PA Group 0
Counter/Timer 0
Read/Write
Base A1
PB Group 0
Counter/Timer 1
Read/Write
Base A2
PC Group 0
Counter/Timer 2
Read Write
Base A3
Control Group 0
Counter/Timer Control
Write Only
Base A4
PA Group 1
Read/Write
Base A5
PB Group 1
Read/Write
Base A6
PC Group 1
Read/Write
Base A7
Control Group 1
Write Only
Base A8
Enable/Disable Buffer, Grp 0
Write Only
Base A9
Enable/Disable Buffer, Grp 1
Write Only
Base AA
Base AB
Enable Interrupt
Write
Base AB
Disable Interrupt
Read
Base AC
Base AD
Enable Counter/Timer Addressing
Write
Base AD
Disable Counter/Timer Addressing
Read
Base AE
Base AF
Clear Interrupt
Read/Write
Table 5-1
: Address Selection Table
Manual 104-DIO-48E, 24E
15