The user can configure a source code download (i.e. the project archive of the open project) to an memory card of any V2 PLC defined in the project. This ensures that the project on a PLC matches the current application, i.e. for maintenance purposes the project can be uploaded directly from the PLC.
The automatic source code download ensures that the V2 PLC always has the up-to-date project archive on its memory card. With each online change or download of the application program (that can be triggered via Automation Builder or via CODESYS editor) the Automation Builder will send the current project archive to the PLCs memory card.
Enable one of the given project options in the 'Timing' section to trigger an automatic source code download on each online change or application download.
-
The option ‘Only on demand’ will never trigger any automatic download.
-
The option ‘Prompt at program download and online change’ will prompt a dialog before downloading the source code. Only one dialog is prompted, even if multiple consecutive actions in CODESYS might have triggered a download. By this, a user can finish configuring all required changes in the application program before Automation Builder finally downloads all changes to the PLCs memory card.
-
If no memory card is inserted in the PLC, the download fails with an error message.
A source code download can be triggered from the CODESYS editor via online login after any change in the application program:
With a source code download always the complete project archive is downloaded. This might lead to inconsistencies between the applications and the project archive if an AC500-S device is envolved. For example, if there are recent changes in a non-safety PLC that have not been downloaded yet, while performing a download to the AC500-S PLC.