Replies: 3 comments
-
How long does the method take to complete on server side? |
Beta Was this translation helpful? Give feedback.
-
Hi @VCigdem, sounds like a coding problem on the client. The synchronous API call does not return until the method call returns the result (beside the possibility that it can timeout, as poionted out by @MD-V ). Could you try to use the Begin/End pattern for the method call or the Async version of the method call (not sure if the API signature yet exists from top of my head). Then make sure it is not blocking on the UI thread. |
Beta Was this translation helpful? Give feedback.
-
Hello @MD-V and @mregen. My Problem ist solved but i have another problem. When I start the method Drive conveyor, then call the method Stop conveyor, and afterwards try to start Drive conveyor again, the second call doesn't work — even though UA Expert shows "succeeded". It seems like the method can't set the value from false back to true. Is this a known issue? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have the following problem: I created an OPC UA method in Siemens TIA Portal V16 that moves a machine to its home position. This method works via UA Expert, but I receive a BadTimeout error. I have the same issue when I start my UI with .NET and call the method through the UI, which is connected to the OPC UA server of the TIA Portal.
Additionally, when I start the method drive the conveyor on the machine and then try to execute other methods such as extending the diverter or moving to the home position, the other methods get stuck.
What could be causing this? Is the OPC UA server not capable of handling this properly? The machine can reach its home position, but the request seems to hang (the Execute button in the UI becomes unresponsive, and UA Expert also freezes).
I appreciate any answers in advance! and Sorry for my English !
Beta Was this translation helpful? Give feedback.
All reactions