10/12/2019 9:39 PM | |
Joined: 5/15/2018 Last visit: 10/4/2022 Posts: 2 Rating: (0) |
Hi, I try to use the template which is placed in the forum to describe my problem;
The Problems (Bugs) : OPC_UA_Connect errors; 16#8005_0000 and 16#8081_0000. OPC_UA_ConnectionGetStatus error; 16#A000_0105 I have a Profinet Subnet which is connected to one of the interfaces of the CPU to control process components. I use the second interface in order to connect to an OPC UA Server and only read the tags as an OPC UA Client. OPC UA Server: KEPServer EX/UA Server V.3 I use example projects which are placed in the subject;TIP: S7 1500 OPC UA Server Client Communication, ... The main problem is even I can connect to the OPC UA Server from TIA Portal (while I'm trying to create Client Interface) I can't establish communication between PLC and OPC UA Server in the logic. Actually I have followed all the instructions. I can reach to the OPC UA Server from TIA Portal when I try to create Client Interface (in attached file Online OPC Server Communication in TIA Portal) Also, I can drag and drop the items that I try to read to Read List in the Client Interface from Online OPC UA Server connection (in attached file Online Creation of Read List from OPC UA Server) I use also BlockMonitoring FB which is already in example projects to monitor communication status. I got two errors after triggering a communication from OPC_UA_Connect function. The first one is 16#8005_0000. I also sometimes have another error as 16#8081_0000. However, I haven't succeeded a communication through OPC UA Server yet. (screenshots are attached in the file) I have also 16#A000_0105 error when I monitor OPC_UA_ConnectionGetStatus function. I couldn't find any explanation for this error in the help (Information System TIA Portal)
OpcUa_BadCommunicationError : Possible causes: The server address (ServerEndpointURL) is incorrect or incomplete. The server does not accept the buffer size sent by the client during connection establishment. The client's connection resources required to establish the connection are used up. Since I have a communication from TIA Portal through OPC UA Server I think the server address that I defined shouldn't be wrong. However, buffer size could be a problem but I don't have any idea about OPC UA Server which is out of my control.
BadTcpNotEnough Resources : There are not enough resources to process the request. I don't have any idea about this error. I'm pretty sure about configurations in CPU properties and network properties of the interface which is used to communicate through OPC UA Server. I use the same IP adress, subnet mask and gateway in my computer when I connect to the server from TIA portal. But I have a doubt about HW Configuration. Do I have to define a subnet to the CPU interface which is dedicated to communicating to OPC UA Server? Is there anyone who has had a similar problem during OPC UA (Client) communication? How should I approach to the problem to solve it? Thanks. AttachmentOPCUAClientCommunicationError.pdf (1812 Downloads) |
Follow us on