Download Print this page

Advantech PCL-848A/B User Manual page 43

Multifunction ieee-488 interface card

Advertisement

Purpose :
This command sets the timeout period. When the bus handshake is stuck, the called
I/O functions will terminate at the time specified and the timeout flag will be set.
Offset :
TIMEOUT%=45
Syntax :
CALL TIMEOUT%(T%)
CALL ABSOLUTE(T%,TIMEOUT%)
Parameter:
T% -
T% = 0 Disable the timeout command.
T% = 1 to 32767 Timeout period is T% units.
T% = -1 to -32767 Timeout period is (65536+T%) units.
Bus Activity :
None.
Remark :
1. The unit of the timeout period depends on the execution speed of the CPU. For PC/
XT of 4.77 MHz clock rate, the unit is one millisecond. For PC/AT and higher clock
rate CPU, the unit is less.
2. The timeout period is set to 10000 units each time the INIT command is called.
CHAPTER 3 PROGRAMMING REFERENCE
----BASIC
----BASIC Compiler
37

Advertisement

loading