Matrix-orbital GLC24064 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel Matrix-orbital GLC24064. Matrix Orbital GLC24064 User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Revision: 2.0

GLC24064Technical ManualRevision: 2.0

Page 2 - Contents

Figure 5: Electrical ConnectionsTable 1: Connectors & FunctionsConnector Function4 pin Power (Vdc) and I2C communica-tions or RS-232DB-9F RS-232 /

Page 3

Table 2: Connector PinoutPin 4 GroundPin 3 SDA (I2C data) / RxPin 2 SCL (I2C clock) / TxPin 1 Vdc2.1.2 Five volt Power CableIf a display module is use

Page 4

NOTE The connector provided does not allow access to the middle two pins which areused for I2C communications. If this functionality is required, Matr

Page 5 - 1 Introduction

Figure 10: Twelve Volt Power CableNOTE The connector provided does not allow access to the middle two pins, which areused for I2C communications. If t

Page 6 - 1.4 Trying Out the GLC24064

Figure 12: Power Jumper DB-92.2 Communications2.2.1 RS-232 Communications and DB-9 Connector pinoutA standard DB-9F is provided for RS-232 communicati

Page 7 - 1.4.1 Here’s what to do:

Table 4: RS-232 PinoutPin Number Direction Description LCD Host2 Data from LCD Data Out (LCD) Tx Rx3 Data to LCD Data In (LCD) Rx Tx5 - Ground gnd gnd

Page 8 - 1.6 Memory Chip Lock Down

2.2.3 I2C CommunicationsThe display has I2C communications running at 100 Kbps and up to 127 units can exist on a singlecommunications line. The displ

Page 9 - 2 Connections

2.2.4 ACKThe idea of ACK is to indicate when the data has been received correctly. ACK does not indicate dataincorrectly received. ACK simply fails to

Page 10

Figure 18: Clamping a Relay3 Displaying TextThis chapter describes the various text-display commands in detail. Before issuing commands to theGLC24064

Page 11 - 2.1.2 Five volt Power Cable

3.3 Text CommandsIn this section commands are identified by their names and decimal values.3.3.1 Auto Scroll On (254 81)When auto scrolling is on, it c

Page 12

ContentsContents ii1 Introduction 11.1 What to Expect From the GLC24064 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to E

Page 13

3.3.6 Set Current Font (254 49 [font ID])This command instructs the display to use the font specified by [font identifier] as the default font. Thevalue

Page 14 - 2.2 Communications

In-line bitmaps are processed horizontally and each byte represents a horizontal row of 8 bits, with thenext byte representing the next 8 bits to the

Page 15

4.2.2 Draw Line (254 108 [x1][y1][x2][y2])This command will draw a line from (x1,y1) to (x2,y2) using the current drawing color. Lines may bedrawn fro

Page 16 - C Communications

• [type = 3] Horizontal right referencedThe bar graphs may be located anywhere on the display, but if they overlap, they will not display properly.NOT

Page 17 - 2.3 General Purpose Output

4.2.11 Initialize Strip Chart (254 106 [ref][x1][y1][x2][y2])A ’strip chart’ is an area of the screen reserved for horizontal scrolling. This is norma

Page 18 - 3 Displaying Text

4.3.1 Enter Flow Control Mode (254 58 [full][empty])NOTE Flow control applies only to the RS-232 interface. It is not available for I2C.This command e

Page 19 - 3.3 Text Commands

When a file is being downloaded with the same ’name’ or reference number as the previously existingfile, the old file needs to be deleted first. It is imp

Page 20 - 4 Displaying Graphics

5.3.2 Purge Memory (254 33 89 33)This command completely erases the display’s non-volatile memory. It removes all fonts, font metrics,bitmaps, and set

Page 21 - 4.2 Graphics Commands

Table 7: File Format0xFF 0xFF X size Y size Start End O-High O-LowWidth O-High O-Low Width O-High O-Low Width O-HighO-Low Width O-High O-Low Width O-H

Page 22

