kdx-xxx - grifo

60
, GPC ® , grifo ® , are trade marks of grifo ® TECHNICAL MANUAL KDX-xxx Keyboard Display interface - LCD or VFD KDX-xxx Rel. 5.00 Edition 09 October 2003 Via dell' Artigiano, 8/6 40016 San Giorgio di Piano (Bologna) ITALY E-mail: [email protected] http://www.grifo.it http://www.grifo.com Tel. +39 051 892.052 (r.a.) FAX: +39 051 893.661 grifo ® ITALIAN TECHNOLOGY

Upload: others

Post on 11-Dec-2021

16 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: KDX-xxx - grifo

, GPC®, grifo®, are trade marks of grifo®

TECHNICAL MANUAL

KDX-xxxKeyboard Display interface - LCD or VFD

KDX-xxx Rel. 5.00 Edition 09 October 2003

Via dell' Artigiano, 8/640016 San Giorgio di Piano(Bologna) ITALYE-mail: [email protected]

http://www.grifo.it http://www.grifo.comTel. +39 051 892.052 (r.a.) FAX: +39 051 893.661

grifo®

ITALIAN TECHNOLOGY

Page 2: KDX-xxx - grifo
Page 3: KDX-xxx - grifo

, GPC®, grifo®, are trade marks of grifo®

TECHNICAL MANUAL

KDX-xxxKeyboard Display interface - LCD or VFD

KDX-xxx Rel. 5.00 Edition 09 October 2003

Via dell' Artigiano, 8/640016 San Giorgio di Piano(Bologna) ITALYE-mail: [email protected]

http://www.grifo.it http://www.grifo.comTel. +39 051 892.052 (r.a.) FAX: +39 051 893.661

grifo®

ITALIAN TECHNOLOGY

Complete user interface featured by: dimension: 117 x 77 x 24 mm (W xH x D) with mounting hole on the card corners. Interface for matrixkeyboard with 6 x 4 = 24 keys, on 10 pins male strip connector. Intelligentdisplay, available with tens different display models (it must be specifiedduring order phase). Section that generates contrast voltage for LCDdisplay. Complete software management of the card sections with 16 TTLI/O lines on standard 20 pins, low profile, I/O ABACO® connector. Widerange of management firmware supplied as driver, library, console inputoutput redirection, etc., available for many CPUs and many softwaredevelopment tools. Single +5 Vdc power supply. Power supplied by thecontrol card or by an external voltage through a proper 2 pins screwterminal connector. Provided with application notes, demo programsand electric diagrams.

Page 4: KDX-xxx - grifo

DOCUMENTATION COPYRIGHT BY grifo® , ALL RIGHTS RESERVED

No part of this document may be reproduced, transmitted, transcribed, stored in aretrieval system, or translated into any language or computer language, in any form orby any means, either electronic, mechanical, magnetic, optical, chemical, manual, orotherwise, without the prior written consent of grifo®.

IMPORTANT

Although all the information contained herein have been carefully verified, grifo®

assumes no responsability for errors that might appear in this document, or for damageto things or persons resulting from technical errors, omission and improper use of thismanual and of the related software and hardware.grifo® reserves the right to change the contents and form of this document, as well as thefeatures and specification of its products at any time, without prior notice, to obtainalways the best product.For specific informations on the components mounted on the card, please refer to theData Book of the builder or second sources.

SYMBOLS DESCRIPTION

In the manual could appear the following symbols:

Attention: Generic danger

Attention: High voltage

Trade Marks

, GPC®, grifo® : are trade marks of grifo®.Other Product and Company names listed, are trade marks of their respective companies.

Page 5: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page I KDX xxx Rel. 5.00

GENERAL INDEXINTRODUCTION ........................................................................................................................ 1

CARD VERSION ......................................................................................................................... 1

GENERAL INFORMATION ...................................................................................................... 2 KEYBOARD .............................................................................................................................. 4 DISPLAY .................................................................................................................................... 4

TECHNICAL FEATURES .......................................................................................................... 6 GENERAL FEATURES............................................................................................................ 6 PHYSICAL FEATURES ........................................................................................................... 6 ELECTRIC FEATURES .......................................................................................................... 7

INSTALLATION .......................................................................................................................... 8 CONNECTIONS ....................................................................................................................... 8 CN1 - EXTERNAL POWER SUPPLY CONNECTOR ...................................................... 8 CN2 - EXTERNAL KEYBOARD CONNECTOR ............................................................ 10 CN3 - DIGITAL I/O LINES CONNECTOR...................................................................... 12 CN4 - FIRST DISPLAY CONNECTOR ............................................................................ 14 CN5 - SECOND DISPLAY CONNECTOR ....................................................................... 16 CN6 - THIRD DISPLAY CONNECTOR ........................................................................... 18 CONTRAST REGULATION TRIMMER ............................................................................ 20 I/O CONNECTION ................................................................................................................. 20 DISPLAYS MANAGED.......................................................................................................... 20 JUMPERS ................................................................................................................................ 21 POWER SUPPLY .................................................................................................................... 22

SOFTWARE DESCRIPTION ................................................................................................... 24 HIGH LEVEL MANAGEMENT ........................................................................................... 24 LOW LEVEL MANAGEMENT ............................................................................................ 24 KEYBOARD ......................................................................................................................... 26 DISPLAY ............................................................................................................................... 26

EXTERNAL CARDS ................................................................................................................. 27

BIBLIOGRAPHY....................................................................................................................... 30

APPENDIX A: ELECTRIC DIAGRAM................................................................................ A-1

APPENDIX B: DISPLAY CHARACTERS ........................................................................... B-1

APPENDIX C: MOUNTING .................................................................................................. C-1 DIMENSIONS ....................................................................................................................... C-1

Page 6: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page II KDX xxx Rel. 5.00

APPENDIX D: ON BOARD DEVICES DESCRIPTION .................................................... D-1 DISPLAY ................................................................................................................................ D-1

APPENDIX E: ALPAHABETICAL INDEX ......................................................................... E-1

Page 7: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page III KDX xxx Rel. 5.00

FIGURES INDEXFIGURE 1: BLOCKS DIAGRAM ............................................................................................................ 3FIGURE 2: KDX-000 PHOTO, COMPONENTS SIDE .............................................................................. 5FIGURE 3: KDX-000 PHOTO, SOLDER SIDE ....................................................................................... 5FIGURE 4: CONSUMPTIONS TABLE ..................................................................................................... 7FIGURE 5: CN1 - EXTERNAL POWER SUPPLY CONNECTOR .................................................................. 8FIGURE 6: JUMPERS, CONNECTORS, TRIMMER, ETC. LOCATION ........................................................... 9FIGURE 7: CN2 - EXTERNAL KEYBOARD CONNECTOR...................................................................... 10FIGURE 8: CONNECTING EXTERNAL MATRIX KEYBOARD ................................................................... 11FIGURE 9: KDX-C4B AND .KEY4X4 PHOTO ................................................................................. 11FIGURE 10: CN3 - DIGITAL I/O LINES CONNECTOR.......................................................................... 12FIGURE 11: KDX-XXX COMPONENTS MAP (COMPONENT SIDE) ......................................................... 13FIGURE 12: KDX-XXX COMPONENTS MAP (SOLDER SIDE) ................................................................ 13FIGURE 13: CN4 - FIRST DISPLAY CONNECTOR ............................................................................... 14FIGURE 14: KDX-C4 AND .KEY4X4 PHOTO ................................................................................. 15FIGURE 15: KDX-F4 AND .KEY4X4 PHOTO .................................................................................. 15FIGURE 16: CN5 - SECOND DISPLAY CONNECTOR ............................................................................ 16FIGURE 17: KDX-GF2 AND .KEY4X4 PHOTO ............................................................................... 17FIGURE 18: KDX-GF4 AND .KEY4X4 PHOTO ............................................................................... 17FIGURE 19: CN6 - THIRD DISPLAY CONNECTOR .............................................................................. 18FIGURE 20: KDX-C2 AND .KEY4X4 PHOTO ................................................................................. 19FIGURE 21: KDX-F2 AND .KEY4X4 PHOTO .................................................................................. 19FIGURE 22: DISPLAYS CONNECTABLE .............................................................................................. 21FIGURE 23: JUMPER TABLE ............................................................................................................. 21FIGURE 24: KDX-C24 AND .KEY4X4 PHOTO ............................................................................... 23FIGURE 25: KDX-F24 AND .KEY4X4 PHOTO ................................................................................ 25FIGURE 26: AVAILABLE CONNECTIONS DIAGRAM ............................................................................. 29FIGURE A1: ELECTRIC DIAGRAM .................................................................................................. A-1FIGURE B1: KDX-F2, F4, F24, GF2, GF4 CHARACTERS TABLE IN ALPHANUMERIC MODE ........... B-1FIGURE B2: KDX-C2, C4 CHARACTERS TABLE ............................................................................ B-2FIGURE B3: KDX-C4B, C24 CHARACTERS TABLE ....................................................................... B-3FIGURE B4: KDX-GF2, GF4 CHARACTERS TABLE WITH MINIFONT GRAPHIC MODE ...................... B-4FIGURE B5: KDX-GF2, GF4 CHARACTERS TABLE WITH KATAKANA GRAPHIC FONT ..................... B-5FIGURE B6: KDX-GF2,GF4 CHARACTERS TABLE WITH EUROPEAN GRAPHIC FONT ...................... B-6FIGURE C1: KDX-XXX DIMENSIONS ............................................................................................. C-1

