OPC UA: How to change NodeId ?!

rmw
2016-06-04
2023-12-11
  • rmw - 2016-06-04

    Hi,

    How can I change the NodeId for an OPC UA variable?

    Or to be more precise: how can I remove the "|var|" from the NodeID, e.g.
    "NodeId:ns=4;s=|var|Raspberry Pi.Application.PLC_PRG.IrSpeed"
    to
    "NodeId:ns=4;s=Raspberry Pi.Application.PLC_PRG.IrSpeed"

    Thanks a lot for any help !?

    Regards,
    RMW

     
  • Kampfwurst - 2017-04-11

    same question

     
  • ioannis-a - 2023-11-29

    Same question

     
  • snhatton - 2023-12-11

    You can change the node id by adding the following to /etc/CODESYSControl.cfg:

    [CmpOPCUAProviderIecVarAccess]
    CustomNodeName=MyPLC123

    Then restart the runtime and the new Node name will appear with the connection. I don't know if it's possible to remove the |var| from the name. I hope this helps!

     
    πŸ‘
    1

Log in to post a comment.