Table 35: User Set control standard SFNC commands
Command
Description
Access
UserSetLoad[UserSetSelector]
Loads the User Set specified by
UserSetSelector
from the devi‐
ce's non-volatile memory and makes it active.
W
UserSetSave[UserSetSelector]
Saves the User Set specified by UserSetSelector to the non-
volatile memory of the device.
W
16.2.11
File access control
Normally, the user must not edit these features. They are used by system GUI functions
such as firmware update and PC side calibration.
Table 36: File access control standard SFNC selectors
Selector
Type
Description
FileSelector
enum
Selects the target file in the device.
Values:
Testfile
Update
CurrentLog
AllCrashLogs
FirmwareUpdateLog
Calibration
CalibrationCurved
UserFile
UserSet1-5
FileOperationSelector
enum
Selects the target operation for the selected file in the device.
Values:
Open
Close
Write
Read
Delete
Table 37: File access control standard SFNC parameters
Parameter
Type
Description
Access
FileAccessOffset[FileSelector][FileOpera‐
tionSelector]
int
Controls the Offset of the mapping between the device file
storage and the FileAccessBuffer.
RW
FileAccessLength[FileSelector][FileOper‐
ationSelector]
int
Controls the Length of the mapping between the device file
storage and the FileAccessBuffer.
RW
FileOperationStatus[FileSelector][FileO‐
perationSelector]
enum
File operation execution status.
Values:
Success
Failure
R
FileOperationResult[FileSelector][FileO‐
perationSelector]
int
File operation result.
For Read or Write operations, the number of successfully
read/written bytes is returned.
R
FileOpenMode[FileSelector]
enum
Selects the access mode in which a file is opened in the
device.
Values:
Read
Write
ReadWrite
RW
FileSize[FileSelector]
int
The size of the selected file, in bytes.
RW
ANNEX
16
8026049//2021-04 | SICK
O P E R A T I N G I N S T R U C T I O N S | Ruler3000
109
Subject to change without notice