PC IEEE Reference
World Of PC IEEE.
Basic ON SRQ Facility.
____________________
_
From BASIC the ON PEN GOSUB command can be used
to invoke an SRQ service routine to provide automatic serial
polls etc.
PRO-488 Command Summary.
___________________________
The basis of the PRO-488 system is an intelligent
command handler. Data written to the "IEEECTRL" file is
treated as an Ascii string containing IEEE bus keywords and
numeric parameters. These keywords are interpreted as
commands to perform Serial or Parallel Polls, send any IEEE
bus commands or specify the timeout period, etc etc.
The command interpreter checks the syntax of your IEEE
string and performs the appropriate IEEE actions. If a syntax
error is detected the precise location of the error is noted and a
flag is set. Merely checking the error flag informs you whether
any mistake was made, other flags show whether a device is
present on the bus and the state of the data transfer.
Sending Data To Bus Devices.
__________________________
Data can be sent to the IEEE bus devices in several ways.
The simplest and most straight forward method is by writing
data to the "IEEEDATA" file, PRO-488 automatically addresses
the current device to listen and the PC outputs your data, as easy
as that!
Alternatively, data can be sent via the "IEEECTRL" file
using one of three methods:- as specified by decimal numbers
after a DATA or EOI command, as literal data within delimiters
after a STRING command, or as literal data within delimiters
after an OUTPUT command.
LISTEN 5 DATA 72,69,76,76,79 UNL <CR>
LISTEN 5 STRING "HELLO" UNL <CR>
OUTPUT "HELLO" <CR>
Page 6
Chapter 1