|
|
|
|
|
|
|
|
|
Re: SUBSCRIPTION FB connection problem (OPC UA) [message #1855346 is a reply to message #1855304] |
Sun, 09 October 2022 18:53   |
Eclipse User |
|
|
|
Kirill,
it did help, thank you. It connects with IP instead "localhost" (I have only one PC for both Ignition and 4Diac), but i still cant receive any data. What did i miss?
Ignition OPC config (I did not forget to reload OPC UA module):

Forte logs:

4diac:

I have tried to use ID in the format BROWSENAME (RandomInteger1 is a sample node of Ignition)
"opc_ua[READ;opc.tcp://127.0.0.1:62541#;/Objects/2:Tag Providers/Sample_Tags/Random/RandomInteger1]"
aaaaand BROWSENAME,NODE_ID
"opc_ua[READ;opc.tcp://127.0.0.1:62541#;/Objects/2:Tag Providers/Sample_Tags/Random/RandomInteger1,2:s=Sample_Tags/Random/RandomInteger1]"
but if I use only NODE_ID
"opc_ua[READ;opc.tcp://127.0.0.1:62541#;,2:s=Sample_Tags/Random/RandomInteger1]"
forte shows:
ERROR: T#18446743469341962754: [OPC UA CLIENT]: Reading for FB CLIENT_0_1 in client opc.tcp://127.0.0.1:62541 failed because the response for index 0 has status BadNodeIdUnknown
and 4diac looks like:

I have only one guess, that it is probably because of square brackets. UaExpert shows "[Sample_Tags]" in the Identifier (and basically all subfolders of the folder Tag Providers have [...] in ID. Even the ones created by user/me), but 4diac does not allowed to add square brackets into square brackets (like opc_ua[ACTION;ENDPOINT;....[...]...]), so i used just "Sample_Tags" in ID.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07161 seconds