
Chapter
4
Reference Manual
IVC-2D
170
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
System
Write Table To Flash
This tool writes a section of the current table to the flash memory on the camera and the
data will be stored on a readable text file.
Frequent writing to flash devices will wear down the device. Never include a write table to
flash step which will run in every program cycle. This tool should only be used in a special
section of the step program which is only executed when e.g. an operator changes some
operation parameters. Failure to comply with this warning will eventually result in a broken
flash device.
Note:
This tool may perform an automatic defragmentation of the flash disk if the amount
of dead space exceeds the specified threshold. Please refer to section
in the appendix for information on how to set this threshold. This will signifi-
cantly increase the execution time of the tool. Note also that this is only the case when the
camera is running, not when executing the tool with F5/F8. In the latter situation, an error
code will be returned indicating that it is time to defragment the flash.
Input Parameters
01 = Table index
Index of the first table element to be stored on flash.
02 = Number of
elements
The number of table elements to be stored on flash.
03 = File name
Name of the file on flash where the data will be stored.
04 = Warning!
Wears down flash
The tool will only work if this parameter is set to ‘Accept’. The
default value is ‘Do not accept’. This is a safety precaution to
reduce the risk of accidental inclusion of the step in your main
loop.
Returned Values
01 = Result
0 – Everything is ok.
-1 – Warning! Wears down flash was not set to Accept.
1 – The file could not be written, most likely because the flash
disk is full
Error Messages
ITF Error = 2
Timeout. The execution time to save image bank on flash
is too long. Increase the timeout limit (
Options
Æ
Configura-
tion
on the IVC Studio menu bar).
Err. = 8960
The amount of dead space on the flash exceeds the
specified threshold. Please defragment the disk by using
the Clear Unused Memory option on the Flash menu in the
Device list.
Err. = 8961
The automatic defragmentation failed. The camera may
need to be restarted to restore the flash.
Warning: