Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1537

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.5.3 Compressing graphic files
January 2012
Use the ZIP packer to compress graphic files (e.g. PLC soft keys, support
graphics for cycles, or the startup screen) in order to save memory space. For
example, the size of a 2-MB bitmap file (*.bmp, *.bmx) can be reduced to
40 KB with the ZIP packer. You have two basic possibilities:
Zipping individual files (e.g. the startup screen):
Compress the graphics file and give the ZIP file the following name:
[File name].[extension].zip
Example:
The startup screen startup_1024x768.bmp is compressed and saved as
startup_1024x768.bmp.zip to PLC:\resource. Make sure to remove the
original startup_1024x768.bmp file, since the control first searches for
uncompressed files. If the uncompressed *.bmp does not exist, then the
control automatically uses the ZIP archive whose file name contains the
graphics file. The file is automatically unzipped and displayed at run-time.
Zipping entire directories (e.g. all support graphics)
You can compress all graphics files in a directory into one ZIP archive. You
must use the directory name as the name of the ZIP archive. The original
directory must be renamed or deleted.
Example:
The following cycle support graphics are contained in the PLC:\oemcyc\hlp\nc
directory:
- PLC:\oemcyc\hlp\nc\help1.bmp
- PLC:\oemcyc\hlp\nc\help2.bmp
- PLC:\oemcyc\hlp\nc\help3.bmp
A ZIP archive with the file name hlp.zip is now created with the following
contents:
- nc\help1.bmp
- nc\help2.bmp
- nc\help3.bmp
The ZIP file is saved in the PLC:\oemcyc directory, and the uncompressed
original PLC:\oemcyc\hlp\nc directory is removed or renamed.
The path to the zipped graphics file help1.bmp from the example above is:
- PLC:\oemcyc\hlp\nc\help1.bmp or
- PLC:\oemcyc\hlp.zip\nc\help1.bmp
8.5 Data Organization
1537

Advertisement

loading