Assume that I have a lot of devices in the field. I would like to create a project and download or copy Codesys Source Codes of it to each device without using Codesys. Is it possible?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, this is possible and there are a few options. Automation Server is an option, and invoking the python scripting commands is another option. Python scripts can be used to access different CODESYS components including logging in and downloading. To run a script from the command line without opening the IDE you can do the following:
If you have remote access to the CODESYS directory on the device, you could download your own .app and .crc files, update the bootproject in the .cfg file, then start the runtime. It should start your downloaded project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Assume that I have a lot of devices in the field. I would like to create a project and download or copy Codesys Source Codes of it to each device without using Codesys. Is it possible?
Yes, this is possible and there are a few options. Automation Server is an option, and invoking the python scripting commands is another option. Python scripts can be used to access different CODESYS components including logging in and downloading. To run a script from the command line without opening the IDE you can do the following:
Here is the scripting guide for using python with CODESYS: https://content.helpme-codesys.com/en/ScriptingEngine/ScriptProjects.html
Hope this helps!
If you have remote access to the CODESYS directory on the device, you could download your own .app and .crc files, update the bootproject in the .cfg file, then start the runtime. It should start your downloaded project.