
III. COMMAND REFERENCES - 15. Command References 15A. Driver488/DRV Commands
Personal488 User’s Manual, Rev. 3.0 III-287
CONTROL LINE
SYNTAX
CONTROL LINE
RESPONSE
Bit-mapped number from 0 to 255 representing the state of the
control lines.
MODE
Any
BUS STATES
None
SEE ALSO
TIME OUT
EXAMPLE
PRINT#1,”CONTROL LINE”
INPUT#2,”CL”
The
CONTROL LINE
command may be used on either IEEE 488 devices or Serial devices. If the
device specified is an IEEE 488 device, this command returns the status of the IEEE 488 bus control
lines as an 8-bit unsigned value (bits 2 and 1 are reserved for future use), as shown below:
87654321
EOI SRQ NRFD NDAC DAV ATN 0 0
If the device refers to a Serial device, this command returns the status of the Serial port control lines as
an 8-bit unsigned value (bits 8 and 7 are reserved for future use), as shown below:
87654321
0 0 DSR RI DCD CTS DTR RTS
A fuller description of the above bus line abbreviations are provided below:
DISARM
SYNTAX
DISARM[interrupt[,interrupt…]]
interrupt
is one of the following events:
SRQ
,
Peripheral
,
Controller
,
Trigger
,
Clear
,
Talk
,
Listen
,
Idle
,
Bytein
,
Byteout
, or
Change
.
RESPONSE
None
MODE
Any
BUS STATES
None
SEE ALSO
ARM, LIGHT PEN; OnEvent (Sub-Chapter 15B)
EXAMPLES
PRINT#1,”DISARM”
Disable all interrupts
PRINT#1,”DISARM SRQ”
Do not respond to SRQ
The
DISARM
command prevents Driver488 from setting the light pen status or invoking an event handle
and interrupting the computer system, even when the specified conditions occur. The user’s program
Bus State Bus Lines Data Transfer (DIO) Lines
8 7 6 5 4 3 2 1
IEEE 488 Interface
ATN
Attention (&H04) 00000100
EOI
End-Or-Identify (&H80) 1 0 0 0 0 0 0 0
SRQ
Service Request (&H40) 01000000
DAV
Data Valid (&H08) 00001000
NDAC
Not Data Accepted (&H10) 0 0 0 1 0 0 0 0
NRFD
Not Ready For Data (&H20)00100000
Serial Interface
DTR
Data Terminal Ready (&H02)00000010
RI
Ring Indicator (&H10) 0 0 0 1 0 0 0 0
RTS
Request To Send (&H01) 0 0 0 0 0 0 0 1
CTS
Clear To Send (&H04) 00000100
DCD
Data Carrier Detect (&H08) 00001000
DSR
Data Set Ready (&H20) 00100000
Comentarios a estos manuales