Page 8: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page IV KDX xxx Rel. 5.00

Page 9: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 1 KDX-xxx Rel. 5.00

INTRODUCTION

The use of these devices has turned - IN EXCLUSIVE WAY - to specialized personnel.

The purpose of this handbook is to give the necessary information to the cognizant and sure use ofthe products. They are the result of a continual and systematic elaboration of data and technical testssaved and validated from the manufacturer, related to the inside modes of certainty and quality ofthe information.

The reported data are destined- IN EXCLUSIVE WAY- to specialized users, that can interact withthe devices in safety conditions for the persons, for the machine and for the enviroment, impersonatingan elementary diagnostic of breakdowns and of malfunction conditions by performing simplefunctional verify operations , in the height respect of the actual safety and health norms.

The informations for the installation, the assemblage, the dismantlement, the handling, the adjustment,the reparation and the contingent accessories, devices etc. installation are destined - and thenexecutable - always and in exclusive way from specialized warned and educated personnel, ordirectly from the TECHNICAL AUTHORIZED ASSISTANCE, in the height respect of themanufacturer recommendations and the actual safety and health norms.

The devices can't be used outside a box. The User must always insert the cards in a container thatrispect the actual safety normative. The protection of this container is not threshold to the onlyatmospheric agents, but specially to mechanic, electric, magnetic, etc. ones.

To be on good terms with the products, is necessary guarantee legibility and conservation of themanual, also for future references. In case of deterioration or more easily for technical updates,consult the AUTHORIZED TECHNICAL ASSISTANCE directly.

To prevent problems during card utilization, it is a good practice to read carefully all the informationsof this manual. After this reading, the User can use the general index and the alphabetical index,respectly at the begining and at the end of the manual, to find information in a faster and more easyway.

CARD VERSION

This handbook make reference to printed circuit version 130794 and later. The validity of theinformation contained in this manual is subordinated to the card version number, so the user mustalways verify the correct correspondence beetween the notations. On the card the version numberis present in more points both on board printed diagram (serigraph) and printed circuit (for examplebetween the CN5 connector and the serial number, on the solder side).

Page 10: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 2 KDX-xxx Rel. 5.00

GENERAL INFORMATION

The KDX xxx family card is composed by interesting boards that solve the operator interfaceproblems inside the automation field, in a low cost and efficient way. All the cards are composed bytwo indipendent sections: one for an external matrix keyboard acquisition and the other for LCDor Fluorescent (VFD) display management. Both the sections are driven by only two 8 bit parallelports, at TTL level. In this manner all the cards provided of at least 16 TTL lines on a standard 20pins I/O ABACO® connector, can be connected to KDX xxx modules and they can easily exchangedata and informations with the user.The greater part of grifo® control cards can be connected to these cards with the possibility to usemany different microprocessors (Z80, 8086, 8051, 68HC11, etc.) and proper software packages(BASIC, C, PASCAL, etc.). For some coupling of control cards and software tools, together withKDX xxx is provided a proper management firmware that drives the keyboard and the display at highlevel, with considerable facility and time saving. In fact this firmware let the user manage displayand keyboard directly with the high level console instructions as PRINT, PRINTK, KBHIT, INPUT,SCANF, KEYHIT, etc.The wide range of different displays models let the user select the best configuration according withthe application requirements, in terms of: price, visibility, dimension, graphic, alphanumeric,consumption, etc. Also the keyboard can be choosen by the user starting from some simple keys (i.e.push buttons, joystick swithes,...) up to complete 6x4 matrix keyboard (i.e. phone keypads, vandalresistance keys,...).The KDX xxx hardware structure is designed to simplify the software management of the card andto minimize the necessary lines for its management; moreover the connectors position and themounting holes ensure a fast installation of the card inside the electric panel.

- Dimension: 117 x 77 x 24 mm (W x H x D) with mounting hole on the card corners.- Interface for matrix keyboard with 6 x 4 = 24 keys, on 10 pins male strip connector.- Intelligent display, available in the following models (it must be specified during orderphase):KDX C2 -> alphanumeric LCD display, backlite, with 2 lines for 20 characters;KDX C4 -> alphanumeric LCD display, backlite, with 4 lines for 20 characters;KDX C4B -> alphanumeric LCD display, backlite, with 4 lines for 20 characters BIG;KDX C24 -> alphanumeric LCD display, backlite, with 2 lines for 40 characters;KDX F2 -> alphanumeric VFD display with 2 lines for 20 characters;KDX F4 -> alphanumeric VFD display with 4 lines for 20 characters.KDX F24 -> alphanumeric VFD display with 2 lines for 40 characters;KDX GF2 -> graphic VFD display with 140x16 pixel;KDX GF4 -> graphic VFD display with 140x32 pixel;KDX 000 -> without display.

- Section that generates contrast voltage for LCD display.- Complete software management of the card sections with 16 TTL I/O lines on standard20 pins, low profile, I/O ABACO® connector.

- Wide range of management firmware supplied as driver, library, console input outputredirection, etc., available for:Z80 based cards through GDOS or FGDOS romate operating system,I51 based cards through BASIC 52, BASCOM 8051 and µC/51,I86 based cards through GCTR,AVR based cards through BASCOM AVR and ICC AVR.

- Single +5 Vdc power supply.

Page 11: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 3 KDX-xxx Rel. 5.00

- Power supplied by the control card or by an external voltage through a proper 2 pinsscrew terminal connector.

- Provided with application notes, demo programs and electric diagrams.

Here follows a description of the board's functional blocks, with an indication of the operationsperformed by each one.

FIGURE 1: BLOCKS DIAGRAM

MATRIX KEYBOARDCN2

KEYBOARDINTERFACE

POWERCN1

CURRENT

CN4LCD OR VFD DISPLAY

CN6LCD OR VFD DISPLAY

CN5VFD FUTABA DISPLAY

I/O ABACO®

CN3

REGULATOR

J1

Page 12: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 4 KDX-xxx Rel. 5.00

KEYBOARD

KDX-xxx has an interface for a matrix keyboard with 6 columns by 4 rows that can manage up to24 keys. Some of the 10 lines necessary for kyboard acquisition are used also by display interface,but a specific interface solves this situation and avoids software complications. There are manydifferent commercial or not commercial products that can be directly connected to KDX-xxx as forexample:- keyswitches (rocker, sealed, miniature, low profile, pcb, etc.)- push buttons (stop, start, up down, mushroom, rotary selector, etc.)- joystick- keypads (numeric, hexadecimal, function, miniature, sub miniature, self adhesive, membrane, etc.)- keyboards (ascii, sealed, silicon rubber, vandalic resistant, etc.)Thanks to this simple keyboard KDX-xxx solves in an inexpensive way the problem of data input,even in case of several data. Connection to industrial keybards and/or anti vandalic keypads allowsto use it also in dangerous environments and to warrant a long operative life in any condition.For detailed information about connection and management please read proper following chapters.

DISPLAY

