ID fields of the SUBSCRIBE/PUBLISH function blocks [message #1851966] |
Sat, 23 April 2022 22:55  |
Eclipse User |
|
|
|
I generated the forte in windows step by step according to OPC UA with IEC 61499 Tutorial.
When I build the Flip-Flop Application, and want to set the ID of the SUBSCRIBE/PUBLISH function blocks to opc_ua[/Objects/1:FlipFlop], it says "Invalid WSTRING literal. A WSTRING literal is surrounded by double quotes"。
So I followed the prompt and added quotes to the ID. Then successfully Deploy the Application to FORTE, but UaExpert discovery findservers on opc.tcp://localhost:4840 failed. All the steps differ from the guide only in one thing, that is, the ID is quoted, could this be the reason?
|
|
|
|
Re: ID fields of the SUBSCRIBE/PUBLISH function blocks [message #1851978 is a reply to message #1851977] |
Sun, 24 April 2022 22:26   |
Eclipse User |
|
|
|
Hi,Alois
the FB could be initialized,and the ID is right,but the value of STATUS is "TERMINATED".
the forte.exe has a erro message :
ERROR: T#18446743677760009633: [OPC UA ACTION]: Parameters /Objects/1:FlipFlop should have at least 2 parts, separated by a semicolon
From the 4diac deployment console, i see that the first " and ID are separated by a ";", while the second " and ID are not separated by a ";".
Quote:
<Connection Destination="SUBSCRIBE_1.ID" Source=""opc_ua[/Objects/1:FlipFlop]""/>
Thanks & best regards
ZhangXiaochun
Attachment: deploy.png
(Size: 29.26KB, Downloaded 162 times)
Attachment: watch2.png
(Size: 18.55KB, Downloaded 177 times)
[Updated on: Sun, 24 April 2022 23:19] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06579 seconds