SOFTWARE MANUAL C32
14.4 COMMANDS FOR GRAPHICS_FRAMES
Small graphics can be sent directly as parts of the data stream (graphics data as part of command sequences). This
needs relatively much storage capacity. Therefore it is advisable to file often needed graphics as a logo in the AddOn of
the flash memory and to open them if needed.
Graphics sent directly as part of the data stream can be scaled if necessary. Scaling logos is not provided. These must be
filed in the AddOn area in all necessary sizes.
14.4.1 INSERT LOGOS
Width and height of the logo are saved.
So the necessary frame size can be automatically configured.
[Command Identifier]
GrLogo
[Parameter]
sequential number of the Logo
[Example]
display Logo number 3
[GeBE#GrLogo3]
14.4.2 DEFINE GRAPHICS DATA
To reduce the size of the necessary storage capacity graphics data ought to be compressed. The following table shows
the supported compressions and their names, which are part of the graphics command.
Name of compression
Description
U
uncompressed graphics
bit 7 of the first byte contains the dot which is furthest left
R
Run-Length-Encoded (RLE) graphics
series of 2byte sequences ("runs") consisting of
•
1 byte number of repetitions of the following graphics byte
•
1 byte uncompressed graphics data
(bit 7 contains the dot which is furthest left)
T
Tagged Image File Format (TIFF) revision 4.0
Series of packets, the first byte of which is a control byte (int8_t) with its prefix and its value
being interpreted as follows:
•
The value of the control byte incremented by 1 serves as numerator (<number>)
•
The prefix gives the quantity and interpretation of the trailing bytes:
•
positive prefix:
<Number> tailing bytes: uncompressed graphics bytes
•
negative prefix:
1 trailing byte: <number> plus trailing byte = RLE sequence
•
INFO: If control byte == 0, both possible interpretations lead to the same result.
GeBE Elektronik und
phone
+49.89.894141-0
GeBE-document-no. SoMAN-C32-E-V2.2-0793
Feinwerktechnik GmbH
fax
+49.89.894141-33
date
July 7, 2020
Beethovenstraße 15
page 118 | 166
82110 Germering
Our general terms of business are to be applied.
Germany
Internet
www.gebe.net
Errors and changes reserved.