WHAT IT DOES
In your program, on the PORTWARE record.
- On commit it opens the project, exports PLCopen XML and closes it without saving.
- Adds the export to the same commit; an export that differs only by its dates is not written.
- A failed export stops the commit and prints the reason.
- Visualizations have no PLCopen XML form; objects CODESYS leaves out are listed.
Before you start
- Windows, CODESYS V3.5 and Git for Windows
- Early access: the PORTWARE side and the add-in's logic are tested; the first run inside a licensed copy of the program is done together with you.
INSTALL
Set it up once.
- Unzip into the repository rootThe files land in .portware/codesys/.
- Install the hookIn Git Bash at the repository root: sh .portware/codesys/install.sh
- Enter the path.portware/codesys/codesys.cfg: the CODESYS path and profile name. It is per machine; add it to .gitignore.
USE
Every day.
The add-in signs in as you: it sees only what you may see in PORTWARE, and every save is a new version you can go back to.
- Save and closeSave the .project in CODESYS and close it.
- CommitCommit as usual; the XML enters the same commit.
- By handsh .portware/codesys/export.sh path/Machine.project; to skip it for one commit, PORTWARE_CODESYS_SKIP=1.
Let's discuss your business.
Tell us how your organisation works today, and we will present PORTWARE through your own processes.