beautypg.com

C - ieee 488 to parallel – Measurement Computing Digital HS User Manual

Page 55

background image

The following example uses the Digital488HS/32 as an IEEE 488 to Parallel
(Centronics) converter. It uses only the output port in 8-bit mode. The IEEE 488 bus
address of the Digital488HS/32 is assumed to be 08. This simple example could be
expanded to include error reporting of the parallel BUSY, PAPER and /ERROR
signals. All it attempts to do, however, is print a text file, "TEST.DAT," to the
parallel printer.

To begin, construct this cable:

1

19

20

37

34-/OE

11

8

19

36

GND-19

GND-20

GND-21

GND-22

GND-23

GND-24

GND-25

GND-26

GND-27

GND-28

GND-29

GND-30

21-GND
22-GND
23-GND
24-GND
25-GND
26-GND
27-GND
28-GND
29-GND
30-GND
31-GND

D1-2
D2-3
D3-4
D4-5
D5-6
D6-7
D7-8

D0-1

2-D0

3-D1

4-D2

5-D3

6-D4

7-D5

8-D6

9-D7

oDAV-18

oBusy-19

10-ACK

1

STROBE

35-oClear

RESET-31

Output Port

Connector

Parallel

(Centronics)

Connector

Cable Wiring - Digital488HS/32 to Parallel Cable