Table 8: Uploading the file to the ModuleHost sends Module sends0xfe’$’ (command))’2’ (reference’2’ (echo reference)0x01 (host confirms echo)0x5e (low s

Page 23

4.2.6 Draw Solid Rectangle (254 120 [color][x1][y1][x2][y2]) . . . . . . . . . . . . . . . 184.2.7 Initialize Bar Graph (254 103 [ref][type][x1][y1][x

Page 24 - 4.3 Flow Control

Figure 20: Bitmaps for h, i, and jNow the bitmaps have to be converted to bytes. If the font is 8 bits high, it will become a fairly simplejob because

Page 25 - 5 Fonts and Graphics Files

Table 10: Explanation of Bytes in the FileFF FF placeholders for actual EOF05 font width07 font height68 first ASCII character defined70 last ASCII char

Page 26 - 5.3 Commands

6.1.2 Set Contrast (254 80 [contrast])This command sets the display’s contrast to [contrast], where [contrast] is a value between 0x00 and0xFF (betwee

Page 27 - 5.4 Working with Font Files

6.1.8 Set I2C Address 254 51 [address])This command sets the I2C write address of the module. This value must be an even number and theread address is

Page 28

6.1.11 Set Serial Number (254 52 [byte1] [byte2]Modules may be delivered with the serial number blank. In this case the user may set the desired 2 byt

Page 29 - 5.4.3 A Sample Font File

in the BASIC program.Or, with C the user could (using Zcomm serial library)ZComm1->WriteCommByte(0xfe);ZComm1->WriteCommByte(’X’);7.3 On Numbers

Page 30

Table 14: Example of an ASCII TableThe letter A has a value of 65 decimal or 41 hexThe letter a has a value of 97 decimal or 61 hexThe number 0 has a

Page 31 - 6 Miscellaneous Commands

Command Syntax Default NotesSet text insertion point totop leftFE 48254 72254 ’H’This commandmoves the textinsertion pointto the top leftof the displa

Page 32

Command Syntax NotesDraw Outline Rectangle FE 72[color][x1][y1][x2][y2]254 114[color][x1][y1][x2][y2]254 ’r’[color][x1][y1][x2][y2]Draws a rectangular

Page 33 - C Address 254 51 [address])

Command Syntax Default NotesErase file FE B0 [type] [ref]254 173 [type] [ref]n/a Erases file inmemory. Type =1 is font, type = 5is bitmap. [ref] isrefer

Page 34 - 7 Appendix: Command Summary

7.5 Graphics Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337.6 File System Commands . . . . . . . . . . . . .

Page 35 - 7.3 On Numbers

Command Syntax Default NotesBacklight on FE 42 [minutes]254 66 [minutes] 254 ’B’[minutes]on Backlight willstay on for [min-utes]. If [minutes]= 0 back

Page 36 - 7.4 Text Commands

Command Syntax Default NotesSet Serial Number FE 34 [byte1][byte2]254 52 [byte1][byte2]254 ’4’ [byte1][byte2]This is a one-time-use com-mand whichwork

Page 37 - 7.5 Graphics Commands

Table 25: Optical CharacteristicsPixel Layout 240 x 64 pixels XxYNumber of Characters 320 (maximum 40 characters x 8Lines with 5x7 font)Display Area 1

Page 38 - 7.6 File System Commands

Figure 22: Physical LayoutMatrix Orbital GLC24064 39

Page 39 - 7.7 Miscellaneous Commands

8.1 OptionsTable 26: Options Available on Standard Product LineExtended Temperature EWide Voltage VWide Voltage with Efficient Switching Power Supply V

Page 40

1 IntroductionThe GLC24064 is equipped with the following features;• 240 x 64 pixel graphics display• Text display using built in or user supplied fon

Page 41 - 8 Appendix: Specifications

• The port number to be used. (Usually COM1 or COM2)• The baud rate for the connection. It is best to use 19,200 for initial start-up of the display•

Page 42

1.4.1 Here’s what to do:Figure 2: Connections for Testing1. Refer to the Figure above for the following steps.2. Wire the connector to the power suppl

Page 43 - Matrix Orbital GLC24064 39

1.5 Manual Over-rideManual over-ride should only be required in one instance. If for some reason the module is set at a baudrate which cannot be produ

Page 44 - 8.1 Options

Figure 4: Memory Chip LockdownTo lock down the memory chip simply solder the jumper in the ’red box’ and cut the trace where the ’redX’ is. This will

Commentaires sur ces manuels

Pas de commentaire