EA KIT160-7LWTK ELECTRONIC ASSEMBLY, EA KIT160-7LWTK Datasheet - Page 19

LCD Graphic Display Modules & Accessories Blue/White Contrast RS-232 Snap-In Kit

EA KIT160-7LWTK

Manufacturer Part Number
EA KIT160-7LWTK
Description
LCD Graphic Display Modules & Accessories Blue/White Contrast RS-232 Snap-In Kit
Manufacturer
ELECTRONIC ASSEMBLY
Datasheet

Specifications of EA KIT160-7LWTK

Pixel Density
160 x 128
Module Size (w X H X T)
129 mm x 102 mm x 33 mm
Viewing Area (w X H)
92.76 mm x 74.2 mm
Backlighting
LED
Background Color
Blue, White
Attached Touch Screen
Yes
Product
Graphic LCD Module
Style
LCD Graphic Display
Interface
RS-232
Display Mode
Blue Negative
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ESC
Reads in the input port (n1=1..8 = IN1..IN8). When n1=0, all the inputs are read in as 8-bit binary values
(MSB:IN8...In1:LSB); see application on page 5. Important: The optocouplers invert the input logic (input open: 1).
The command "ESC Y I 1" puts this right (input open: 0).
Example: $1B
Reads in port IN3. The result is sent via RS232.
ESC
Changes the output port (n1=1..8 = OUT1..OUT8) to the value n2 (0=low level; 1=high level; 2=invert port). When
n1=0, all the outputs are output as a binary value n2 (MSB:OUT8...OUT1:LSB); see application on page 5.
Example: $1B
Switches the output port OUT2 to high level.
ESC
Each change at the input port (8-bit binary value IN8..IN1) can call a port macro (0..255). This command activates
(n1=1) or deactivates (n1=0) the automatic port query. After power-on, the current port status is read and the
associated port macro executed immediately.
Example: $1B
Activates the automatic port query and executes the associated port macro.
ESC
This command allows the logic of the input port to be inverted (n1=0 for normal or n1=1 for inverse). This is useful
with the optocoupler inputs, for example.
Example: $1B
Inverts the input port logic.
ESC
Writes the string text... left justified (L), centered (Z) or right justified (R) at position
x1 taking into account the set text mode (ESC L). Multi-line text can also be output,
with the lines separated by the character '|' (=$7C). The string must be concluded with
NUL= $00. Position y1 is the upper edge of the 1st line.
Example 1: Writes the text "Left|Ok" left justified at 0,0.
$1B $5A $4C $00 $00 $4C $65 $66 $74 $7C $4F $6B $00
Example 2: Writes the text "Center|Ok" centered at 25,0.
$1B $5A $5A $19 $00 $43 $65 $6E $74 $65 $72 $7C $4F
$6B $00
Example 3: Writes the text "Right|Ok" right justified at 49,0.
$1B $5A $52 $31 $00 $52 $69 $67 $68 $74 $7C $4F $6B
$00
ESC
Writes the string text... rotated by 90° degrees top justified (O), vertically centered (M) or bottom justified (U) at
position y1 taking into account the text mode (ESC L). Multi-line text can also be output, with the lines separated
by the character '|' (=$7C). The string must be concluded with NUL= $00. Position x1
is the right edge of the 1st line.
Example 1: Writes the text "Top|Ok" top justified at 49,0.
$1B $5A $4F $31 $00 $54 $6F $70 $7C $4F $6B $00
Example 2: Writes the text "Mid|Ok" vertically centered at 49,15.
$1B $5A $4D $31 $0F $4D $69 $64 $7C $4F $6B $00
Example 3: Writes the text "Bot|Ok" bottom justified at
$1B $5A $55 $31 $1F $42 $6F $74 $7C $4F $6B $00
Y
Y
Y
Y
Z
Z
R
$59 $52
W n1 n2
$59 $57
A
$59 $41
I
$59 $49
L/Z/R
O/M/U
n1
n1
n1
$03
$02
$01
$01
x1 y1 text...
x1 y1 text...
$01
NUL
NUL
Automatic port query on/off
EA KIT160-7
Write output port
49,31.
Horizontal string
Invert input port
Read input port
Vertical string
19

Related parts for EA KIT160-7LWTK