USB import & export
Move documents and images between a controller and a USB stick.
Where Backup & restore moves everything at once, import and export move one thing at a time. Use it to carry a screen you built on one cell to another, to bring in a company logo, or to keep a document under version control on a PC.
Everything here goes through the UD1: port and needs a FAT32 stick — see
Installation for why, and what to do with a larger drive.
File types
Section titled “File types”| Extension | Holds |
|---|---|
.hmi |
One document — every screen, control and tag it uses |
.thm |
One theme |
.csv |
A document’s tags, for editing in a spreadsheet |
.png .jpg .jpeg .gif .bmp |
Pictures, imported from the Images panel |
A document carries its own tags, so exporting a .hmi and importing it on
another controller brings the bindings with it. What it does not bring is the
signals themselves: if the destination robot has the clamp on a different output,
the tag still says DO[5] and needs repointing.
Exporting
Section titled “Exporting”- Insert a stick into the
UD1:port. - Open the Documents panel and choose the document.
- Press Export and confirm the filename.
Themes export from the Theme panel and tags from the Tags panel, the same way.
Importing
Section titled “Importing”- Insert the stick and open the panel for the thing you are importing.
- Press Import and pick the file from the list.
The picker lists only files of the matching type. Images are filtered to the formats the
runtime can draw: .png, .jpg, .jpeg, .gif and .bmp.
An imported picture is copied onto the controller and becomes part of the
document, so it travels with a .hmi export and is included in a backup. Its
name is cleaned up on the way in and made unique against what is already there,
so a picture may not keep exactly the name it had on the stick — and importing
the same one twice leaves two copies under different names.
Importing a document that already exists asks first. Importing tags from a .csv
merges by name.
Related
Section titled “Related”- Backup & restore — everything at once, with a manifest.
- Tags — what travels inside a
.hmi. - Themes — exporting a look to reuse across documents.