AXC 3050
84
PHOENIX CONTACT
8686_en_01
4.13
Function blocks for handling files on the parame-
terization memory
The function blocks are used to access files from within the application program. Some of
the blocks support multiple instantiation. This means that it is possible to work with a number
of different files within the same project. The blocks perform the standard functions that are
required for typical file access operations.
The FILE_NOTIFY block is available in addition to the blocks for typical file access opera-
tions. This block can be used to detect files that have been modified in a directory containing
user files. These modifications may include:
–
Deletion of one or more files
–
Writing one or more new files
–
Modification of one or more existing files
Both modifications made to this directory via FTP (remote) and modifications made locally
via function blocks or firmware services can be detected.
The functional blocks are valid for:
All file operations are subject to the following restrictions:
No directory hierarchies are supported. All file operations only affect the root directory of
the parameterization memory.
Order designation
As of hardware version
As of firmware version
AXC 3050
01
5.50
Table 4-5
Overview of the function blocks
Function block
Short description
FILE_OPEN
Opens a file with a specific name
FILE_CLOSE
Closes a file with a specific handle
FILE_READ
Reads from a file with a specific handle
FILE_WRITE
Writes to a file with a specific handle
FILE_REMOVE
Deletes a file with a specific name
FILE_TELL
Determines the current position of the file pointer in a file
FILE_SEEK
Moves the current file pointer to a new position
FILE_NOTIFY
Displays files that have recently been created, deleted or mod-
ified
The function blocks for handling files on the parameterization memory are described in
the PC Worx online help.
Summary of Contents for AXC 3050
Page 1: ...User manual Installation and operation of the AXC 3050 controller UM EN AXC 3050...
Page 8: ...AXC 3050 8 PHOENIX CONTACT 8686_en_01...
Page 10: ...AXC 3050 10 PHOENIX CONTACT 8686_en_01...
Page 34: ...AXC 3050 34 PHOENIX CONTACT 8686_en_01...
Page 94: ...AXC 3050 94 PHOENIX CONTACT 8686_en_01...
Page 110: ...AXC 3050 110 PHOENIX CONTACT 8686_en_01...
Page 136: ...AXC 3050 136 PHOENIX CONTACT 8686_en_01...
Page 144: ...AXC 3050 144 PHOENIX CONTACT 8686_en_01 U Updating the firmware 133...