Remote-processing RPC-52 Instrukcja Użytkownika Strona 25

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 36
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 24
CHAPTER 8 DISPLAY PORT
Page 23
Figure 8-1 Display interface
INTRODUCTION
RPBASIC-52 and the RP C-52 ca n interface to a variety
of displays:
VF (vacuum florescent) character
LCD (liquid crystal) character
LCD graphics
Character display sizes range from four lines by 20
characters to four lines by 40 characters. The graphics
display supports 160 x 128 pixels. Remote Processing
supplies these displays with appropr iate cables.
A contrast adjustment for LCD character displays is built
into the card. All displays connect to J6. An
appropriate cable connects a display to the RPC-52.
If a display is not used, J6 may be used for general
purpose digital I/O. Port A and part of port B from an
82C55 are available.
The cable length to a display depends upon the amount
of current it requires. A significant amount of voltage
drop occurs with a long cable. VF and LC D graphics
cables should be less than 2 feet. A character LCD
display cable should be less than 5 feet.
CONNECTING DISPLAYS
The display port is designed to supply all the lines
necessary for VF and L CD displays. A custom cable
connects the RPC-52 to the display.
Displays purchased from Remote Processing include a
cable. You simply connect the 20 pin connector to the
RPC-52 LCD display port and the other end into the
display.
Additional w iring is usually r equired for LC D graphic
and VF character displays. This information is included
with the display. Information content is display
dependent. Below is general information on both.
Graphic displays require additional voltages not
generated on the RPC-52. These must be supplied
externally. An external contrast adjustment may be
necessary. You may be able to connect these through
screw terminal block P6.
VF character displays require + 5 volts and ground to be
brought to connector P6. This may in the form of
external wires from the main power connector on the
board. Power is not supplied from the board due to the
danger of ground loops.
Additional information for commands mentioned in the
following text may be found in the RPBASIC-52
Software Supplem ent in this manual.
WRITING TO THE DISPLAY
The display type must first be set using the CONFIG
DISPLAY command. T he DISPLAY com mand is used
to print information. The display type is stored in the on
card serial EEPROM. CONF IG DISPL AY needs to be
done only once.
PROGRAMMING EXAMPLE
The example below is for a four line by 40 character
LCD display. Even though DISPL AY statements do not
end with a comma (, ), a < cr> < lf> sequence is not
sent. Use CR to force a retur n. A CR does not scroll
characters on a display. You must position the cur sor to
the next line.
CONFIG DISPLAY X
10 STRING 200,30
20 $(0) = "Remote Processing display"
30 DISPLAY (1,2),$(0)
DISPLAY TYPES
RPBASIC-52' s software driver is based upon the
characteristics of the display family. Compatible VF and
LCD displays are shown below:
Manufact. Model Type
Optrex DMC 40457 LCD 4 x 40
Optrex DMC 40202 LCD 2 x 40
IEEE 3601-90-080 VF 4 x 20
Optrex DMF 682N LCD 160W x 128D
DISPLAY CONNECTOR PIN OUT - J6
The display port uses an 82C5 5 for data and contr ol.
The table below lists a pin number and its intended
function. A display may not use all lines even though
they are available.
Przeglądanie stron 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 35 36

Komentarze do niniejszej Instrukcji

Brak uwag