KDX-xxx is available with Fluorescent VFD or backlit LCD displays provided of differentfeatures. In detaily, following alphanumeric displays can be connected:

LCD 20x2 characters -> KDX-C2LCD 20x4 characters -> KDX-C4LCD 20x4 big characters -> KDX-C4BLCD 40x2 characters -> KDX-C24VFD 20x2 characters -> KDX-F2VFD 20x4 characters -> KDX-F4VFD 40x2 characters -> KDX-F24

and the following graphic displays:VFD 140x16 pixels -> KDX-GF2VFD 140x32 pixels -> KDX-GF4

LEDs backlighting of LCD models ensures a good visibility even when the environmental lightingchanges and if it necessary the user can modify the contrast regulation by acting on a specific trimmer.Another important features of KDX-xxx displays is their wide viewing angle that allows a goodvisibility from each frontal position.The user must choose the right display (so the right KDX-xxx model) that is sufficient for theinformation to visualize and for his visibility requirements.For specific requirements on current consumption, visibility and price the card can be provided withLCD display not backlit: for detailed information about these options and their availability, pleasecontact directly grifo® offices.On the board there are three specific connectors that has been deisgned to simplify the connectionof each displays, which is made through a direct soldering on the printed circuit (default configuration)or trough a simple flat cable. Either for this different mounting or a different display model, thecustomer can order the KDX-000 that is provided without display.Further information on each display are reported in DISPLAYS MANAGED chapter.

Page 13: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 5 KDX-xxx Rel. 5.00

FIGURE 2: KDX-000 PHOTO, COMPONENTS SIDE

FIGURE 3: KDX-000 PHOTO, SOLDER SIDE

Page 14: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 6 KDX-xxx Rel. 5.00

TECHNICAL FEATURES

GENERAL FEATURES

Resources: Alphanumeric or graphic display in nine different modelsTrimmer to set LCD display contrastMatrix keyboard interfaceExternal power supply selection

Displays: alphanumeric LCD 20x2; 20x4; 20x4BIG; 40x2alphanumeric fluorescent VFD 20x2; 20x4; 40x2graphic fluorescent VFD 140x16; 140x32

Management lines: 16 digital I/O at TTL level: 12 outputs 4 inputs

PHYSICAL FEATURES

Size: 117 x 77 x 24 mm (W x H x D) without display182 x 77 x 32 mm (W x H x D) max.See outline dimension in APPENDIX C

Weight: 40 g without display172 g max.

Mounting: Surface or flush panel mounting through four holes (diameter3.5 mm) in the corners of printed circuit boardSee outline dimension in APPENDIX C

Length of keys connection: max. 40 cm (in normal conditions)

Length of displays connection: max. 40 cm (in normal conditions)

Temperature range: From 0 to 50 °C

Relative humidity: 20% up to 90% (without condense)

Connectors: CN1: screw terminal connector, vertical, 2 pinsCN2: strip connector, male, 90°, 10 pinsCN3: low profile connector, male, vertical, 20 pinsCN4: strip connector pods, 16 pinsCN5: low profile connector pods,20 pinsCN6: low profile connector pods,16 pins

Page 15: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 7 KDX-xxx Rel. 5.00

ELECTRIC FEATURES

Power voltage: +5 Vdc ± 5%

Power consumption: See next table

Here follows the list of KDX-xxx power consumption referred to the different display types, intypical applications use:

FIGURE 4: CONSUMPTIONS TABLE

To reduce consumptions of KDX-xxx with LCD display it is possible to order them withoutbacklighting: for further information please contact directly grifo®.

DISPLAYCONSUMPTION

+5 Vdc

Alphanumeric LCD 20x2 backlit:KDX-C2

150 mA

Alphanumeric LCD 20x4 backlit:KDX-C4

100 mA

Alphanumeric LCD 20x4 BIG backlit:KDX-C4B

130 mA

Alphanumeric LCD 40x2 backlit:KDX-C24

140 mA

Alphanumeric VFD 20x2:KDX-F2

130 mA

Alphanumeric VFD 20x4:KDX-F4

220 mA

Alphanumeric VFD 40x2:KDX-F24

250 mA

Graphic VFD 140x16:KDX-GF2

260 mA

Graphic VFD 140x32:KDX-GF4

460 mA

Page 16: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 8 KDX-xxx Rel. 5.00

INSTALLATION

In this chapter there are the information for a right installation and correct use of the KDX-xxx card. In detail there are the locations and functions of each connector, of the user settable jumper, of thetrimmer and some explanatory diagrams.

CONNECTIONS

KDX-xxx terminal has 6 connectors that can be linkeded to other devices or directly to the field,according to system requirements.In this paragraph there are connectors pin out, a short signals description (including the signalsdirection) and connectors location (see figure 6), that simplify and speed the installation phase.Connectors are accessible from top and bottom of the printed circuit board, to easy insertion andextraction.

CN1 - EXTERNAL POWER SUPPLY CONNECTOR

CN1 is a 2 pins screw terminal connector, with 5 mm pitch.On CN1 can be connected an external power supply voltage for the high consumption sections of thecard (LCD backligt, VFD, etc.) whenever the power available on the control card, connected throughCN3, is not sufficient.

FIGURE 5: CN1 - EXTERNAL POWER SUPPLY CONNECTOR

Signals description:

+5 Vdc = I - +5 Vdc external power supply: according to J1 configuration it supplies powerto all the card or only high consumption sections.

GND = - Ground signal.

NOTE: For further information about power supply configurations, please refer to paragraphPOWER SUPPLY.

21

GND+5 Vdc

Page 17: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 9 KDX-xxx Rel. 5.00

FIGURE 6: JUMPERS, CONNECTORS, TRIMMER, ETC. LOCATION

CN6

CN4

RV1

CN3

CN1

J1

CN2CN5

Page 18: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 10 KDX-xxx Rel. 5.00

CN2 - EXTERNAL KEYBOARD CONNECTOR

CN2 is a 10 pins, 90°, male strip connector, with 2.54 mm pitch.CN2 features all the signals needed to connect the external matrix keyboard, up to 24 keys, asdescribed in the following figures:

FIGURE 7: CN2 - EXTERNAL KEYBOARD CONNECTOR

Signals description:

Col n = O - Output line for n-th column of 4x6 external matrix keyboard.Row n = I - Input line for n-th row of 4x6 external matrix keyboard.

External keys must be connected so that pressing one key connects input Row n and output Col n.Following figure shows how such matrix connection must be performed with corresponding 24 keysidentification numbers. These numbers are used in the following paragraphs where keyboard and itsmanagement are quoted.CN2 can be connected to many ready to use keypad or keyboard, as for example the frequently usedand inexpensive 4x4 telephone keypad; this accessory can be also ordered to grifo® by using the.KEY4x4 code.

Row 0

10

9

7

8

6

Row 1

Row 2

Col 3

Row 3

Col 2

Col 1

Col 0

Col 4

Col 5

1

2

3

4

5

Page 19: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 11 KDX-xxx Rel. 5.00

FIGURE 8: CONNECTING EXTERNAL MATRIX KEYBOARD

Signals of 4x6 matrix keyboard are TTL and can be connected to any kind of normally open buttoncapable to provide low contact resistance; length of connection must not be over a total of 30 cmunless external favourable conditions allow to externd it.

FIGURE 9: KDX-C4B AND .KEY4X4 PHOTO

0

1

8

2

3

CN2 KDX-xxx10 Pins connector

Row 2

Col 0

4

3

2

1 4

5

7

6

7

Col 1

8

9

6

10

11

Col 2

12

13

5

14

15

Col 3

16

17

9

18

19

Col 4

20

21

10

22

23

Col 5

Row 3

Row 1

Row 0

Page 20: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 12 KDX-xxx Rel. 5.00

CN3 - DIGITAL I/O LINES CONNECTOR

CN3 is a 20 pins, male, vertical, low profile connector with 2.54mm pitch.On CN3 are connected the 16 digital I/O lines used to manage all the sections of KDX-xxx interface.All these signals follow TTL standard and I/O ABACO® standard pin out.

FIGURE 10: CN3 - DIGITAL I/O LINES CONNECTOR

Signals description:

