Datasheet
EA uniTFT Vorläufig
Designation Command Description
File/directory Change pro-
perties
#FFA <Path>, Fileattribute Sets a new attribute for the Path file spe-
cified. The File Attribute parameter is de-
signed as follows:
Write-protected 0x01
Hidden 0x02
System 0x04
Archive 0x20
The flag attributes can be combined
through simple bit ORing.
Saving a uniTFT file #FSO <Path>, File-Data Saves an object file of the uniTFT's (e.g.
*.epg) in the specified path Path.
Load file names into string
register
#FNF <Path> (Arbeitsverzeichnis) Saves the number in Register R1 and the
name of the files in S1, S2, ... from the des-
tination folder Path S. number Should, for
example, the two directories "Project1" and
"Project2" be present in the destination fol-
der, as well as the file "start.emc", the num-
ber “1” is saved in Register R1, and the
“start” string in the String Register S1.
Load directory names into
string register
#FND <Path> (Arbeitsverzeichnis) Saves the number in Register R1 and the
names of the folders in S1, S2, ... from the
destination folder Path S. number Should,
for example, the two directories "Project1"
and "Project2" be present in the destination
folder, as well as the file "start.emc", the
number “2” is saved in the register R1, the
"Project1" string in the String Register S1
and the “Project2” string in the String Regis-
ter S2.
FILE TIME
The file time is comprised of the date and time together. In the FAT file system, the time specification has a reso-
lution of 2 s, calculated as from 00:00:00 hours on 01/01/1980.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Date JYear, counting from 1980 (0..127) Month(1..12) Day(1..31)
Time Hour(0..23) Minute (0..59) Second/2 (0..29)
Brief example for converting the time:
Date = ((Year-1980)<<9) + (Month<<5) + Day;
Time =(Hour<<11) + (Minute<<5) + (Second>>1);
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 102