Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Connecting ProSys OPC US Simulator Server to Allen Bradley PLC
February 14, 2024
21:34, EET
Avatar
Walks09
New Member
Members
Forum Posts: 2
Member Since:
February 14, 2024
sp_UserOfflineSmall Offline

Hi,
I’m curious if anyone has used the ProSys OPC UA Simulation Server to transfer data to an Allen Bradley PLC (PLC is the OPC UA client). I’m trying to use the PLC to read data from the ProSys sim server. I’ve haven’t been able to get it properly working. I’ve confirmed that my hardware, firmware and software are compatible with this feature according to the documentation in the Rockwell knowledge base IDs:

-QA67232
-QA67231

I’ve followed the documents provided by Rockwell with no luck. I have tried using the provided program from the knowledge base ID: QA67232. For now, I am only trying to read a single (DINT) tag that is generated from my ProSys OPC UA simulation server.

In short, I have 1 OPC UA server and 2 Clients
Server
– ProSys Simulation server
Clients
– UaExpert OPC Client (Successful connection to ProSys server)
– 1756-L82ES PLC (Unsuccessful connection to ProSys server)

My current test environment is as follows,
– PLC – 1756-L82ES (Does not communicate with ProSys OPC Sim Server, I am using the same Endpoint URL as my UaExpert Client)
– Firmware 36.11
– Studio 5000 v36.11
– OPC UA server – ProSys OPC UA Simulation server (free version)
– United Automation UaExpert Client (used as an extra client to test the connection to the server) – This works. I can see data in UaExpert coming from the ProSys OPC
server
– RS Linx Classic Gateway v4.40
– I used the OPC test through RSlinx and confirmed that the OPC connection from RSlinx to my PLC works. So I think this at least proves that my OPC comms are
enabled in the PLC. However, I still can not read any actual data in the PLC from the ProSys OPC simulation server.

Any help is appreciated!
Walks09

February 15, 2024
8:36, EET
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 346
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

When you say that the PLC “does not communicate with ProSys OPC Sim Server” what exactly do you mean? Has it not been able to connect and create and activate a Session or is it just not able to read data after connecting?

In Simulation Server’s Expert Mode, which can be enabled from Options, you can use Sessions, Connection Log and Req/Res Log tabs to monitor connections from Clients. Sessions and Connection Log tabs can be used to check if a Client has successfully connected to the Server. Req/Res Log tab can be used to see the requests sent by the Client to Simulation Server and the responses sent by Simulation Server to the Client.

If the Session from the Client doesn’t appear in Sessions or Connection Log tabs, you can use the Req/Res Log tab to check why creating and activating a Session fails. To use the Req/Res Log tab, you need to select the Active check box on the upper left corner of the tab. We recommend that you don’t have any other Clients connected to Simulation Server while debugging with the tab to avoid including their requests in the log. You should see requests like CreateSession and ActivateSession in the log when attempting to connect with your Clien after you have activated the logging.

If nothing is appearing in the log when your Client attempts to connect, it means that it has not been able to create a SecureChannel with Simulation Server. In that case, you can either take a look at Simulation Server’s log (see the user manual for more information on its location in your file system) or you can use Wireshark. See https://www.prosysopc.com/blog/opc-ua-wireshark/ for instructions on how to capture OPC UA communication with Wireshark. If you’re running the applications on the same host, remember to select “Support loopback traffic” option when installing Wireshark. You can send the log and/or the Wireshark capture to simulation-server-support@prosysopc.com so that we can take a look.

If the Client has been able to create and activate a Session but fails to read data, then you can use Req/Res Log tab to see how Simulation Server responds to the Clients requests. You can click on Filter by type button to open a list of different requests types. If the Client is reading the values directly from Nodes, you can unselect everything except for Read. If the Client is subscribing to the values via Subscriptions and MonitoredItems, you can unselect everything except for CreateMonitoredItems, CreateSubscription, DeleteMonitoredItems, DeleteSubscription, ModifyMonitoredItems, ModifySubscription, Publish, Republish, SetMonitoringMode and SetPublishingMode. Note that you do not have to filter the requests, but it can be helpful if there are many unrelated requests, though in this case there might not be such requests.

Out of curiosity, why would your PLC need to read data from Simulation Server? Can you tell about your use case briefly if it is something you can share on a public forum?

February 15, 2024
17:29, EET
Avatar
Walks09
New Member
Members
Forum Posts: 2
Member Since:
February 14, 2024
sp_UserOfflineSmall Offline

Hi Matti,
First off, thank you very much for your detailed response! I will update after testing.

As to why I want to read from a simulation server, configuring an Allen Bradley as a OPC Client is a VERY new feature. I just want to test and understand how it works and this seemed like a viable option. There are certainly other ways of getting my end goal accomplished but if I can understand how this new feature works it could save money on hardware.

Walks09

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 734

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16, edgardo3518

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1