PA.n = I/O - Digital line n of first management port, named Port A.PC.n = I/O - Digital line n of second management port, named Port C.+5 Vdc = I - +5 Vdc power supply: according to J1 configuration it supplies power to all the

card or only low consumption sections.GND = - Ground signal.N.C. = - Not connected.

1 2

3 4

5 6

7 8

9 10

11 12

13 14

PA.1

PA.3

PA.5

PA.7

PC.6

PC.4

PC.2

PA.0

PA.2

PA.4

PA.6

PC.7

PC.5

PC.3

15 16

17 18

19 20

PC.0 PC.1

GND +5Vdc

N.C. N.C.

Page 21: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 13 KDX-xxx Rel. 5.00

FIGURE 11: KDX-XXX COMPONENTS MAP (COMPONENT SIDE)

FIGURE 12: KDX-XXX COMPONENTS MAP (SOLDER SIDE)

Page 22: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 14 KDX-xxx Rel. 5.00

CN4 - FIRST DISPLAY CONNECTOR

CN4 is 16 pins strip connector pods, with 2.54 mm pitch.CN4 features all the control and command signals of LCD display (or LCD compatible) with standardpin out that allows direct connection to most of them.In detail this connector is used to interface the following displays:

alphan. LCD 20x4 KDX-C4 alphan. LCD 20x4 BIG KDX-C4Balphan. VFD 20x4 KDX-F4 graph. VFD 140x32 KDX-GF4

so it is used only when one of above models is ordered.For further information about display connection please see paragraphs DISPLAYS MANAGEDand I/O CONNECTIONS.

FIGURE 13: CN4 - FIRST DISPLAY CONNECTOR

GND , VSS

10

9

7

8

6

+5 Vdc , VDD

VO , VLC

R/W

RS

E

DB0

DB1

DB2

DB3

1

2

3

4

5

DB4

16

DB5

DB6

A (+)

DB7

K (-)

11

12

13

14

15

Page 23: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 15 KDX-xxx Rel. 5.00

Signals description:

A (+) = O - Anod or positive terminal for LED backlighting of LCD display.K (-) = O - Kathod or negative terminal for LED backlighting of LCD display.DBx = I/O - Line x of display 8 bit data bus.R/W = O - Control signal to select read or write operation.E = O - Display enable signal.RS = O - Control signal to select between command or data operation.Vo , VLC = O - Contrast tension for LCD display.+5 Vdc , VDD = O - Display power supply voltage.GND , VSS = - Ground signal.

FIGURE 14: KDX-C4 AND .KEY4X4 PHOTO

FIGURE 15: KDX-F4 AND .KEY4X4 PHOTO

Page 24: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 16 KDX-xxx Rel. 5.00

CN5 - SECOND DISPLAY CONNECTOR

CN5 is 20 pins low profile connector pods, with 2.54 mm pitch.CN5 features all the control and command signals of FUTABA VFD display with standard pin outthat allows direct connection to most of them. Actually this connector is no more used for thedescribed KDX-xxx models but it is mantained for compatibility or for specific customer requirements.For further information about display connection please see paragraphs “DISPLAYS MANAGED”and “I/O CONNECTIONS”.

FIGURE 16: CN5 - SECOND DISPLAY CONNECTOR

Signals description:

DBx = I/O - Line x of display 8 bit data bus./WR = O - Control signal to select read or write operation./SEL = O - Display enable signal./TEST = O - Display test mode enable signal.BUSY = I - Status signal to indicate whether display is busy.+5 Vdc = O - Display power supply voltage.GND = - Ground signal.N.C. = - Not connected.

1 2

3 4

5 6

7 8

9 10

11 12

13 14

DB7

DB6

DB5

DB4

DB3

DB2

DB1

+5 Vdc

+5 Vdc

+5 Vdc

GND

GND

GND

GND

15 16

17 18

19 20

DB0 /TEST

/WR /SEL

N.C. BUSY

Page 25: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 17 KDX-xxx Rel. 5.00

FIGURE 17: KDX-GF2 AND .KEY4X4 PHOTO

FIGURE 18: KDX-GF4 AND .KEY4X4 PHOTO

Page 26: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 18 KDX-xxx Rel. 5.00

CN6 - THIRD DISPLAY CONNECTOR

CN6 is 16 pins low profile connector pods, with 2.54 mm pitch.CN6 features all the control and command signals of LCD display (or LCD compatible) with standardpin out, that allows direct connection to most of them.In detail this connector is used to interface the following displays:

alphan. LCD 20x2 KDX-C2 alphan. VFD 40x2 KDX-F24alphan. LCD 40x2 KDX-C24 graph. VFD 140x16 KDX-GF2alphan. VFD 20x2 KDX-F2

so it is used only when one of above models is ordered.For further information about display connection please see paragraphs DISPLAYS MANAGEDand I/O CONNECTIONS.

FIGURE 19: CN6 - THIRD DISPLAY CONNECTOR

Signals description:

A (+) = O - Anod or positive terminal for LED backlighting of LCD display.K (-) = O - Kathod or negative terminal for LED backlighting of LCD display.DBx = I/O - Line x of display 8 bit data bus.R/W = O - Control signal to select read or write operation.E = O - Display enable signal.RS = O - Control signal to select between command or data operation.Vo , VLC = O - Contrast tension for LCD display.+5 Vdc , VDD = O - Display power supply voltage.GND , VSS = - Ground signal.

1 2

3 4

5 6

7 8

9 10

11 12

13 14

15 16

GND , VSS

VO , VLC

R/W

DB0

DB6

+5 Vdc , VDD

RS

E

DB1

DB5

DB3DB2

A (+) K (-)

DB7

DB4

Page 27: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 19 KDX-xxx Rel. 5.00

FIGURE 20: KDX-C2 AND .KEY4X4 PHOTO

FIGURE 21: KDX-F2 AND .KEY4X4 PHOTO

Page 28: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 20 KDX-xxx Rel. 5.00

CONTRAST REGULATION TRIMMER

On KDX-xxx board there is a trimmer that defines the contrast on LCD displays. This trimmer,named RV1, is set by grifo® to obtain the best display visibility in each working conditions andnormally the user must not change its position. In case of specific requirements, as external light verylow or very high, it can be changed by little rotation in both directions until the visibility is improved.For recognizing the location of contrast regulation trimmer, please refer to figure 6.

I/O CONNECTION

To prevent possible connecting problems between KDX-xxx and the external systems, the user hasto read carefully the previous paragraph information and he must follow these instrunctions:

- For all TTL signals the user must follow the rules of this electric standard. The connecteddigital signal must be always referred to card digital ground. For TTL signals, the 0V levelcorresponds to logic state 0, while 5V level corrisponds to logic state 1.

- Location of signals on all display connectors (CN4, CN5, CN6) is the same as the one on thedisplays, provided with the same connector type. When display is directly mounted onKDX-xxx printed circuit it is sufficient a male strip soldered on both sides: this is the standardconnection performed by grifo®. Viceversa when KDX-000 is ordered and the display ismounted far from the card, two male low profile connectors must be soldered: one on the backside of display (those without glass) and the other on component side of KDX-000. Afterthese two male connector can be linked through a common and cheap flat cable 1-by-1. Thislatter can be ordered from grifo® with codes: FLT 16+16 40 cm or FLT 20+20 40 cm.

- For all the displays featuring a connector mechanically incompatible with the correspondingon KDX-xxx, just connect the signals with the same name or the same function. To make this,it is possible to use a flat cable with standard female connector by card side and the sameconnector with proper connections by display side.

- To avoid driving problems and minimize the effects of eventual noises from the field,connectors CN2, CN4, CN5, CN6 can be connected with cables of maximum length 40 cm.

DISPLAYS MANAGED

Hardware structure of KDX-xxx can use most alphanumeric and graphic intelligent displayscurrently in commerce, both LCD and VFD fluorescent.As an example below is reported a list of displays tested, complete with type, part number,manufacturer and connector to use on KDX-xxx.

Page 29: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 21 KDX-xxx Rel. 5.00

FIGURE 22: DISPLAYS CONNECTABLE

Please remark that above mentioned part numbers may vary for secondary features like viewngangle, color of backlight, working temperature range, etc.To identify the most appropriate model it is suggested to read always the technical documentationof manufacturer; alternatively some of the listed displays can be purchased directly from grifo®.Appendix B reports the characters set of used models, corresponding to possible characters that theapplication program can shown.

