Skip to Content

DOWNLOADS

PORTWARE CODESYS Export Kit

CODESYS projects live in Git and Git Studio reads them. On every commit the kit puts the PLCopen XML export of the .project beside it; Git Studio shows the PLC ladder program, the I/O list and every version difference from that XML.

Download Early access

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.

  1. Unzip into the repository rootThe files land in .portware/codesys/.
  2. Install the hookIn Git Bash at the repository root: sh .portware/codesys/install.sh
  3. 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.

  1. Save and closeSave the .project in CODESYS and close it.
  2. CommitCommit as usual; the XML enters the same commit.
  3. By handsh .portware/codesys/export.sh path/Machine.project; to skip it for one commit, PORTWARE_CODESYS_SKIP=1.

All downloads

Let's discuss your business.

Tell us how your organisation works today, and we will present PORTWARE through your own processes.