Functionalities

Filesystem Name As of CPU firmware Description
userdisk V3.0.0

Boot project (size deends on PLC type)

WEB visu files for web server

Symbol file for OPC server and CP600 panels

User data via CAA_File_xxx.lib *)

Files via Automation_Builder file download

Files via FTP server

V3.1.0 Save persistent data
SRAM V3.1.0 Save retain and persistent data
system V3.0.0 Load / save boot project
Firmware update
Internal system files
flashdisk V3.1.0

User data via CAA_File_xxx.lib *)

Files via Automation_Builder file download

Files via FTP server

sdcard V3.0.0

Firmware update,

User data via CAA_File_xxx.lib *)

Files via Automation_Builder file download

Files via FTP server

V3.1.0

Save persistent data

Boot project (size depends on PLC type)

*) Examples for the filename with path (sFileName for FILE.Open) specified by the user (‘mydir’ is optional, but must be an existing directory):

  • ‘userdisk/myfile.txt’
  • ‘sdcard/mydir/myfile.txt’
  • ‘flashdisk/myfile.txt’

Note

The maximum number of files opened at the same time is limited to 1007.

The max. length of the user string (path and filename) is 241 characters.

Note

Unlike the PLC’s memory areas like %M or Retain, where 1 byte actually consumes 1 byte, all storage device utilize a file system.

That means there is a difference between a files size and its size on the disk.

On disks the files are stored in so-called clusters which are a group of disk sectors. “Size on disk” refers to the amount of cluster(s) a file is taking up, while “file size” is an actual byte count of the file data. So you will usually find that the size on disk is larger than the file size. This is not an error, but a result of the disk organization via a file system. Since sector and cluster sizes vary depending on a disk’s size and the used file system, the ratios between the size on disk and the file size also vary between the various storage devices.