Source Code Download/Upload in Automation \ Builder

The menu items “Sourcecode upload” and “Sourcecode Download” are accessible via right click on context menu of the PLC node in Automation Builder tree.

../_images/5f72fb7e4600082d0a33139000eba54e

The source code downloads and stores the complete actual project as a Zip-file with all necessary files on the PLC’s SD card .

The source code upload retrieves a previously downloaded project from SD card to a selectable directory on the Automation Builder PC and optionally opens Automation Builder with this uploaded project.

Internally both these commands are invoking a hidden instance of CODESYS V2.3 which is then working in batch mode to accomplish the download/upload. This is important to know for troubleshooting: most of the error messages which could occur during the process are raised by CODESYSV2.3 and will then be displayed in Automation Builder as a result message box (the language of the message box is the installed language of CODESYS V2.3, the messages are sometimes quite “basic”).

Before using these commands the following checks should be done to get a successful operation:

  • No CODESYSV2.3 instance started from within Automation Builder on the same PLC node should be running.
  • To perform the download/upload, CODESYS V2.3 must be able to login to the PLC .Therefore the gateway settings should be correct and saved to project file. It is recommended to test once the ability of CODESYS V2.3 to login to the PLC.
  • A formatted SD card must be mounted in the PLC’s SD card slot.