
8.10
Data storage resources
The user has access to user-defined files to be stored for miscellaneous purposes via
the DSL motor feedback system data storage resources.
User data is stored in the non-volatile memory (EEPROM) and protected automatically
by CRC checksums. The CRC mechanism provides the user with a very high level of reli‐
ability for error detection in relation to the storage of user data.
The following figure contains workflows for handling data storage. Each step represents
an individual resource access (long message).
Figure 32: Workflows for data storage
(a) Writing to a new file, (b) Reading from a file, (c) Writing to an existing file, Polling the
status of an existing file, (e) Deleting a file
8.10.1
Load file
To be able to access an existing file, it must first be loaded using this resource. Direct
read access to load file returns the defining values:
Table 152: Load file defined values
Defining value
Offset
Value
RID
130h
Resource name
0
"LOADFILE"
Data size
1
8
Read access level
2
15
Write access level
3
1
Time overrun
4
130
Data type
5
0Bh - string
Mandatory
yes
It should be noted that only one file can be loaded at a time. When loading a new file,
any hitherto loaded file is discarded.
A file remains loaded until another file is loaded or the DSL motor feedback system is
reset or shut down.
A file is specified with its file name that is transmitted to the long message data buffer.
If the file name is unknown, the "directory" resource (see
) can be used
to search for existing files.
The file name can be up to 8 bytes long. Each byte represents one ASCII character. The
end of the file name (when less than 8 bytes) is indicated by the character "\0" (00h). It
should be noted that upper or lower case characters are valid.
8
MOTOR FEEDBACK SYSTEM RESOURCES
126
T E C H N I C A L I N F O R M A T I O N | HIPERFACE DSL
®
8017595/ZTW6/2018-01-15 | SICK
Subject to change without notice