4 Pamux User’s Guide
Connecting to an Adapter Card .................................................................................................... 44
Setting AC28 Jumpers ......................................................................................................... 44
AC28 Acknowledgment Data ............................................................................................... 45
Connecting Field Wiring .............................................................................................................. 46
Wiring Digital Modules ........................................................................................................ 46
Wiring Quad Pak Modules ................................................................................................... 49
Wiring Analog Modules ....................................................................................................... 51
Chapter 3: Programming with the Pamux Driver ...................... 59
Overview ..................................................................................................................................... 59
What Is the Pamux Driver? .......................................................................................................... 59
Using the Pamux Driver under DOS ............................................................................................. 60
Installation ........................................................................................................................... 60
Pamux Driver Parameters ..................................................................................................... 60
Using the Pamux Driver with Interpreted BASIC or QBasic .................................................... 61
Pamux Error Codes ............................................................................................................... 63
Working with Banks ............................................................................................................. 63
Command Reference............................................................................................................ 64
Using the Pamux Driver under Windows .............................................................................. 88
Installation ........................................................................................................................... 88
Architecture ......................................................................................................................... 88
Pamux APIs .......................................................................................................................... 89
API Command Reference ..................................................................................................... 90
AC28 Operations .......................................................................................................... 90
Digital Bank Operations ................................................................................................ 92
Digital Point Operations ................................................................................................ 94
Digital “Fast” Operations .............................................................................................. 95
Analog Bank Operations ............................................................................................... 96
Analog Point Operations ............................................................................................... 97
Analog Watchdog Operations ....................................................................................... 98
Analog Status Operations ............................................................................................. 98
Pamux Utility Operations .............................................................................................. 99
Status/Error Codes ............................................................................................................... 101
Chapter 4: Programming without the Pamux Driver ................ 103
Overview ..................................................................................................................................... 103
Bus Pin Definitions - Not using AC28 ........................................................................................... 103
Bus Timing .................................................................................................................................. 104
Write Timing ........................................................................................................................ 104
Read Timing ......................................................................................................................... 104
Direct Programming of Pamux Stations with ac28 ....................................................................... 105
Variables Used in Examples ................................................................................................. 105
Utility Subroutines Used in Examples ................................................................................... 106
TURN off reset ............................................................................................................................ 107
Resetting the System ........................................................................................................... 107
TABLE OF CONTENTS