The c++ program did not execute
Please check my program. My current program is to read the data in XML, and put the INT value corresponding to STRING into int16 xml_s[5] with the Map function.Int16 xml_s2 [7].And then to PLCnext.Nothing wrong with the compilation. My tests showed that the DemoXMLtestComponent was not called.Could you please help to see where the problem is? Is the program in the attachment
Comments
Hello,
When you say:
I assume that you are not seeing either of the log messages in the
DemoXMLtestComponent::LoadConfig()
function ?I also assume that you are:
DemoXMLtestProgram
in a Task?If all these assumptions are correct, can you please attach a copy of the
Output.log
file, showing the complete startup sequence of the PLC? This normally gives messages showing that the Component has been instantiated.~ Martin.