Hi, When the R&D; team have finished its work and that we have to go into production, does the production team also require the PCWE software in order to program every PLCnext manually, or can we have a procedure similar to the one used for firmware upgrade, that could be easily scriptable ? Thanks Frédéric
Hi Frédéric, as you probably have seen, is most stuffs stored within the**/opt/plcnext/projects** directory. PC Worx Engineer uses the PCWE folder to store the generated code (IEC and C++, provided by the buildtools around eclipse). The other folders (like Default) have a different purpose, but need to be present. copying this folder to your controller would be sufficient, so script-able. The only thing you might need to take into account as being non-trivial:
* Credentials * Network setup * CertificatesThe above assumes your deployment layout is identical in terms of network, credentials,…
Is it possible to simply burn a “standard” image on to an SD card and not even power up the PLCnext for configuration? (of course this will depend on how the SD card is used by PLCnext … which I don’t know. :o). - Martin.
HI Martin, Writing an image onto the card will wipe the licence-files, so better not use that method, or your SDCARD will not work. Manually/automatically copying the folder-structure onto the card (after a first run!, due to overlay), will provide better results. do keep in mind that the card is EXT4 file-system, therefore Windows will not recognize it. Please don’t press the ‘format’ prompt when inserting the card into a windows workstation!
Would it be a good idea to use the same mechanism used to update the PLCnext firmware (raucb file) to install my project ? What would be the guidelines ? Any better solution ? (I have no credentials, certificates or network setup to take into account) The idea behind this request is to streamline the installation process. Thanks.
Once transfered on the PLCnext system by the PCWE, theses files are the only ones that need to be copied over: tar cvzf PLCnextBackup.tar.gz /opt/plcnext/projects/PCWE /opt/plcnext/shadowing To install a new system: tar xf PLCnextBackup.tar.gz -C /;