LAMBDA DG-4 & 5 PLUS/USB OPERATION MANUAL – REV.
50
REMOTE PC PARALLEL PORT
LAMBDA DG-4 CONTROLLER
Pin #
Pin Description
Pin #
Pin Description
22
GROUND
22
NC
23
GROUND
23
NC
24
GROUND
24
GROUND
25
GROUND
25
GROUND
Commands may be sent through the printer adapter by using an OUT command from basic,
or an equivalent command from another language. In Microsoft QuickBasic the form of the
command is:
OUT port, data
Where the decimal value of port would be 956, 888, or 632 depending on your system, and
data would be a number indicating the desired command.
The number to use for data either will be one of the FILTER NUMBERS or will correspond
to one of the commands in the table presented earlier in this section. Thus, to command a
move to FILTER NUMBER 4 using a printer adapter having a base address of 888, you
would use the following command:
OUT 888, 4
4.1.7
Reading the Status of the Lambda DG-4
The BUSY line is the only output from the Lambda DG-4. In the BUSY line section (above),
there is a discussion of some of the factors to consider in deciding whether to read the BUSY
signal at all. If you have determined that your application requires this output to be read
from your computer, this can be done through the 4-bit input port on the printer adapter.
The address of this port will be the base address of the printer adapter plus one.
Table 4-10. Parallel port numbering and addressing.
PORT NUMBER AND LOCATION
ADDRESS
BASE
INPUT PORT
LPT1 on Graphics Adapter
956 (3BC HEX)
957 (3BD HEX)
LPT1 on Printer Adapter
888 (378 HEX)
889 (379 HEX)
LPT2 on Printer Adapter
632 (278 HEX)
633 (279 HEX)
The 4-bit input port uses only the four most significant bits at that address: bits 4, 5, 6 and 7.
Bits 0, 1, 2 and 3 are not used by the printer adapter and will normally read as 1. Bit 7 in this
input port is normally used by the printer to signal that it is “busy”. That bit is set by the
data signal from the printer to Pin 11 of the DB-25 parallel port connector on the back of the
computer. The Lambda DG-4 uses this same bit in the computer’s printer adapter to indicate
that it is BUSY, although the polarity of this signal may differ from the corresponding
printer BUSY signal.
With the Lambda DG-4 BUSY line connected to PIN 11 of the computer’s parallel printer
port the input port can be read to obtain the status of the Lambda DG-4. Using Microsoft
QuickBasic, this would be done as follows:
Summary of Contents for Lambda DG-4Plus/USB
Page 3: ......
Page 4: ......
Page 16: ...LAMBDA DG 4 5 PLUS USB OPERATION MANUAL REV 1 01B3 20190607 4...
Page 46: ......
Page 70: ......
Page 76: ...LAMBDA DG 4 5 PLUS USB OPERATION MANUAL REV 1 01B3 20190607 64 This page intentionally blank...
Page 78: ...LAMBDA DG 4 5 PLUS USB OPERATION MANUAL REV 1 01B3 20190607 66 This page intentionally blank...
Page 94: ...LAMBDA DG 4 5 PLUS USB OPERATION MANUAL REV 1 01B3 20190607 82 NOTES...
Page 98: ...LAMBDA DG 4 5 PLUS USB OPERATION MANUAL REV 1 01B3 20190607 86 NOTES...