
migra MPB CAN
Large Format Graphics Compatible LED Display with CANopen Interface
Page 24
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach
+49 9681 91960-0,
+49 9681 91960-10, [email protected], www.microsyst.de
3.7.3.4 Drawing a Rectangle
Byte 1
Byte 2
Byte 3
Byte 4
ESC
Function
Foreground colour (perimeter)
Background colour (filling)
1B
h
“R”
(52
h
)
“0” (30
h
): black
“1” (31
h
): green
“2” (32
h
): red
“3” (33
h
): yellow
“0” (30
h
): black
“1” (31
h
): green
“2” (32
h
): red
“3” (33
h
): yellow
“T” (54h): transparent
Upper Left-Hand Corner Position:
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
X position
hundreds
X position
tens
X position
ones
Y position
hundreds
Y position
tens
Y position
ones
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
Lower Right-Hand Corner Position:
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Byte 16
X position
hundreds
X position
tens
X position
ones
Y position
hundreds
Y position
tens
Y position
ones
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
“0” - “9”
(30
h
-39
h
)
The perimeter of the rectangle is drawn with the foreground colour.
The rectangle is filled with the background colour.