EasyManua.ls Logo

Strasbaugh nTellect 7AF - Page 2045

Default Icon
2493 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Pamux User’s Guide 85
SET ANALOG WATCHDOG TIMEOUT 20
PURPOSE:
Sets the analog watchdog.
COMMAND TYPE:
Analog
PARAMETERS:
COMMAND Contains the value 20.
ADDRESS Contains the address of the Pamux brain board.
VALUE ARRAY The first element of this array contains the value of the watchdog timeout
interval for the analog brain board watchdog.
REMARKS:
The value in the first element of the VALUE array can be an integer from 0 to 65,535. This
represents a delay length in units of 10 milliseconds, resulting in a range from 10 milliseconds to
10.92 minutes. A value of 0 disables the watchdog feature.
Use the Write Analog Watchdog command to set the values to be assigned to the outputs should a
watchdog timeout occur.
EXAMPLE:
This example sets the analog watchdog delay for the board at address 12 to 8 minutes (480
seconds). This results from writing the value 48,000 to address 12. Note that integer values above
32,767 must be entered in hex when using BASIC.
100 COMMAND% = 20 ‘ Set Analog Watchdog Timeout
110 ADDRESS% = 12 ‘ Address of brain board
120 VALUE%(0) = &HBB80 48000 decimal = BB80 hex
130 GOSUB 1000 ‘ Call the driver
.
.
1000 CALL
Pamux(ERRCOD%,ADDRESS%,COMMAND%,POSITION%,VALUE%(0))
1010 IF ERRCOD% < 0 THEN GOTO 2000
1020 RETURN
PROGRAMING WITH THE PAMUX DRIVER

Table of Contents

Related product manuals