8 removable media (rm) function blocks in cscape – Horner APG XL7 OCS User Manual
Page 36
![background image](/manuals/414261/36/background.png)
XL7 User Manual
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.
9.7
Using Removable Media to View and Capture Screens
The XL7 OCS File System uses bitmap files with the .BMP extension or JPEG files with the .JPG extension
to store XL7 OCS graphic screen captures.
To view a captured XL7 OCS screen, use the Removable Media Manager to find and highlight the desired
.BMP or .JPG file, and then press Enter.
To capture an XL7 OCS screen, turning On the assigned Screen Capture Control Register will capture the
current XL7 OCS graphics screen and write it to the MicroSD card using the assigned Screen Capture
Filename.
Before capturing an XL7 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.
9.8
Removable Media (RM) Function Blocks in Cscape
NOTE: For detailed information regarding RM function blocks and parameters, refer to the help file
in Cscape Software. Refer ‘USB Flash Media support for RM Functions’ for USB flash drive access
details.
The following RM functional blocks are available in Cscape Software. These function blocks will
reference
- MicroSD when filename is prefixed with ‘A:’ or nothing OR
- USB A Flash Drive when filename is prefixed with ‘B:’.
Read RM csv
Allows reading of a comma-separated value file from the MicroSD interface into
the controller register space.
Write RM csv
Allows writing of a comma-separated value file to the MicroSD interface from
the controller register space.
Rename RM csv
Allows renaming a file on the RM card. The data in the file is not changed.
Delete RM csv
Allows deleting a file on the RM card
Copy RM csv
Allows copying a file on the RM card. The data in the file is not changed.
9.9
Filenames used with the Removable Media (RM) Function Blocks
The RM function blocks support the flash with a DOS/Windows standard FAT-16 file system. All names
must be limited to the “8.3” format where the filename contains eight characters a period then a three-
character extension. The entire filename including any path must be less than or equal to 147
characters.
When creating filenames and directories it is sometimes desirable to include parts of the current date or
time. There are six special symbols that can be entered into a filename that are replaced by the OCS
with current time and date information.
Page 36 of 110