JUMPERS

On KDX-xxx there is 1 jumper used for card configuration. By configuring this jumpers, the usercan define the power supply modalities as below described:

FIGURE 23: JUMPER TABLE

TYPE MODEL MANUFACTURER CONNECTOR

Alphan. LCD 20x2 SSC2A20DLYY-02 SDEC CN6

Alphan. LCD 20x4 SSC4A20DLYY-02 SDEC CN4

Alphan. LCD 20x4 AC204AYILY02 AMPIRE CN4

Alphan. LCD 20x4 BIG CMC420L03YBN CTC CN4

Alphan. LCD 40x2 L4042B1J000T SEIKO , TECDIS CN6

Alphan. VFD 20x2 CU20025ECPB-U1J NORITAKE ITRON CN6

Alphan. VFD 20x2 M202SD01B FUTABA CN5

Alphan. VFD 20x4 CU20045SCPB-U2J NORITAKE ITRON CN4

Alphan. VFD 20x4 M204SD02A FUTABA CN5

Alphan. VFD 40x2 CU40025SCPB-U1J NORITAKE ITRON CN6

Alphan. VFD 40x2 M402SD04CA FUTABA CN5

Graph. VFD 140x16 GU140x16G-7806 NORITAKE ITRON CN6

Graph. VFD 140x32 GU140x32F-7806 NORITAKE ITRON CN4

JUMPER CONNECTION FUNCTION DEF.

J1

not connectedCN3 power supply signals are not connectedto devices with high current consumption.

*

connectedCN3 power supply signals are connected todevices with high current consumption.

Page 30: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 22 KDX-xxx Rel. 5.00

To recognize these valid connections, please refer to the board printed diagram (serigraph) or tofigures 11 and 12 of this manual, where the pins numeration is listed; for recognizing jumper location,please refer to figure 6.The "*" denotes the default connection, or on the other hand the connection set up at the end of testingphase, that is the configuration the user receives.Further information about purpose of jumpers are reported in the following paragraphs POWERSUPPLY.

POWER SUPPLY

KDX-xxx interface is provided of two different connectors that solves in a efficent and comfortableway the problem to supply the boards in any situation. On the boards there are some different sections(keyboard interface, display, LCD backlight, LCD contrast, etc) featured by different consumptionsbut with the same power supply voltage: +5 Vdc ±5%.As described in the previous paragraphs there are two different connectors that supply power to thecard; each one of these normally is connected to a group of section as below described:

CN1 -> connected to high consumption sections = FUTABA VFD display on CN5 = LCD LED backlight on CN4 or CN6

CN3 -> connected to low consumtion sections = Keyboard interface = LCD or VFD display on CN4 or CN6 = Contrast voltage generation

The GND signals of both connectors are always connected together and with the other GND signalsof the card while +5 Vdc signals are separate. The jumper J1 can be used to connect together the two+5 Vdc signals, allowing the use of a single power supply signal for all the card sections.So the typical uses of jumper J1 are the following ones:

- When the control system connected to CN3 has enough current for all KDX-xxx sections, J1must be connected and the single power supply of the control system will completely powerall the interface.

- When the control system connected to CN3 has not enough current for all KDX-xxx sections,J1 must be not connected and a second power supply must be connected to CN1.

- The configuration J1 connected can be used also to carry in or out the single power supply (i.e.connect an external load to +5 Vdc of the control system, through CN1 connector; connect a+5 Vdc to CN1 and supply power to the control system through CN3, etc.)

The card is also provided with a distribuited filtering circuitery that saves the terminal from disturbsor noise from the field, improving the overall system performances.For further information please refer to paragraph ELECTRIC FEATURES and to APPENDIX Awhere is reported the electric diagram of the card.

Page 31: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 23 KDX-xxx Rel. 5.00

FIGURE 24: KDX-C24 AND .KEY4X4 PHOTO

Page 32: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 24 KDX-xxx Rel. 5.00

SOFTWARE DESCRIPTION

In the previous paragraphs all the hardware lines have been described and here follows a detaileddescription of function and meaning of digital I/Os (please always refer to the connectors figures tounderstand completely the following informations or to electric diagram in APPENDIX A).In the following paragraphs the indications D0÷D7 or .0÷.7 are used to refer the bits of thebyteinvolved in the I/O operations. Obviously this manual doesn't report information about themanagement of the 16 digital I/O lines in fact these depend on the used control system and the usermust search them in the proper technical manual.The software management of KDX-xxx can be performed in two different manners: high level andlow level mode as described in the following paragraphs.

HIGH LEVEL MANAGEMENT

This modality coincide with a firmware already developed and supplied by grifo® under the formof drivers or libraries. By adding this firmware to the used high level programming language (C,BASIC, PASCAL, etc.) the user can manage the keyboard as a console input device and the displayas a console output device. So all the high level instructions dedicated to console management areavailable for KDX-xxx management too, and the typical problems of data insertion, functionsexecution, formatted information visualization, and so on, are easily solved. In detail, according withprogramming languages, the following instructions directly act on KDX-xxx resources:

BASIC -> Print ; Input ; InkeyC -> Printf ; Puts ; Putch ; Getch ; Getche ; Scanf ; KbhitPASCAL -> Write ; Writeln ; Read ; Readln ; Keypressed

Thanks to the high level management the part of application software dedicated to operator interface,that often is one of the most important and difficult problems, is easily solved by any user with a greatreduction of development time.Actually grifo® has several ready to use high level management firmware for many microprocessorsand some different software tools, as:

Z80 based cards through GDOS or FGDOS romate operating system,I51 based cards through BASIC 52, BASCOM 8051 and µC/51,I86 based cards through GCTR,AVR based cards through BASCOM AVR and ICC AVR.

and detailed information about firmware integration, initialization procedures, console redirection,etc. are reported in the user manual of the same software tools.

LOW LEVEL MANAGEMENT

In this modality all the KDX-xxx resources are managed directly by user application program thatmust use the 16 digital I/O lines to drive display and acquire keyboard. Thus the applicationdevelopment will require more time and more knowledge, because everything (timing, lines,interrupts, formatting, ....) must be realized by the user.

Page 33: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 25 KDX-xxx Rel. 5.00

FIGURE 25: KDX-F24 AND .KEY4X4 PHOTO

Page 34: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 26 KDX-xxx Rel. 5.00

KEYBOARD

The keyboard management coincide with a periodic operation that checks if there is a pressed keyin that specific sample time or, in other words, if there is a cross row - column of the matrix connectedby a closed contact of the relative key. Each sampling time the scan procedure composed by thefollowing steps, must be performed:a) Disable the connected display by setting properly its control signals.b) Set the first column (Col 0) to low level by resetting the relative output lines to 0 logic state,

and mantain all the other columns to high level (logic state 1).c) Acquire the four rows status (Row 3 ÷ Row 0) by reading the status of the relative input lines.d) Check if some of the four acquired Rows are at low level (logic state 0): in this condition the

key connected on the cross Col 0 - Row n is pressed and viceversa.e) Save an index, counter, number, code according with software requirements, of the found

pressed keys.f) Repeat the steps b, c, d, e for the remaining columns (Col 1 ÷ Col 5).To ensure that no key pressed are lost it is suggested to perform the described scan at regular timeinterval, for example each 5 msec, by using a periodic interrupt responce routine associated to a pre-setted hardware Timer. To avoid wrong identifications of not stable pressed keys (recoils are typicalin these condtions) it must be used a debouncing tecnique that defines the key really pressed whenit has been found closed for at least 20 msec, equals to 4 sucessive scannings.The correspondences betwwen the matrix keyboard lines and the digital I/O lines on CN3 are belowreported:

PA.0 -> Col 0PA.1 -> Col 1 PC.7 -> Row 0PA.2 -> Col 2 PC.6 -> Row 1PA.3 -> Col 3 PC.5 -> Row 2PA.4 -> Col 4 PC.4 -> Row 3PA.5 -> Col 5

DISPLAY

The intelligent display management is based on a parallel communication performed through an 8bit data BUS and 3 control signals. The software must drive all these lines according with displayspecifications, in order to send commands and/or data to be displayed.The correspondences betwwen the display lines and the digital I/O lines on CN3 are below reported,both for standard display , FUTABA display:

