|
|
|
|
|
|
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1787040 is a reply to message #1787037] |
Thu, 17 May 2018 14:49 |
Kirill Dorofeev Messages: 70 Registered: February 2016 |
Member |
|
|
@Daniel: in these cases, I normally try to to add the nodes one by one and look at which node it fails. So, for example if you try to add
/Objects/3:plcMagazineBack
and trigger the client block. If forte finds the node then it'll output an error message like "the node should be VARIABLE or METHOD", then you can add the next node in your path and see (an error message on this step is ok, as it means that forte found a node but it's of ObjectType, not a varible or method). If you, however get OPC UA: Could not find the method node on the server it means forte wasn't able to find the node in the namespace. Then double-check the BrowseName in OPC UA Expert.
@Alois: not sure if I understand your concern correctly, but from my point of view it's the real error. Just the more appropriate text for an error message would be OPC UA: Could not find the method/variable node on the server
[Updated on: Thu, 17 May 2018 14:50] Report message to a moderator
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1787049 is a reply to message #1787040] |
Thu, 17 May 2018 20:01 |
|
Quote:@Alois: not sure if I understand your concern correctly, but from my point of view it's the real error. Just the more appropriate text for an error message would be OPC UA: Could not find the method/variable node on the server
My question was more as the client automatically detects if its a method or a variable node. It could be that it first checks if it is a method node. as it is no method node it outputs an error and tries if it is a variable node and my succeed. Therefore no further output. But I must confess I haven't looked into the implementation and I don't know how the identification of the node type is done in OPC Ua.
|
|
|
|
|
|
|
|
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1793936 is a reply to message #1793934] |
Mon, 20 August 2018 19:07 |
Ahsan Zia Messages: 36 Registered: July 2018 |
Member |
|
|
Dear All,
I have one device per MGR_ID.
Please check the screenshots below, and log file.
opc_ua[opc.tcp://130.230.16.25:8088#/Objects/1:PLC1/2:eq_states/2:EQ_V201]
Thanks for your support, I am waiting for your update.
BR,
Ahsan Zia
-
Attachment: SysConf.JPG
(Size: 188.01KB, Downloaded 2433 times) -
Attachment: sys.JPG
(Size: 99.00KB, Downloaded 306 times) -
Attachment: UA expert.JPG
(Size: 206.66KB, Downloaded 217 times) -
Attachment: .log
(Size: 294.43KB, Downloaded 163 times) -
Attachment: forte3.JPG
(Size: 52.87KB, Downloaded 246 times)
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1793954 is a reply to message #1793936] |
Tue, 21 August 2018 07:20 |
|
thanks for all this information. There are a few questions that are coming up:
1. how many fortes are you running? I see the output in the 4diac-ide and I see the console where you separately start forte. Could it be that you are deploying to the wrong one?
2. I see several rather strange issues in your log. could you be so kind and activate automatic error reporting. You can find it under Windows -> Preferences -> General -> Error Reporting. With this we would get these issues in a data base where we can anaylze it and make the next 4diac version even more stable and you don't have to manually report each issue.
Cheers,
Alois
|
|
|
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1794012 is a reply to message #1794010] |
Wed, 22 August 2018 11:59 |
|
Unfortunately I didn't see anything specific to your problem in the logs. But there are some issues that need some investigation. Older versions of 4diac will not change this. I would see they would make it worse. It is very strange that monitoring is not working for you. Never saw this in that way.
Regarding your problem. If you have a look at the OPC UA docs there are two kinds of Client FBs used there. One with inputs and outputs and one with only one single output (CLIENT_0_1). The first is used to call a method on a server. Therefore you also get this error message. As far as I understan dyou would like t read a value from your server. For that you need to use the CLIENT_0_1. For writing a publish_1 has to be used.
|
|
|
|
|
|
|
Re: Read and Write OPC UA variables on a remote Siemens S7 PLC server [message #1794944 is a reply to message #1794629] |
Tue, 11 September 2018 12:55 |
Ahsan Zia Messages: 36 Registered: July 2018 |
Member |
|
|
Dear All ,
I am trying to develop composite FBs for my application.
Initially, I was thinking to make composite blocks for each of the nodes, to read and write the values, but I guess that is not possible?
If I go by the procedure by implementing the same logic for each nodes, it will be quite messy, there will be dozens of tabs at the same time to operate the application.
Please suggest me some ideas..
Thank you
BR,
Ahsan
-
Attachment: NwBlck.JPG
(Size: 208.80KB, Downloaded 154 times) -
Attachment: app.JPG
(Size: 232.57KB, Downloaded 172 times) -
Attachment: compo.JPG
(Size: 193.12KB, Downloaded 131 times)
|
|
|
|
|
|