I’m new to Automation Studio (using v 6.0.2.177), and I’m trying to learn to program via ARSim. I setup a test project with a Standard PC and transferred a simple program. When I click the ‘monitor’ button, I get an error of “Connection to OPC UA server not possible.”
Hi David,
just tried this. And no, I don’t get the fault.
Are you sure this message is from AS ?
Find my simple project attached.
Regards,
xxx.zip (63.8 KB)
Christoph,
Thanks for the sample project. Yes, your program runs fine. My project has a ladder program, which now seems to be what the issue is. When I add a ladder program to your project, I get the same OPC UA error. Strangely, my ladder program simulates just fine on v4.9. And the ladder program/project I’m running is based on the tutorial in the 6.0 help file:
file:///C:/Program%20Files%20(x86)/BRAutomation/AS6/Help-en/Data/gettingstarted/firstproject.htm
Maybe the tutorial was never updated for 6.0 and it’s missing some step?
Hi,
i see, you started here:
if you just follow the tutorial then you probably get this:
yep. it seems the configuration of OPC-UA and the user/role settings are missing in this tutorial
if you miss the user/ role and activate the Monitor AS asks for the login data
find the new project attached where I used ‘user’/‘user’ for login
Regards,
xxx.zip (72.1 KB)
That seems to be the fix. It’s strange that disabling OPC UA in v4.9 creates no issues, but disabling it in v6.0 causes an error. Thanks for your help.
I did actually just find this explained in the help file, and does explain why a ladder program has this issue, but not a text program:
“Ladder Diagram editor in monitor mode In monitor mode, the Ladder Diagram editor communicates with the target system via OPC UA. The user role system and the OPC UA server must be configured accordingly for this.”