PA.n -> DBn , DBn PC.0 -> RS , ----PC.1 -> R/W , ----- PC.2 -> E , /SELPC.3 -> ----- , /WR

When the software busy status of the display must be acquired, PA.n lines must be bidirectional,viceversa if proper delays are inserted in the software the 11 signals can be simple output lines.In normal applications the following operations must be executed to correctly use any type of display:a) Defines the digital I/O lines functiobnality according with signals direction.b) Initialize the display by sending proper commands.c) Send characters to display or command to be executed (i.e. clear, cursor shift, set addresses)

according to application requirements.A complete description of control signals waveforms, display commands,initialization sequence,characters locations and characters fonts are available in APPENDIX B and C of this manual.

Page 35: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 27 KDX-xxx Rel. 5.00

EXTERNAL CARDS

The typical application of KDX-xxx are those that require interaction between operator andcontrolled machine for data, status, measures, information exchanges. The card can be connected toa wide range of programmable devices provided of at least 16 digital I/O lines produced by grifo®,or to many system of other companies.Hereunder some of these cards are briefly described; ask the detailed information directly to grifo®,or search it on grifo® CD or web site, if required.

GPC® 150General Purpose Controller 84C15

Microprocessor Z80 at 16 MHz; implementation completely CMOS; 512K EPROM or FLASH;512K SRAM; RTC; Back-Up through external Lithium battery; 4M serail FLASH ; 1 serial line RS232 plus 1 RS 232 or RS 422-485 or current loop; 40 I/O TTL; 2 timer/counter; 2 watch dog; dipswitch; EEPROM; A/D converter with resolution 12 bit; activity LED.

GPC® 550General Purpose Controller 80C552

Microprocessor 80C552 at 22 MHz. 32K EPROM; 32 K RAM; 32 K EEPROM or SRAM; RTC;serial EEPROM; serial lines 1 RS 232 + 1 RS 232 or RS 422-485 or current loop; 40 I/O TTL; 2 linesof PWM; 16 bits timer/counter; watch dog; dip switch; 8 lines 10 bit A/D converter; interface forBUS ABACO®; CAN line galvanically isolated. Unique power supply +5 Vdc; EUROCARDformat.

GPC® 188FGeneral Purpose Controller 80C188

80C188 µP 20MHz; 1 RS 232 line; 1 RS 232, RS 422-485 or Current Loop line; 24 TTL I/O lines;1M EPROM or 512K FLASH; 1M SRAM Lithium battery backed; 8K serial EEPROM; RTC; watchdog; 8 dip switch; 3 timer counter; 8 13 bit A/D lines; Power failure; activity LEDs.

GPC® 15AGeneral Purpose Controller 84C15

Full CMOS card, 10÷20 MHz 84C15 CPU; 512K EPROM or FLASH EPROM; 128K RAM; 2K or8K backed RAM+RTC; 8K serial EEPROM; 1 RS 232 serial line; 1 RS 232, RS 422, RS 485 orcurrent loop line; 40 TTL I/O lines; 2 counters timers; 2 watch dogs; 2 dip switches, buzzer.

GPC® 153General Purpose Controller Z80

84C15 µP, 10÷16 MHz; Full CMOS; 1 RS 232 line; 1 RS 232 or RS 422-485 or Current Loop line;16 TTL I/O lines; 8 A/D 12 bits lines; 2÷4 Timers Counters; 512K EPROM or FLASH; 512K RAMand RTC backed; 8K serial EEPROM; Buzzer; 1 Activity LED; Watch dog; 8 readable DIPs; LCDInterface; ABACO® I/O BUS.

GPC® 553General Purpose Controller 80C552

80C552 µP, 22÷33 MHz; 1 RS 232 line (software); 1 RS 232 or RS 422-485 or Current Loop line;16 TTL I/O lines; 8 A/D 10 bits lines; 3 Timers Counters; 64K EPROM; 64K RAM; 32K RAM andRTC backed; 32K DIL EEPROM; 8K serial EEPROM; 2 PWM lines; 1 Activity LED; Watch dog;5 readable DIPs; LCD Interface; ABACO® I/O BUS.

Page 36: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 28 KDX-xxx Rel. 5.00

GPC® 184General Purpose Controller Z80195

Microprocessor Z80195 at 22 MHz; implementation completely CMOS; 512K EPROM or FLASH;512K RAM; Back-Up with Lithium battery internal or external; 1 serial line RS 232 + 1 RS 232 orRS 422-485 or current loop + 1 TTL; 18 I/O TTL; 4 timer/counter 8 bits; 2 timer 16 bits; Watch Dog;Real Time Clock; activity LED; EEPROM; interface for ABACO® I/O BUS.

GPC® 154“4” Type General Purpose Controller Z80

84C15 µP, 10 MHz; full CMOS; 1 RS 232 line; 1 RS 232 or RS 422-485 line; 16 TTL I/O lines; 512KEPROM or FLASH; 512K RAM and RTC backed; 8K serial EEPROM; 2÷4 timers/counters;Watchdog; 2 readable DIPs; LCD Interface; ABACO® I/O BUS; 5Vdc power supply. Size100x50 mm.

GPC® 884General Purpose Controller Am188ES

Microprocessor AMD Am188ES up to 40 MHz16 bits; implementation completely CMOS; serie 4format; 512K EPROM or FLASH; 512K SRAM backed with Lithium battery; RTC; 1 RS 232 serialline + 1 RS 232 or RS 422-485 or current loop; 16 I/O TTL; 3 timer/counter; watch dog; EEPROM;11 signals A/D converter with 12 bit resolution; interface for ABACO® I/O BUS.

GPC® 114General Purpose Controller 68HC11

Microprocessor 68HC11A1 at 8 MHz; type 4 format; 32K EPROM; 32K SRAM backed withLithium battery; 32K EPROM, SRAM, EEPROM; RTC; 1 serial line RS 232, RS 422 or RS 485;10 TTL I/O lines; 3 timers/counters; watch dog; 8 A/D converter signals with 8 bits resolution; 1synchronous serial line; extremly low power consumption; interface for ABACO® I/O BUS.

PIO 01Peripheral Input/Output

96 I/O TTL signals grouped in 12 ports 8 bit wide; 6 standard 20 pins I/O connectors; 4 PPI 82C55drive the signals; Watch dog with intervention time and modality selectable.

ETI 324Encoder Timer I/O, 3 counters, 24 I/O

Three timers counters driven by 82C54; bidirectional optocoupled encoder input; direction identifier;phases multiplier; 24 digital lines driven by 82C55 on two standard I/O ABACO® connectors;ABACO® I/O BUS interface; direct mounting for DIN 247277-1 and 3 rails; 4 type dimension.

SBP 02-xxSwitch BLOCK Power xx version

Low cost switching power supply able to generate voltage from +5 to +40 Vdc and current up to 2.5A; Input from 12 to 24 Vac; Connection for DIN C Type and Ω rails.

FBC xxxFlat Block Contactxxx pins

This interconnection system "wire to board" allows the connection to many type of flat cableconnectors to terminal for external connections. Connection for DIN Ω rails.

Page 37: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page 29 KDX-xxx Rel. 5.00

FIGURE 26: AVAILABLE CONNECTIONS DIAGRAM

Page 38: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page 30 KDX-xxx Rel. 5.00

BIBLIOGRAPHY

In this chapter there is a complete list of technical books, where the user can find all the necessarydocumentations on the components mounted on KDX-xxx.

Manual TEXAS INSTRUMENTS: The TTL Data Book - SN54/74 Families

Data sheets NORITAKE-ITRON: Vacuum Fluorescent Display module specification

Manual SDEC: LCD MODULE

Manual TECDIS: Liquid Crystal Display Modules

The described manual can be requested directly to manufacturer or local dealers. Alternatively thisinformation and/or upgrades can be found in specific internet web pages, of the listed companies.

Page 39: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page A-1 KDX-xxx Rel. 5.00

APPENDIX A: ELECTRIC DIAGRAM

FIGURE A1: ELECTRIC DIAGRAM

A

A

B

B

C

C

D

D

1 1

2 2

3 3

4 4

5 5

