open_plc_schema 0.1.0

Types from openPLC XML schema
Documentation
  • Coverage
  • 10.86%
    133 out of 1225 items documented0 out of 0 items with examples
  • Size
  • Source code size: 3.59 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 257.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2m 36s Average build duration of successful builds.
  • all releases: 2m 36s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Erik1000

This crate contains all different data types defined in the tc6_xml_v201.xsd that you can download from https://www.plcopen.org/downloads/ under Code Components of IEC 61131-10 "PLC open XML exchange format".

The XML schema itself is not part of this crate, it only contains code generated from it.

Using [Project] with quick-xml, you can for example deserialize a complete project export from a CODESYS project.

This crate uses the great [xsd_parser] crate to generate the Rust code.

Features

  • generate enables code generation during build. Requires you to set OPEN_PLC_SCHEMA_PATH to the XML schema (usually named something like tc6_xml_v201.xsd)