EasyManua.ls Logo

HORNER HEXT251C216 - Using Removable Media to Log Data; Using Removable Media to Load and Save Applications; Using Removable Media to View and Capture Screens

Default Icon
194 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MAN0964-13-EN_XL4_UM
A u g u s t 6 , 2 0 2 1 P a g e 153 | 194
16.5 Using Removable Media to Log Data
Using Read and Write Removable Media function blocks, an application ladder program can read
and write XL4 OCS register data in the form of comma-delimited files, with a .csv extension.
These files are compatible with standard database and spreadsheet PC programs. In addition,
an application ladder program can use Rename and Delete Removable Media function blocks to
rename and delete files.
16.6 Using Removable Media to Load and Save Applications
A special file type, with a .pgm extension, is used to store XL4 OCS application programs on
microSD.
To load an application from microSD to the XL4 OCS, use the Removable Media Manager (open
the Removable Media Manager in the System Menu) to find and highlight the desired .PGM file,
and then press the Enter key.
To save an application from the XL4 to microSD, open the Removable Media Manager in the
System Menu and press the Save Pgm function key. The application will be saved in a file
called DEFAULT.PGM in the microSD root directory.
NOTE: Saving an application to microSD can only be done from the Removable Media
in the System Menu and is not available on a Removable Media Manager object that
was placed on an application graphics screen by Cscape.
Cscape can also save an application directly to a microSD card, which is plugged into the PC’s
microSD compatible card reader by selecting the Export to Removable Media item on the
Cscape File menu.
16.7 Using Removable Media to View and Capture Screens
The XL4 OCS File System uses bitmap files with the .BMP extension or JPEG files with the .JPG
extension to store XL4 OCS graphic screen captures.
Before capturing an XL4 OCS screen, Cscape must first be used to assign a Screen Capture
Control Register and Filename in the application. To do this, first open the Graphics Editor by
selecting the View / Edit Screens item on the Cscape Screens menu. Next, select the Screen
Capture item of the Graphics Editor Config menu and then enter a Control Register and
Filename.
To capture an XL4 OCS screen, turning On the assigned Screen Capture Control Register will
capture the current XL4 OCS graphics screen and write it to the microSD card using the
assigned Screen Capture Filename. To view a captured XL4 OCS screen, use the Removable
Media Manager to find and highlight the desired .BMP or .JPG file, and then press Enter.

Table of Contents