Overview
The TwinCAT XML Data Server enables initializing of TwinCAT PLC variables with data stored in an XML file, or formatted saving of PLC variables in an XML file. The structure of a variable in the XML document matches the structure of the variables in the PLC. This enables individual sub elements of a variable to be accessed directly. Only those sub elements (elements of a structure or an array) are transferred that are also defined in the XML file. When the PLC variables are written, missing elements can optionally be added.