FAQ - Frequently asked questions and their answers
In this section frequently asked questions are answered, in order to facilitate your work with the XML Server.
If you have any further questions, please contact our support +49(0)5246/963-157)
What information is stored in the XML file?
Can multiple variables be written to an XML file at the same time?
Is it possible to access an XML file on the network?
Can the XML Server automatically generate XML files?
Are alias data types supported?
? What information is stored in the XML file?
! Only the name of the variable and its value are stored in the XML file - not its data type. In addition, as of product version 3.2.31.0, a PLC comment can also be written to the XML file. For more information see: "Getting Started".
? Is it possible to write several variables into an XML file simultaneously?
! Yes, this is possible. Therefore you have to wrap up your variables in a structure. You then write a variable of this type. This is shown in the samples.
? Is there a way to access an XML file in the network?
! No, this is not possible. sPath may only point at the local filesystem.
? Does the XML-Server have a feature to automatically create files?
! Yes, it does. To use this feature you have to set nMode:=1 (XMLSRV_ADDMISSING). The XML Server will create files and parts in the file automatically. Folders will not be created!
? What happens if the XML Server is not able to convert a variable, because the types do not match (e.g. an INT has the value “hallo” in an XML file)?
! In this case this variable will just be skipped. It does not lead to an error.
? Are alias data types supported?
! Yes, alias data types are supported starting from product version 3.2.31.0.