1 functions, 1 cursor functions, 2 character displaying – EUCHNER HBLS 072725 Benutzerhandbuch

Seite 39

Advertising
background image

EUCHNER Pendant station HBLS 072725

067018-08-01/06

Subject to technical modifications

page 17 / 22

10.1 Functions


10.1.1 Cursor Functions

Command Byte

Description

Parameter

0x21

cursor to the next character

0x22

cursor to the previous character

0x23

cursor to the next line

0x24

cursor to the previous line

0x25

cursor to the LCD home position

0x26

cursor to the beginning of a line

0x27

cursor to a defined position

line (0x30..0x37), column (0x30..3F)


Example of a data block, which first places the cursor at the display home position and then
at line 2, column 3:

0x6C 0x25 0x27 0x32 0x33



10.1.2 Character displaying

In order to display a character at the actual cursor position, it has to be written in the data
block. The cursor will then be set to the next position (except at the end of the display).

Example of a data block, which displays the text

Euchner at the actual cursor position:

0x6C 0xA5 0xD5 0xC3 0xC8 0xCE 0xC5 0xD2


A text can also be displayed with different attributes by using Command-Bytes as shown in
the following table.

Command Byte

Description

Parameter

0x40

Inverse on, all following characters will be displayed inverse

0x41 Inverse

out

0x42

Flash on, all following characters will be displayed flashing

0x43 Flash

off


Example of a data block which displays the text

Euchner inverse at the actual cursor

position:

0x6C 0x40 0xA5 0xD5 0xC3 0xC8 0xCE 0xC5 0xD2 0x41


Attributes will be kept set up unless they are set back.












Advertising