Change default node Id name on PFC200 OPC UA

2022-12-16
2024-10-10
  • hyplcmotion - 2022-12-16

    Hello,

    I am wondering how to change the default OPC/UA Server Topic name "CODESYS Control for PFC200 SL" in Codesys when using codesys OPC UA Server?

    For example have a tag with following node Id
    ns=4;s=|var|PFC200.Application.Tag.Me
    instead of
    ns=4;s=|var|CODESYS Control for PFC20 SL.0Application.Tag.Me

    Thanks

    Codesys Version 3.5.18 SP3

     

    Last edit: hyplcmotion 2022-12-17
  • hyplcmotion - 2022-12-16

    Found out how! Needed to connect to PFC200 via Putty, and open CodesysControl.cfg with β€œsudo nano /etc/CODESYSControl.cfg”. Then adding following command to the end of file, and use the name you want, save/close CODESYSControl.cfg, and reboot your PLC.

    [CmpOPCUAProviderIecVarAccess]
    CustomNodeName= PFC200

     

    Last edit: hyplcmotion 2022-12-17
  • ricola - 2024-10-10

    so great !! thanks for this

     

Log in to post a comment.