|
Re: ID fields of the SUBSCRIBE/PUBLISH function blocks [message #1851977 is a reply to message #1851966] |
Sun, 24 April 2022 20:54 |
|
Hi,
older 4diac IDE versions excepted any string as STRING or WSTRING. Unfortunately this is per IEC 61131-3 wrong and has some issues. Therefore we are now more stricter on literals and check them. However the problem you describe seems strange. Could you be so kind and let us know when you watch the FB if it could be initialized (value of output QO and STATUS) and what the watched value of the ID param is?
thx,
Alois
|
|
|
Re: ID fields of the SUBSCRIBE/PUBLISH function blocks [message #1851978 is a reply to message #1851977] |
Mon, 25 April 2022 02:26 |
xiaochun zhang Messages: 4 Registered: April 2022 |
Junior Member |
|
|
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 144 times) -
Attachment: watch2.png
(Size: 18.55KB, Downloaded 158 times)
[Updated on: Mon, 25 April 2022 03:19] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04166 seconds