Read and Write OPC UA variables on a remote server [message #1852540] |
Mon, 23 May 2022 02:06 |
Ricardo Rech Messages: 21 Registered: September 2021 |
Junior Member |
|
|
Hello everyone!
I tried to deploy the "Read and Write OPC UA variables on a remote server" tutorial, available at the below link:
https://www.eclipse.org/4diac/en_help.php?helppage=html/communication/opc_ua_version1.html
But I noticed that at the tutorial is used the FB CLIENT_0_1 FB, which is not available at 4diac IDE/FORTE v 2.0.0 library (see pic below).
I tried to go ahead anyway with the CLIENT with one SD and one RD, and also with SUBSCRIBE FB, but got the below errors on FORTE:
CLIENT FB:
ERROR: T#856924151338: [OPC UA ACTION]: Remote CLIENT_1 action is only allowed using a Client FB, the amount of BrowseName,NodeId pairs should match the number of RDs, and must have no SDs
SUBSCRIBE FB:
ERROR: T#658050475209: [OPC UA ACTION]: Remote SUBSCRIBE_1 action is only allowed using a Client FB, the amount of BrowseName,NodeId pairs should match the number of RDs, and must have no SDs
Does anyone know how to solve it?
B.R.
Ricardo
|
|
|
Re: Read and Write OPC UA variables on a remote server [message #1852542 is a reply to message #1852540] |
Mon, 23 May 2022 06:40 |
|
Hi,
we have for that a generic FB concept in 4diac FORTE. That means that on deployment 4diac FORTE takes the numbers given in the type name and generates the according FB interface. However we never had a nice handling for that in 4diac IDE. So if you need a CLIENT_0_1 you need to generate one by yourself. You can do this for example by copying the CLIENT_1 to CLIENT_0_1 and adjust the interface acordingly.
Cheers,
Alois
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04120 seconds