grifo®Title:

Date:

Page : of

Rel.

KDX-xxx

29 /09 /2003

LCD20x2 LCD20x4;40x2 VFD R1= 0Ω N.M. N.M.R2= N.M. N.M. N.M.R3= 18Ω 12Ω N.M.R4= 18Ω 12Ω N.M.R5= N.M. N.M. N.M.R6= 470ΩR7= 470ΩR8= 470ΩR9= 470ΩRR1= 10KΩ 9+1 SIPRR2= 22KΩ 9+1 SIPRV1= 10KΩ trimmerC1= 100nFC2= 22µF 6,3V TantaliumC3= 100nFC4= 100nFC5= 22µF 6,3V TantaliumCN1= 2 pins screw terminal connectorCN2= 10 pins, 90°, male stripCN3= 20 pins male low profile connectorCN4= LCD or VFD 20x4; 20x4 BIGCN5= VFD Futaba 20x2; 20x4CN6= LCD or VFD 20x2; 40x2IC1= 7407J1= 2 pins female jumper

+5 Vdc

1.4

I/O 20 pins

11

External Keyboard 4x6

CR

PA.7PA.6PA.5PA.4PA.3PA.2PA.1PA.0

PC.2PC.1PC.0PC.3

PC.4

GND

N.C.N.C.

PC.5PC.6PC.7

G K7 4 1A

LH2580

MI369

NJCDEF

7

CN3

8

RR1

563412

51 31 21 11 0987

1 31 61 5

1 1

1 81 7

1 29

1 4

1 0

654

654

1

1 6

3

21

1 6

1 51 5

3Vlc

J1

C1

C4+ C5

R1

R2

R3

R4

R5

RV1

+C2

R6

R7

R9

R8

4

CN2

3

2

1

8 7 6 5 9 1 0

C3

+5V

+5V

+5V

1 92 0

+5V

12

CN1

7407

6 4 2 1 2 1 0 8

5 3 1 1 3 1 1 9

1 4

7 IC1

1 4

CN6

1 31 21 11 0

987

1 4

CN4

2

1

CN5

+5V

3

79

1 11 31 5

1 8

1 7

2 01 6

1 41 0

42

8

6

1 2

C5

C5

C3

C3

C4

C4

C2

C2

C1

C1

C0

C0

DB7 DB7 DB7DB6DB6 DB6

DB5 DB5DB5DB4DB4 DB4DB3DB3 DB3DB2DB2 DB2DB1DB1 DB1DB0DB0 DB0

E ER/W R/W

RS RS

Vss Vss

K (-) K (-)

VddVdd

A (+)A (+)

Vlc

+5 Vdc

+5 Vdc

/SEL

/WR/TEST

Row3

Row2

Row1

Row0

Col0 Col1 Col2 Col3 Col4 Col5

GND

GND

BUSY

Page 40: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page A-2 KDX-xxx Rel. 5.00

The indication N.M. used in the previous figure means Not Mounted, in fact card component listchange according with installed display.Please note that the resistors value selected for LED backlight of the LCD display (R1, R2 and R3,R4, R5) are chosen according with grifo® used display models and they can be changed when adisplay with different requirements is connected.

Page 41: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page B-1 KDX-xxx Rel. 5.00

APPENDIX B: DISPLAY CHARACTERS

The following tables shows the characters sets displayed on KDX-xxx for all the possible receivedcharacters, according with ordered display and model.Even the not ASCII characters (or special characters) change when the display type changes and ifthe user requires a character set different from those described in the following figures, he can takea direct contact with grifo®.

FIGURE B1: KDX-F2, F4, F24, GF2, GF4 CHARACTERS TABLE IN ALPHANUMERIC MODE

Page 42: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page B-2 KDX-xxx Rel. 5.00

FIGURE B2: KDX-C2, C4 CHARACTERS TABLE

Page 43: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page B-3 KDX-xxx Rel. 5.00

FIGURE B3: KDX-C4B, C24 CHARACTERS TABLE

Page 44: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page B-4 KDX-xxx Rel. 5.00

FIGURE B4: KDX-GF2, GF4 CHARACTERS TABLE WITH MINIFONT GRAPHIC MODE

Page 45: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page B-5 KDX-xxx Rel. 5.00

FIGURE B5: KDX-GF2, GF4 CHARACTERS TABLE WITH KATAKANA GRAPHIC FONT

Page 46: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page B-6 KDX-xxx Rel. 5.00

FIGURE B6: KDX-GF2,GF4 CHARACTERS TABLE WITH EUROPEAN GRAPHIC FONT

Page 47: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page C-1 KDX-xxx Rel. 5.00

APPENDIX C: MOUNTING

DIMENSIONS

Here are dimensions of interface KDX-xxx relative to external perimeter and four mounting holes.Dimensions are in mm, scale is 1:1.

FIGURE C1: KDX-XXX DIMENSIONS

Dimensions of container for the occupied area can be slightly greater considering also the connectorsand cabling on the low side, up to a maximum of 117 x 95 x 32 mm (W x H x D).The dimensions reported in figure C1 do not consider the installed display but only KDX-xxx printedcircuit, so please remember that:

- KDX-C2, F2, C4, F4, GF2, GF4 the display is smaller that the listed dimensions;

- KDX-C4B, C24, F24 the display is larger that the listed dimension: to obtain asafe mounting it is preferible to use also the mountingholes of the display. In this condition the maximum sizechange according with ordered and used display, so theyare not listed in this manual.

69 m

m

117 mm

109 mm

4 mm

4 m

m

ø 3,5 mm mounting hole

77 m

m

Page 48: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page C-2 KDX-xxx Rel. 5.00

Page 49: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page D-1 KDX-xxx Rel. 5.00

APPENDIX D: ON BOARD DEVICES DESCRIPTION

grifo® provides a free technical documentation service through its manuals and/or web site, whereon board componentes data sheet can be found. In this chapter are reported the information aboutdisplay management.

DISPLAYPAGE 1 (LMC-SSC2A20-01 Serial)

1. Mechanical Specification

ITEM STANDARD VALUE UNITNUMBER OF CHARACTERS 20 CHARACTERS X 2 LINES --

CHARACTER FORMAT 5 X 8 DOTS --MODULE DIMENSION 115.0 (W) X 36.0 (H) X 10.5 (T) 115.0 (W) X 36.0 (H) X 15.0 (T) mm

VIEWING DISPLAY AREA 83.0 (W) X 18.6 (H) mmACTIVE DISPLAY AREA 73.5 (W) X 11.5 (H) mm

CHARACTER SIZE 3.20 (W) X 5.55 (H) mmCHARACTER PITCH 3.70 (W) X 5.95 (H) mm

DOT SIZE 0.60 (W) X 0.65 (H) mmDOT PITCH 0.65 (W) X 0.70 (H) mm

LMC-SSC2A20DRG-01 STN , Gray , 1/16 Duty , 6 O‘clockLMC-SSC2A20DRY-01 STN , Yellow Green , 1/16 Duty , 6 O‘clock

LMC-SSC2A20DEGB-01 STN , Gray , 1/16 Duty , 6 O‘clock , EL Backlight ( color is Blue )LMC-SSC2A20DEYW-01 STN , Yellow Green , 1/16 Duty , 6 O‘clock , EL Backlight ( color is White )LMC-SSC2A20DLGY-01 STN , Gray , 1/16 Duty , 6 O‘clock , LED BacklightLMC-SSC2A20DLYY-01 STN , Yellow Green , 1/16 Duty , 6 O‘clock , LED Backlight

EL Use Inverter Type SDEC-I002AInverter Input DC +5V V 40 mA

Inverter Output AC 90 ~ 110 V 400 ~ 700 HzBacklight Half-Lift Time 3,000 HR.

LED Backlight Color Yellow GreenBacklight Input DC +5.0V V 140 mA

Backlight Half-Lift Time 50,000 HR.

2. Mechanical Diagram

3. Interface Pin Connections 4. Black Diagram

NO SYMBOL LEVEL FUNCTION1 VSS -- GND ( 0V)2 VDD H/L DC +5V3 VO H/L Contrast Adjust4 RS H/L Register select5 R/W H/L Read/Write6 E H,H→L Enable signal7 DB0 H/L Data Bit 08 DB1 H/L Data Bit 19 DB2 H/L Data Bit 2

