FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
04-04-2022 05:11 PM - edited 04-04-2022 05:23 PM
Is it possbile to update the PLC application by copying the PLC files to a particular file path on the core?
Edit: Maybe a better question is, can I create an archive of the PLC file structure and load that from a) another app or b) the plc application itself?
Solved! Go to Solution.
04-05-2022 08:10 AM - edited 05-18-2022 10:29 AM
The internal storage of the PLC is also part of the app data (configuration) so it can be accessed via the web interface of the control or via WebDav:
04-05-2022 08:28 AM
What is the concrete use case you want to realize? Normally we recommend to use the configuration data provided by managed app data dialogue and accessible by ctrlX CORE Solutions API. Thus you are able to load the desired configurations instead of copying files manually .
kind regards
04-05-2022 03:04 PM - edited 04-05-2022 03:06 PM
I have two use cases.
1) A serial machine with different IO manufactures. One machine may have Bosch Rexroth IO, another Beckhoff, another Pheonix... Commisioning from the software automatically so that an engineer is not required for serial commissioning is desired. In this case I propose to build each applicaiton independently and preserve the file structure of the PLC app. When the required system is to be commsionied the selected file structure would be loaded.
2) A machine without network access must be updated by an end-user. One possible solution would be to overwrite the PLC file structure with the selected files while preserving other machine files. Having the end-user do this step is not feasible or desirable.
04-06-2022 08:59 AM
Hello,
from my point of view all the use cases can be handled via ctrlX CORe configurations. They can be downloaded on ctrlX CORE and while commissioning the desired configuration is to be set as the active one. If it is not yet on ctrlX CORE it can be downloaded via REST API.
That's the way I recommend.
kind regards
04-06-2022 02:24 PM
@georkueh , thank you for the reply.
I don't think this is an acceptable solution for some equipment manufacturers. Perhaps some cases can be dealt in this way but others, including case number 2 from above can't:
2) A machine without network access must be updated by an end-user. One possible solution would be to overwrite the PLC file structure with the selected files while preserving other machine files. Having the end-user do this step is not feasible or desirable.
The solution is not possible during commisinoing because the program update is to be performed after the machine is in production. Some end-user may have many controllers in their facilites and the OEM may not want to make available the configuration files or have the End-User gain access to the ctrlx configuration.
I don't think a new feature is required I just want to understand what files must be copied to achieve the end result.
04-06-2022 05:11 PM
I need to agree. Here's why.
I have an OEM that produces 300 machines per year. Those machines are located in some plants that allow internet connectivity to the machines via VPN. Others do not allow any outside connection to their machines. These end user locations are also not that experienced on control systems, much less a platform as advanced as ctrlX. What they are familiar with is being able to plug in an sd card or USB drive to upgrade their machine programs or firmware.
From the OEM perspective this also allows a simple file transfer via email or ad hoc to get an end user updated or modified without the inevitable I.T. Department fight to get access to the machine. We can't just look at what is now capable via the cloud, we also need to allow OEM customers to support their machines in a way their customers are familiar and comfortable with.
04-12-2022 03:01 PM
@CodeShepherd, what are the essentials files to copy to and from the controller to update an application? Would application.core/crc/app do the trick?
04-27-2022 10:13 AM - edited 01-13-2023 04:13 PM