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
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.
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
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
so great !! thanks for this