Directories of the firmware components
You can access the controller via SFTP or via SSH, view the directories and files in the Linux® file system (on the internal flash memory and on the SD card), and modify them if necessary.
Directories and files that Phoenix Contact provides are stored on the internal flash memory of the controller. If you make changes to the directories or files, the Linux® operating system generates an Overlay File System. It is used to combine contents of a read-only partition with a read-write partition. The read-write partition is stored either at the external SD card or (if no SD card is present) in a dedicated partition of the internal flash memory.
Important directories in the root file system
First generation of PLCnext Control devices
Valid with AXC F 1152, AXC F 2152, AXC F 3152, RFC 4072S, RFC 4072R, EPC 1502, EPC 1522, BPC 9102S
| Directory | Contents |
|
/opt/plcnext |
Home directory of the |
|
/opt/plcnext/config |
Directory for storing configuration files. |
|
/opt/plcnext/config/System/Um |
Directory for storing configuration files of the User Manager. |
|
/opt/plcnext/logs |
Directory for storing the log files of the diagnostic logging as well as the database of the Notification Logger. |
|
/opt/plcnext/projects |
Directory for storing project directories and files |
|
/opt/plcnext/projects/Default |
Directory for storing project directories and files downloaded manually by the user |
|
/opt/plcnext/projects/PCWE |
Directory for storing PLCnext Engineer projects; PLCnext Engineer exclusively manages all files and subdirectories in this directory. Do not make any changes to this directory. |
|
/opt/plcnext/projects/Splc |
Directory for storing SPLC data (safety-related controller) |
|
/opt/plcnext/Security |
Directory for storing certificates of |
|
Directory for storing HTTPS certificates. |
|
|
/opt/plcnext/Security/TrustStores/<name> |
Directory for storing the Trust Stores. Each subdirectory corresponds to the name of a Trust Store. |
|
/opt/plcnext/Security/TrustStores/Empty |
This Trust Store is used by the firmware internally. Do not make any changes to this directory, its subdirectories, or the files in it. |
|
/opt/plcnext/Security/IdentityStores |
Directory for storing the Identity Stores. Each subdirectory corresponds to the name of an Identity Store. |
|
/opt/plcnext/Security/IdentityStores/IDevID |
This Identity Store is used by the firmware internally. Do not make any changes to this directory, its subdirectories, or the files in it. |
|
/opt/plcnext/apps |
The PLCnext Store manages the directory. Do not make any changes to this directory. |
|
/opt/plcnext/installed_apps |
Directory for storing all installed app containers. This directory belongs to the PLCnext Store. |
|
/opt/plcnext/appshome |
Directory for storing and managing app data. The PLCnext Store and the installed apps manage the directory. Do not make any changes to this directory other than those recommended in the app documentation. |
|
/opt/plcnext/lttng |
Directory for storing the default configuration files for tracing via LTTng. |
|
/opt/plcnext/lttng_traces |
Directory for storing trace files. The directory is created during runtime of the trace controller when the trigger function for storing the trace files is called for the first time. Each time the trigger function of the memory is called, a new subdirectory (trace directory) for storing the current trace data is created. |
|
/opt/plcnext/backup |
Directory for download changes operations. |
|
/opt/plcnext/data/Services/BackupAndRestore |
Directory for storing backups created in the Backup & restore WBM 2 page. |
|
/opt/plcnext/retaining |
Directory for storing remanent data. |
|
/opt/plcnext/retaining/backups |
Directory for storing backup files that contain the retain variable values and its corresponding retain CRC along with the project name. |
|
/opt/plcnext/shadowing |
Directory for storing shadow copies of C++ user libraries and Shared Object (.so) files related to PLM components. |
|
/usr/local/lib |
Directory for storing additional open-source libraries that customized C++ programs use (see C++ programming). |
|
/usr/share/common-licenses |
License information on the individual Linux packages of the controller. |
Secure-by-default generation of PLCnext Control devices
Valid with Virtual PLCnext Control, AXC F 1252
Note: On Secure-by-default PLCnext Control devices additional folder restrictions can be defined for security reasons - see Access control lists.
| Directory | Contents |
|
/home/admin |
Home directory of the |
|
/opt/plcnext/ |
Root directory of the device firmware. No write permission on this level, see subdirectories in the following rows. |
|
/opt/plcnext/custom |
Files written by the application program are stored in this directory if the specified file name does not contain a storage path. |
|
/opt/plcnext/config |
Directory for storing configuration files. |
|
/opt/plcnext/config/System/Um |
Directory for storing configuration files of the User Manager. |
|
/opt/plcnext/logs |
Directory for storing the log files of the diagnostic logging as well as the database of the Notification Logger. |
|
/opt/plcnext/projects |
Directory for storing project directories and files |
|
/opt/plcnext/projects/Default |
Directory for storing project directories and files downloaded manually by the user |
|
/opt/plcnext/projects/PCWE |
Directory for storing PLCnext Engineer projects; PLCnext Engineer exclusively manages all files and subdirectories in this directory. Do not make any changes to this directory. |
|
/opt/plcnext/projects/Splc |
Directory for storing SPLC data (safety-related controller) |
|
/opt/plcnext/config/System/Security |
Directory for storing certificates of |
|
/opt/plcnext/config/System/Security/Certificates/https |
Directory for storing HTTPS certificates. |
|
/opt/plcnext/config/System/Security/TrustStores/<name> |
Directory for storing the Trust Stores. Each subdirectory corresponds to the name of a Trust Store. |
|
/opt/plcnext/config/System/Security/TrustStores/Empty |
This Trust Store is used by the firmware internally. Do not make any changes to this directory, its subdirectories, or the files in it. |
|
/opt/plcnext/config/System/Security/IdentityStores/<name> |
Directory for storing the Identity Stores. Each subdirectory corresponds to the name of an Identity Store. |
|
/opt/plcnext/config/System/Security/IdentityStores/IDevID |
This Identity Store is used by the firmware internally. Do not make any changes to this directory, its subdirectories, or the files in it. |
|
/opt/plcnext/apps/mounted |
The PLCnext Store manages the directory. Do not make any changes to this directory. |
|
/opt/plcnext/apps/installed |
Directory for storing all installed app containers. This directory belongs to the PLCnext Store. |
|
/opt/plcnext/appshome |
Directory for storing and managing app data. The PLCnext Store and the installed apps manage the directory. Do not make any changes to this directory other than those recommended in the app documentation. |
|
/opt/plcnext/config/Services/TraceController |
Directory for storing the default configuration files for tracing via LTTng. |
|
/opt/plcnext/lttng_traces |
Directory for storing trace files. The directory is created during runtime of the trace controller when the trigger function for storing the trace files is called for the first time. Each time the trigger function of the memory is called, a new subdirectory (trace directory) for storing the current trace data is created. |
|
/opt/plcnext/data/Plc/Backup/backup |
Directory for download changes operations. |
|
/opt/plcnext/data/Services/BackupAndRestore |
Directory for storing backups created in the Backup & restore WBM 2 page. |
|
/opt/plcnext/data/Plc/Retain/retaining |
Directory for storing remanent data. |
|
/opt/plcnext/data/Plc/Retain/retaining/backups |
Directory for storing backup files that contain the retain variable values and its corresponding retain CRC along with the project name. |
|
/opt/plcnext/data/Plc/Plm/shadowing |
Directory for storing shadow copies of C++ user libraries and Shared Object (.so) files related to PLM components. |
|
/usr/local/lib |
Directory for storing additional open-source libraries that customized C++ programs use (see C++ programming). |
|
/usr/share/common-licenses |
License information on the individual Linux packages of the controller. |
See also