Attention

These docs are a bit ambitious. The steps described are accurate but IronPLC cannot yet run programs.

P6008

Code

P6008

Message

PLCopen XML version is not supported

This error occurs when a PLCopen XML file uses a version that is not supported by the compiler. The version is determined by the XML namespace on the root <project> element.

Example

The following XML uses an unsupported namespace version:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.plcopen.org/xml/tc6_0100">
  <!-- TC6 v1.0 is not supported -->
</project>

Supported Versions

The compiler supports the following PLCopen XML versions:

  • TC6 v2.01 (namespace: http://www.plcopen.org/xml/tc6_0201) - Primary supported version

To fix this error, ensure your XML file uses a supported namespace:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.plcopen.org/xml/tc6_0201">
  <!-- TC6 v2.01 is supported -->
</project>

If you have a PLCopen XML file in an older format, you may need to use an export tool that supports TC6 v2.01, or manually update the namespace and adjust the file structure to match the v2.01 schema.