PROGRAMING WITH THE PAMUX DRIVER
Pamux User’s Guide
3-5
PAMUX ERROR CODES
Table 3-1 describes the errors returned by the Pamux driver under DOS:
Table 3-1: Pamux Driver Error Codes under DOS
EErrrroorr
DDeesc
scrriippttiion
on
-1
Configuration required (due to reset or loss of power)
-2
Invalid address (address > 63)
-3
Invalid bank (a bank > 63)
-4
Invalid point (point + 8 * address > 511)
-5
Invalid command
-6
Invalid range
-7
Turnaround time-out (analog board did not respond)
-8
Analog watchdog time-out
WORKING WITH BANKS
The concepts of Addresses and Banks can be a little confusing when dealing with a Pamux I/O system.
Every group of 8 channels in a Pamux system (a Bank) is related to an Address and a Bank Number.
Every Pamux system is composed of 64 Banks (8 channels each).
A 16-channel Pamux brain board (B5 or B6) has two banks. Bank 0 refers to channels ) to 7 and Bank 1
refers to channels 8 through 15.
The B4 Pamux brain board addresses 4 Banks.
BBan
ank
k NNuum
mbbeerr
CChan
hannneellss
0
0 to 7
1
8 to 15
2
16 to 23
3
24 to 31
When using the driver, Address% is set to the base address of the brain board, then the group of 8
channels is selected by setting the Bank (Position%) to 0, 1, 2, or 3.
One last bit of confusion…the Pamux driver allows an alternate addressing scheme. It is possible to
leave Address always set to (0). The Bank of 8 channels is then selected by setting Bank to a value from
0 through 63! This technique may be easier in a system with a mixture of B4, B5, and B6 brain boards.
Summary of Contents for PAMUX
Page 10: ...TABLE OF CONTENTS x Pamux User s Guide...
Page 14: ...TABLE OF CONTENTS xiv Pamux User s Guide...
Page 103: ...PROGRAMING WITH THE PAMUX DRIVER 3 42 Pamux User s Guide...
Page 121: ...PROGRAMING WITHOUT THE PAMUX DRIVER 4 18 Pamux User s Guide...
Page 125: ...TROUBLESHOOTING AND TIPS A 4 A 4 A 4 A 4 A 4 Pamux User s Guide...
Page 135: ...SPECIFICATIONS B 10 Pamux User s Guide...
Page 141: ...TEMPERATURE CONVERSIONS ROUTINES C 6 Pamux User s Guide...
Page 143: ...PRODUCT SUPPORT D 2 Pamux User s Guide...
Page 149: ...GLOSSARY E 6 Pamux User s Guide...