10 system registers used with rm – Horner APG XL7 OCS User Manual
Page 37
![background image](/manuals/414261/37/background.png)
XL7 User Manual
Table 9.1 – Filename Special Symbols
Symbol
Description
Example
$Y
Substitutes the current 2 digit year
2004 = 04
$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 that 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
9.10 System Registers used with RM
%SR175 Status
This shows the current status of the RM interface
%SR176 Free Space
This 32-bit register shows the free space on the RM card in bytes
%SR178 Card Capacity
This 32-bit register shows the total card capacity in kilobytes
Possible status values are shown in the table:
For additional status information, consult the Cscape help file.
Table 9.2 – RM Status Values
0
RM interface OK
1
Card present but unknown format
2
No card in slot
3
Card present, but not supported
4
Card swapped before operation was complete
5
Unknown error
Page 37 of 110