5 2
PCLS-848-P User's Manual
until s=’n’;
end;
procedure enterdata;
var
addr,length
:
integer;
instr
:
lstring(255);
s
:
char;
begin
repeat
writeln;(‘ ENTER DATA :’);
write(‘ From which address ?’);
readln(addr); writeln;
writeln(‘ Entering string...‘);
ieenter(addr,instr);
iochk;
writeln(‘ Entered string . ‘ instr).
write(‘ Enter data again ?(yin)’);
readln(s); writeln;
until s=’n’;
end;
var
sel,i
:
integer;
begin
ieseg(16#D000);
ieinit(16#2B8,21,0);
ietimout(30000);
repeat
ioabort;
for i:=1 to 24 do writeln;
{clear screen}
writeln(‘*** IEEE-488 Interface Demo Program ***’);
writeln;
writeln(‘ 1 : OUTPUT DATA’);
writeln;
writeln(‘ 2 : ENTER DATA’);
writeln;
writeln(‘ 3 : EXIT’);
writeln;
write(‘ Select a function :’);
readln(sel); writeln;
if (sel<4) and (sel>0) then
begin
case sel of
1
:
outputdata;
2
:
enterdata;
3
:
;
otherwise
writeln(‘******* SOMETHING WRONG ! *******’);
end;
end;
until sel=3;
end.
(End of program)
Summary of Contents for PCLS-848-P
Page 1: ...PCLS 848 P IEEE 488 INTERFACE CARD PASCA SUPPORT PACKAGE USER S MANUAL...
Page 6: ...Figures Figuree 7 1 PCL 848A B Block Diagram 77...
Page 10: ...4 PCLS 848 P User s Manual...
Page 20: ...14 PCLS 848 P User s Manual...
Page 32: ...26 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false String is entered...
Page 37: ...CHAPTER 2 INSTALLATION 31 ieinit ioport myaddr setting...
Page 42: ...36 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false Long string is sent...
Page 56: ...50 PCLS 848 P User s Manual...
Page 80: ...74 PCLS 848 P User s Manual...
Page 83: ...CHAPTER 7 THEORY OF OPERATION 77 Figuree 7 1 PCL 848A B Block Diagram...
Page 84: ...78 PCLS 848 P User s Manual...
Page 95: ...CHAPTER 7 THEORY OF OPERATION 89...
Page 97: ...CHAPTER 7 THEORY OF OPERATION 91 Handshake Timing Sequence...
Page 102: ...96 PCLS 848 P User s Manual...