This is my archive

PLCnext App Integration Guide

PLCnext App Integration Guide Learn all about creating apps for the PLCnext Store in this PLCnext App Integration Guide.  PLCnext Apps A PLCnext App(in the following also called “app” for short) is a collection of functionalities bundled into one large file that can be understood and executed by the PLCnext Runtime System. Each app may contain multiple different… Read More

License check 

License check  In case of a chargeable app a license check should be integrated into the app. For this purpose the RSC service Arp::System::Lm::Services::ILicenseStatusService::GetLicenseStatus(uint32 firmCode, uint32 productCode, uint32 featureCode=0) is available. See the RSC documentation reference  in the main PLCnext Info Center. This function is integrated… Read More

Building a PLCnext App

Building a PLCnext App Independent of the amount and types of your app parts the general way to build the app is always identical. The necessary changes you need to include for every app part will be detailed below the general build process. The description of each app part… Read More

Alternative creation of an app container on a Linux desktop PC 

Alternative creation of an app container on a Linux desktop PC  In some cases the command plcnextapp cannot be used for generating the app container, e.g. because this creation step should be integrated into a build process which cannot access a PLCnext Control. In this case the SquashFS of the app… Read More

Diagnostic log files 

Diagnostic log files  All status and error information related to app management are saved in the following two log files: /opt/plcnext/logs/Output.log: All status and error messages of the PLCnext firmware, including those of the app management components /opt/plcnext/logs/plcnextapps.log: status and error messages of the plcnextapp command line… Read More

Creation of an app container 

Creation of an app container  The Linux command plcnextapp is available under /usr/bin and is used to create an app container.   The following parameters are supported: create e.g.: plcnextapp create /opt/plcnext/myapp My App example e.g.: plcnextapp example  … Read More

App installation states

App installation states PLCnext Apps must be installed and uninstalled using either the PLCnext Store or the web-based management (WBM) hosted on the controller. In the background, both the PLCnext Store and the WBM interact with the AppManager on the controller to handle the app installation and run states. A PLCnext App can have… Read More

App container 

App container  A PLCnext App is stored in a SquashFS container (see Squash FS on Wikipedia). A SquashFS container stores a folder and file structure in a single compressed file. The SquashFS containers of all installed and started apps are mounted by the AppManager in the Linux file system at… Read More

Command Line Tools 

Command Line Tools  A Command Line Tools app part makes it possible to integrate functionalities (cmd tools) into a system that are usable via the command line and that can be started from a shell without specifying the full path to the tool executable binary. Necessary additions… Read More

Configuration of the PLCnext Runtime Services 

Configuration of the PLCnext Runtime Services  If you need access or sometimes exclusive access to PLCnext System Services in your app or a PLCnext System Service is not allowed to be running when your app run, you can state this in the “plcnextservices” field of the app_info.json. This… Read More