Horner APG XL6 OCS User Manual
Page 82
CH.13 MAN0883-05-EN
March 4, 2010
Page 82 of 135
#1037
Figure 13.6 – Removable media viewer
The currently selected entry is indicated by a yellow highlight which can be moved up or down by
touching the arrow buttons or by directly touching an entry. If more entries exist than can fit on the page,
a scroll bar is displayed on the right side that also indicates the current relative position.
File operations are accomplished by pressing the appropriate button at the bottom of the removable
media viewer. The configuration of the removable media object that invokes the removable media viewer
defines what buttons are enabled and available to the user. A button is grayed and does not respond to
touch if configured as disabled.
The (Enter) button (if enabled) performs certain operations based on the selected file’s type:
..
- change display to parent directory
- change display to child directory
bmp, jpeg
- display bitmap (if compatible format)
pgm
- load application (if compatible model and version)
Alternately, the (enter) button can be configured to simply load the ASCII representation of the file path
(including the file name) to a group of OCS registers. That pathname can then be used by ladder for
opening and manipulating that file.
Once view operations are complete, simply touch the Esc button to remove the pop-up removable media
viewer.
If the removable media is used in an application, the removable media device requires changing by the
operator, and the application is attempting to write to the removable media when it is removed, the screen
designer should create objects that allow the operator to temporally halt access to the removable media.
This prevents corruption to the file system if the removable media is removed during a file write sequence.
The graphic objects should set OCS register %SR174.1 (when requesting the card be removed) and
provide an indicator based on OCS register %SR174.2 (which indicates that it is safe to remove the
removable media).