Skip to content

Link OpcUA variable to c++ port

I am trying to archive something similar to what is done here (CppExamples/Examples/OpcPlcManager at master · PLCnext/CppExamples), however instead of opcua method, I have a variable.

How can I link a opc ua variable defined in the nodeset xml to a port defined in the c++? Is there any extension similar to

      <Extension>

                <MethodTarget xmlns="http://phoenixcontact.com/OpcUA/2019/NodeSetExtensions.xsd" FunctionBlock="OpcPlcManagerComponent1/GetPlcState"/>

      </Extension>

that could be used for variables?

Comments

Sign In or Register to comment.