PROGRAMING WITH THE PAMUX DRIVER
Pamux User’s Guide
3-9
SET RESET LEVEL
2
P
URPOSE
:
Configures the driver with the reset level to use when sending a reset command to Pamux.
C
OMMAND
T
YPE
:
Driver
P
ARAMETERS
:
COMMAND
Contains the value 2.
VALUE ARRAY
The first element of this array contains a single value that selects the reset
level. Valid values are:
VALUE%(0)
Reset Level
0
Active Low
1
Active High (default)
R
EMARKS
:
This command must be sent before sending a Reset command.
For proper operation of the Reset command, set the reset level to match the jumper setting of each
Pamux brain board. All Pamux brain boards connected to the same AC28 must be configured to the
same reset level.
The driver assumes a default active high level.
This command need only be sent once during initialization.
E
XAMPLE
:
This example tells the driver to use an active low value when a Reset command is sent.
100
COMMAND% = 2
‘ Set Reset Level command
110
VALUE%(0) = 0
‘ Value of 0 = active low
120
GOSUB 1000
‘ Call the driver
.
.
1000
CALL Pamux(ERRCOD%,ADDRESS%,COMMAND%,POSITION%,VALUE%(0))
1010
IF ERRCOD% < 0 THEN GOTO 2000
1020
RETURN
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...