CHAPTER 2 INSTALLATION
17
The extension consists of the procedures and functions ieabort, iedevclr, iedevice,
ieenter, ieentera, iecol, icinit, iello, ielocal, icoutput, icouta, ieppoll, ieppollc, ieppollu,
ieremote, ieseg, iesend, iespoll, iestatus, ietimout and ietrig. These procedures and
functions allow the PC to perform the IEEE-488 BUS activities through the IEEE-488
interface card.
Using an IEEE-488 procedures and functions requires six steps.
1. Define the IEEE-488 procedures and functions those will be called later. If you can
not sure which procedures or functions will be used, just INCLUDE all the IEEE-
488 procedures and functions definitions as the statement below:
{$INCLUDE: “MSPGPm.lNC’}
Following is the list of file MSPGPm.lNC.
{Definition of IBEE-488 procedures and functions)
procedure
ieseg(progseg:word);extern;
procedure
ioinit(ioport,myaddr,setting:integer);extern; Li
procedure
ieoutput(addr:integer;var outstr:lstring); extern;
procedure
ieenter(addr:integer;var instr:lstring);extern; L;
procedure
ieabort;extern;
procedure
ieeol(addr,outeol:integer;var outeolstr:lstring;
ineol,ineolb:integer);extern;
procedure
iedevclr(addr:integer);extern;
procedure
iello;extern;
procedure
ielocal(addr:integer);extern;
function
ieppoll:integer;extern;
procedure
ieppollc(addr,config:integer);extern;
procedure
ieppollu(addr:integer);extern;
procedure
ieremote(addr:integer);extern;
procedure
iesend(var cmdstr:lstring);extern;
function
iespoll(addr:integer):integer;extern;
function
iestatus(condition:integer):integer;extern;
procedure
ietimout(t:integer);extern;
procedure
ietrig(addr:integer);extern;
procedure
ieentera(addr,dataseg,length:integer);extern;
procedure
ieouta(addr,dataseg,length:integer);extern;
procedure
iedevice(addr,portno:integer);extern;
{End of definition of IEEE-488 procedures and functions}
2. When developing the main program, the location of the firmware must be defined
using the procedure ieseg( ). This defines the current segment location of the
firmware routines. For example, ieseg(16#DOOO);. The procedure ieseg( ) must be
called BEFORE CALLING ANY OTHER IEEE-488 procedures andfunctions.
Содержание PCLS-848-P
Страница 1: ...PCLS 848 P IEEE 488 INTERFACE CARD PASCA SUPPORT PACKAGE USER S MANUAL...
Страница 6: ...Figures Figuree 7 1 PCL 848A B Block Diagram 77...
Страница 10: ...4 PCLS 848 P User s Manual...
Страница 20: ...14 PCLS 848 P User s Manual...
Страница 32: ...26 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false String is entered...
Страница 37: ...CHAPTER 2 INSTALLATION 31 ieinit ioport myaddr setting...
Страница 42: ...36 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false Long string is sent...
Страница 56: ...50 PCLS 848 P User s Manual...
Страница 80: ...74 PCLS 848 P User s Manual...
Страница 83: ...CHAPTER 7 THEORY OF OPERATION 77 Figuree 7 1 PCL 848A B Block Diagram...
Страница 84: ...78 PCLS 848 P User s Manual...
Страница 95: ...CHAPTER 7 THEORY OF OPERATION 89...
Страница 97: ...CHAPTER 7 THEORY OF OPERATION 91 Handshake Timing Sequence...
Страница 102: ...96 PCLS 848 P User s Manual...