Depending on the runtime, the configuration file is located in the following place: see Location of the configuration file |
[CmpOPCUAServer] NetworkPort=4841 |
[CmpOPCUAServer] NetworkAdapter=eth0 |
[CmpOPCUAServer] MaxNodesPerRead=100 |
[CmpOPCUAServer] SessionsMax=100 |
[CmpOPCUAServer] ItemMinSamplingRate=100 ; ms |
[CmpOPCUAServer] SECURITY.Activation=DEACTIVATED |
[CmpOPCUAServer] Security.CommunicationPolicy=POLICY_AES128SHA256RSAOAEP ; can be POLICY_AES256SHA256RSAPSS, POLICY_BASIC256SHA256, POLICY_BASIC256, POLICY_BASIC128RSA15 Security.CommunicationMode=ALL ; can be SIGNED_AND_ENCRYPTED, MIN_SIGNED, ALL,ONLY_PLAINTEXT |
[CmpOPCUAProviderIecVarAccess] UseNodeName=1 UseNodeNameForNodeIds=1 or [CmpOPCUAProviderIecVarAccess] CustomNodeName=MyPLC123 |
This will let you use the nodename instead of the device name. You then just have to fix the devicename.
You then do this by changing it via the IDE (see OLH: Device - Rename Active Device), or with either of these config file settings.
[SysTarget] NodeName="TEST" NodeNameUnicode="T\00E\00S\00T\00" |