GLC24064Technical ManualRevision: 2.0
Figure 5: Electrical ConnectionsTable 1: Connectors & FunctionsConnector Function4 pin Power (Vdc) and I2C communica-tions or RS-232DB-9F RS-232 /
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
NOTE The connector provided does not allow access to the middle two pins which areused for I2C communications. If this functionality is required, Matr
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
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
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
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
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
Figure 18: Clamping a Relay3 Displaying TextThis chapter describes the various text-display commands in detail. Before issuing commands to theGLC24064
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
ContentsContents ii1 Introduction 11.1 What to Expect From the GLC24064 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to E
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
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
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
• [type = 3] Horizontal right referencedThe bar graphs may be located anywhere on the display, but if they overlap, they will not display properly.NOT
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
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
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
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
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
Table 8: Uploading the file to the ModuleHost sends Module sends0xfe’$’ (command))’2’ (reference’2’ (echo reference)0x01 (host confirms echo)0x5e (low s
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
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
Table 10: Explanation of Bytes in the FileFF FF placeholders for actual EOF05 font width07 font height68 first ASCII character defined70 last ASCII char
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
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
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
in the BASIC program.Or, with C the user could (using Zcomm serial library)ZComm1->WriteCommByte(0xfe);ZComm1->WriteCommByte(’X’);7.3 On Numbers
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
Command Syntax Default NotesSet text insertion point totop leftFE 48254 72254 ’H’This commandmoves the textinsertion pointto the top leftof the displa
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
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
7.5 Graphics Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337.6 File System Commands . . . . . . . . . . . . .
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
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
Table 25: Optical CharacteristicsPixel Layout 240 x 64 pixels XxYNumber of Characters 320 (maximum 40 characters x 8Lines with 5x7 font)Display Area 1
Figure 22: Physical LayoutMatrix Orbital GLC24064 39
8.1 OptionsTable 26: Options Available on Standard Product LineExtended Temperature EWide Voltage VWide Voltage with Efficient Switching Power Supply V
1 IntroductionThe GLC24064 is equipped with the following features;• 240 x 64 pixel graphics display• Text display using built in or user supplied fon
• 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•
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
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
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
Komentarze do niniejszej Instrukcji