10 DB3 H/L Data Bit 311 DB4 H/L Data Bit 412 DB5 H/L Data Bit 513 DB6 H/L Data Bit 614 DB7 H/L Data Bit 715 A(+) DC+5V LED Backlight +16 K(-) 0V LED Backlight -

Page 50: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page D-2 KDX-xxx Rel. 5.00

Page 51: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page D-3 KDX-xxx Rel. 5.00

Page 52: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page D-4 KDX-xxx Rel. 5.00

Page 53: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page D-5 KDX-xxx Rel. 5.00

Page 54: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page D-6 KDX-xxx Rel. 5.00

CR

YS

TA

L C

LE

AR

TE

CH

NO

LO

GY

SD

N. B

HD

.

Sp

ec. N

o:

CM

C42

0-03

11

Rel

atio

nshi

p be

twee

n ch

arac

ter

code

(D

DR

AM

) an

d ch

arac

ter

patte

rn (

CG

RA

M)

Page 55: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page D-7 KDX-xxx Rel. 5.00

Not

e :

IR7,

IR

3 :

Inst

ruct

ion

7th

bit

, 3rd

bit

; A

C3

: A

ddre

ss C

ount

er 3

rd b

it.

PA

GE

4 (

LM

C-S

SC2A

20-0

1 Se

rial

)

12.

Init

ializ

atio

n of

LC

MT

he L

CM

aut

omat

ical

ly in

itial

izes

( r

eset

) w

hen

pow

er is

turn

ed o

n us

ing

the

inte

rnal

res

et c

ircu

it. I

f th

e po

wer

sup

ply

cond

ition

s fo

r co

rrec

tly o

pera

ting

of th

e in

tern

al r

eset

cir

cuit

are

not m

et, i

nitia

lizat

ion

by in

stru

ctio

n is

req

uire

d. U

se th

epr

oced

ure

is n

ext p

age

for

initi

aliz

atio

n.

Inte

rnal

Pow

er S

uppl

y re

set 4.

5V

Vcc

0.

2V

toff

°˜

°

trcc

°ˆ°–

°–°–

°–°–

°–°˜

(Not

e 1)

10

ms

°Ÿ tr

cc °

Ÿ 0.1

ms

, tof

f °Ÿ

1 m

s.(N

ote

2) to

ff s

tipul

ates

the

time

of p

ower

OFF

for

mom

enta

ry p

ower

sup

ply

dip

or w

hen

pow

er s

uppl

y cy

cles

ON

and

OFF

.

Item

Sym

bol

Tes

t co

ndit

ion

Lim

it (

Min

.)L

imit

(M

ax.)

Uni

tP

ower

sup

ply

rise

tim

etrc

c--

0.1

10m

sP

ower

sup

ply

off

tim

eto

ff--

1--

ms

1) 8

Bit

Inte

rfac

e2)

4 B

it In

terf

ace

Pow

er O

nPo

wer

On

Wai

t 15

ms

or m

ore

afte

r V

DD r

each

es 4

.5V

Wai

t 15

ms

or m

ore

afte

r V

DD r

each

es 4

.5V

Bus

y fl

ag c

an‘t

be

chec

ked.

Func

tion

set :

8 b

its b

efor

e th

is in

stru

ctio

n

RS

R/W

DB

7D

B6

DB

5D

B4

DB

3D

B2

DB

1D

B0

RS

R/W

DB

7D

B6

DB

5D

B4

00

00

11

**

**

00

00

11

Wai

t 4.1

ms

or m

ore

Wai

t 4.1

ms

or m

ore

Bus

y fl

ag c

an‘t

be

chec

ked.

Func

tion

set :

8 b

its

RS

E/W

DB

7D

B6

DB

5D

B4

DB

3D

B2

DB

1D

B0

RS

R/W

DB

7D

B6

DB

5D

B4

00

00

11

**

**

00

00

11

Wai

t 10

0 µ

s or

mor

eW

ait

100 µ

s or

mor

e

Bus

y fl

ag c

an‘t

be

chec

ked.

Func

tion

set :

8 b

its b

efor

e th

is in

stru

ctio

n

RS

R/W

DB

7D

B6

DB

5D

B4

DB

3D

B2

DB

1D

B0

RS

R/W

DB

7D

B6

DB

5D

B4

00

00

11

**

**

00

00

11

Func

tion

set :

8 b

its

RS

R/W

DB

7D

B6

DB

5D

B4

RS

R/W

DB

7D

B6

DB

5D

B4

DB

3D

B2

DB

1D

B0

00

00

11

00

00

11

NF

**

Func

tion

Set

0 00 0

0 N0 F

1 *0 *

00

00

00

10

00

Dis

play

Off

0 00 0

0 10 0

0 00 0

00

00

00

00

01

Dis

play

Cle

ar0 0

0 00 0

0 00 0

0 10

00

00

00

1I/

DS

Ent

ry M

ode

Set

0 00 0

0 00 1

0 I/D

0 S

End

of

Initi

aliz

atio

nE

nd o

fIn

itial

izat

ion

Bus

y fl

ag is

che

cked

aft

er in

stru

ctio

ns a

re c

ompl

eted

. If

busy

fla

y is

n‘t c

heck

ed, t

he w

aitin

g tim

e be

twee

n

inst

ruct

ions

sho

uld

be lo

nger

than

exe

cutio

n tim

e of

thes

e in

stru

ctio

ns.

Page 56: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page D-8 KDX-xxx Rel. 5.00

Page 57: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page E-1 KDX-xxx Rel. 5.00

APPENDIX E: ALPAHABETICAL INDEX

Simboli

.KEY4x4 10

A

Alphanumeric 4, 20Applications 2ASCII B-1Assistance 1

B

Backligh 4Backlight 15, 18, 22, A-2BASIC language 24Bibliography 30Blocks diagram 3

C

C language 24Characters B-1Column 10, 26Commands 26, D-2Components map 13Connections 8, 29Connectors 6, 9

CN1 8CN2 10CN3 12CN4 14CN5 16CN6 18

Console 24Consumption 7, 22Container 1, 39Contrast regulation 20Control signals 15, 16, 18, 26, D-7Current 7, 22

D

Data bus 15, 16, 18, 26, D-7Default 22Dimension 6, C-1Display 4, 7, 14, 16, 18, 21, 26, 30, B-1, C-1, D-1Drivers 24

Page 58: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page E-2 KDX-xxx Rel. 5.00

E

Electric diagram A-1Electric features 7Expansion 27External cards 27

F

Featureselectric 7general 6physical 6technical 6

Firmware 24Flat cable 20Font alphanumeric B-1Font graphic B-4FUTABA 14, 22, 26

G

General features 6General information 2Graphic 4, 20

H

High level 24Holes C-1Humidity 6

I

I/O ABACO® 12I/O connection 20I/O lines 12, 24, 26Initialization 26, D-7Installation 8

J

J1 21, 22Jumpers 9, 21

K

Keyboard 4, 10, 26

Page 59: KDX-xxx - grifo

ITALIAN TECHNOLOGY grifo®

Page E-3 KDX-xxx Rel. 5.00

L

LCD 4, 7, 14, 18, 20, 21, 22, 30Length of connections 6, 20Libraries 24Low level 24

M

Manufacturer 21Matrix keyboard 4, 10, 26Models 2, 33Mounting 6, C-1

P

PASCAL language 24Photo

KDX-000 5KDX-C2 19KDX-C24 23KDX-C4 15KDX-C4B 11KDX-F2 19KDX-F24 25KDX-F4 15KDX-GF2 17KDX-GF4 17

Physical features 6Port 12, 26Power consumption 7Power supply 8, 12, 21, 22Power voltage 7

R

Resources 6Row 10, 26RV1 20

S

Size 6, C-1Software 24, D-2Special characters B-1

T

Technical features 6Temperature 6

Page 60: KDX-xxx - grifo

grifo® ITALIAN TECHNOLOGY

Page E-4 KDX-xxx Rel. 5.00

Trimmer 9, 20TTL 12, 20, 30

U

User characters B-1, D-6

V

Version 1VFD 4, 7, 14, 16, 18, 21, 22

W

Warranty 1Weight 6