MAN1032-10-EN_EXL6_UserManual
March 12, 2020
152 | 191
17.12 Removable Media (RM) Features
—
Additional Configuration
a. Alarms
—
Alarm data can be logged to a .CSV file stored on Removable Media.
b. Screen Capture
—
The screen capture function allows a bitmap or jpeg image of the displayed
OCS screen to be written to the Removable Media card.
c. Filename Counters
—
The filename counters can be accessed wherever Removable Media
functions require a path name. A typical application is the auto-incrementing of a file name
when doing screen captures.
d. File Select
—
File Select is used to specify the register block that is used with the Removable
Media Manager object ‘Write Selected Filename’ option.
17.13 Filenames used with the Removable Media (RM) Function Blocks
The RM function blocks support the flash with a DOS/Windows standard FAT16 file system. All
names must be limited to the “8.3” format where the filename contains eight characte
rs 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.
Table 17.2
–
Filename Special Symbols
Symbol
Description
Example
$Y
Substitutes the current 2 digit year
2015 = 15
$M
Substitutes the current month with a 2 digit code March = 03
$D
Substitutes the current day
22
nd
= 22
$h
Substitutes the current hour in 24-hour format
4 pm = 16
$m
Substitutes the current minute
45 = 45
$s
Substitutes the current second
34 = 34
NOTE: All the symbols start with the dollar sign ($) character. Date symbols are in upper case,
time symbols are in lower case. The following are examples of the substituted time/date
filenames:
Current date and time
= March 1, 2013 3:45:34 PM
Filename: Data$M$D.csv
= Data0301.csv
Filename: Year$Y\Month$M\aa$D_$h.csv
= Year04\Month03\aa01_15.csv
Filename: Month_$M\Day_$D\$h_$m_$s.csv
= Month_03\Day_01\15_45_34.csv