Problem connection between pc and cnc with OPC UA

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
LucaBuzzi
Jr. Member
Jr. Member
Posts: 2
Joined: 17 Jul 2017, 07:51

Problem connection between pc and cnc with OPC UA

Post by LucaBuzzi »

>Good morning, this is Luca and I'm new on this forum. I'm an italian student and in this moment I'm doing a thesis about a sensoring of a machine tool.
I have tried to search some similar topic in this forum, but I didn't try any solution.

I want to extract data from the cnc (the controller is Siemens 840d); Siemens has unlocked a OPC UA package on my cnc machine and in my pc I have installed UaExpert to acquire data.
But I have a problem, I can't connect my pc with the server of the machine.
I have attached a photo where you can see the messages error.

Could someone help me?

Thanks a lot.

LucaBuzzi
Jr. Member
Jr. Member
Posts: 2
Joined: 17 Jul 2017, 07:51

Re: Problem connection between pc and cnc with OPC UA

Post by LucaBuzzi »

I can't attach the photo.
Anyway, the messages are:

" Connecting failed with error 'BadIdentityTokenRejected'
Error 'BadIdentityTokenRejected' was returning during Activate Session'
Used UserTokenType: UserName
ApplicationUri: 'urn192.168.0.2:miniweb'
Security policy: 'http//opcfoundation.org/UA/SecurityPolicity#Basic128Rsa15'
Endpoint: 'opc.tcp://192.168.0.2:4840' "

Thanks.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: Problem connection between pc and cnc with OPC UA

Post by Support Team »

Hello Luca,

please check with the server vendor if connecting to the server with username/password is possible at all. If so, please verify that you are using the correct username and password for connecting. You could also try to connect as anonymous user, maybe this works.
Best regards
Unified Automation Support Team

Post Reply