64 Pamux User’s Guide
COMMAND REFERENCE
This section describes all analog and digital Pamux commands. These commands are passed to the
driver by setting the COMMAND parameter to the correct command number, as defined below.
# Command # Command
0 Set Base Address 12 Write Digital Point
1 Set Reset Address 13 Configure Analog Bank
2 Set Reset Level 14 Configure Analog Bank, Expanded
3 Reset 15 Configure Analog Point
4 Configure Digital Bank 16 Read Analog Bank
5 Configure Digital Bank, Expanded 17 Read Analog Point
6 Configure Digital Point 18 Write Analog Bank
7 Read Digital Bank 19 Write Analog Point
8 Read Digital Bank, Expanded 20 Set Analog Watchdog Timeout
9 Read Digital Point 21 Write Analog Watchdog Bank
10 Write Digital Bank 22 Write Analog Watchdog Point
11 Write Digital Bank, Expanded
The format of each command description in this section is as follows:
COMMAND NAME
PURPOSE:
What the command does.
COMMAND TYPE:
“Driver” indicates the command affects only the driver configuration. “Digital,” “Analog,” and
“Digital and analog” indicate the types of Pamux brain boards that will accept the command.
PARAMETERS:
Which of the five parameters passed to the driver are relevant to the command. While all five
parameters must be passed to the driver each time it is called, only some of these parameters are
required to fully specify the command and to store returned data.
REMARKS:
What the command does and how it should be used.
EXAMPLE:
Actual BASIC program segment that demonstrates the use of the command. Examples are in
Microsoft’s Interpreted BASIC (not QBasic) as implemented on a PC.
PROGRAMING WITH THE PAMUX DRIVER