Uploading PCWEX files from Linux Computer

Hello All, I am hoping to learn if it is possible to flash a pcwex file to a PLCNext PLC (AXC F 2152) with a safety PLC (SPLC 1000) using the command line. I’ve seen there is a PLC Next CLI but it seems this may be targeted at compiling C++ programs.
I’d like to be able to flash my programs from the terminal as opposed to using PLCNext Engineer. I always have a linux computer connected to the PLC that I can remote into and could use to flash a pcwex file.

output.pdf

Currently the only supported ways of sending a PLCnext Engineer project to a PLCnext Control device are by using PLCnext Engineer or (possibly) the Device and Update Management service. The latter uses a package that is generated using the menu item „File → Export → Export PLCnext Engineer Software Package“ in PLCnext Engineer, although I’m not sure if that will handle Safety projects.
You could experiment with other ways of using the package (.zip archive) generated from PLCnext Engineer, but I’m fairly sure the Safety project will cause an issue in this case.

It should also be possible to send your new PLCnext Engineer project to a PLCnext Control device that has an external SD card inserted, then take that SD card to site and swap it with the SD card that is in the PLCnext Control device on site (while power is removed from the controller).

Thank you for the response.

I’ll look into your suggested routes. If possible, I’d love to submit a feature request for a cli for doing these types of operations (flashing pcwex files). It would be a huge advantage for my team.

nice

Hello!
There is one link on GitHub, which can be the way on approach to your goal.
https://github.com/plcnextusa/PLCnext-Guides/blob/master/Appendices/Appendix%2017%20How%20to%20FTP%20PLCnext%20project%20into%20AXC%20F%202152.pdf
Probably it can be helpful.
BR

Thank you ! I ended up doing this and creating some python & bash scripts to automate this process. It works quite well.

I’ve shared these with some folks at Phoenix Contact. I’m hopeful if enough people are looking for this type of fleet-automation, that Phoenix may consider making a command line tool for these types of operations as part of the plcnext package.

Next project is trying to figure out if there is a way to compare that the PCWEX file has been compiled and is what lives inside of the
C:\Users\Public\Documents\PLCnext Engineer\Binaries\Project@binary\RES\Configuration\Projects\PCWE
folder