Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » XPlus3 Tutorial not working because of deploying errors(XPlus3 Tutorial not working because of deploying errors)
XPlus3 Tutorial not working because of deploying errors [message #1826110] Sun, 19 April 2020 18:19 Go to next message
Patryk Kusion is currently offline Patryk KusionFriend
Messages: 2
Registered: April 2020
Junior Member
Hello everybody,

I am new to 4diac and I just started to use 4 diac. I am trying to follow the tutorials on the eclipse/4diac page. The first tutorial - Use 4diac Locally (Blinking Tutorial) went pretty well. But then I tried to do the general example X+3 and I got a few errors when deploying the application.

So I tried to copy the example provided on the official website.
But when I try to deploy it I've got many errors (UNSUPPORTED TYPE, INVALID STATE, NO SUCH OBJECT and more...) in the deployment console.

I'm using 4diac IDE 1.12.0 and 4diac FORTE 1.12.0 + I also downloaded the FBDK from the HOLOBLOC page.

so I am able to Launch the FBRT with the cmd after writing:
java -jar device.jar FRAME RMT_FRAME BOUNDS "[100,100,250,400]" MGR_ID "localhost:61505"

The only thing not working is the Deployment. I hope u can help me :)


<!-- 127.0.0.1:61499 -->
<Request Action="QUERY" ID="0">
  <FB Name="*" Type="*"/>
</Request>

<Response ID="0">
  <FBList>
    <FB name="CALC" type="EMB_RES"/>
  </FBList>
</Response>


<!-- 127.0.0.1:61499 -->
<Request Action="KILL" ID="1">
  <FB Name="CALC" Type=""/>
</Request>

<Response ID="1"/>


<!-- 127.0.0.1:61499 -->
<Request Action="DELETE" ID="2">
  <FB Name="CALC" Type=""/>
</Request>

<Response ID="2"/>


<!-- 127.0.0.1:61499 -->
<Request Action="CREATE" ID="3">
  <FB Name="CALC" Type="EMB_RES"/>
</Request>

<Response ID="3"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="4">
  <FB Name="INT2INT_1" Type="INT2INT"/>
</Request>

<Response ID="4"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="5">
  <FB Name="INT2INT_2" Type="INT2INT"/>
</Request>

<Response ID="5"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="6">
  <FB Name="publish4FBDK" Type="PUBLISH_1"/>
</Request>

<Response ID="6"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="7">
  <Connection Destination="publish4FBDK.QI" Source="1"/>
</Request>

<Response ID="7">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="8">
  <Connection Destination="publish4FBDK.ID" Source="239.192.0.2:61499"/>
</Request>

<Response ID="8">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="9">
  <FB Name="subscribeFromFBDK" Type="SUBSCRIBE_1"/>
</Request>

<Response ID="9"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="10">
  <Connection Destination="subscribeFromFBDK.QI" Source="1"/>
</Request>

<Response ID="10">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="11">
  <Connection Destination="subscribeFromFBDK.ID" Source="239.192.0.2:61500"/>
</Request>

<Response ID="11">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="12">
  <FB Name="GENERATED_1" Type="SUBSCRIBE_1"/>
</Request>

<Response ID="12"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="13">
  <Connection Destination="GENERATED_1.QI" Source="1"/>
</Request>

<Response ID="13">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="14">
  <Connection Destination="GENERATED_1.ID" Source="225.0.0.1:61550"/>
</Request>

<Response ID="14">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="15">
  <FB Name="GENERATED_2" Type="PUBLISH_1"/>
</Request>

<Response ID="15"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="16">
  <Connection Destination="GENERATED_2.QI" Source="1"/>
</Request>

<Response ID="16">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="17">
  <Connection Destination="GENERATED_2.ID" Source="225.0.0.1:61551"/>
</Request>

<Response ID="17">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="18">
  <FB Name="F_ADD" Type="F_ADD"/>
</Request>

<Response ID="18"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="WRITE" ID="19">
  <Connection Destination="F_ADD.IN2" Source="INT#3"/>
</Request>

<Response ID="19">
  
</Response>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="20">
  <Connection Destination="publish4FBDK.REQ" Source="INT2INT_1.CNF"/>
</Request>

<Response ID="20"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="21">
  <Connection Destination="publish4FBDK.INIT" Source="subscribeFromFBDK.INITO"/>
</Request>

<Response ID="21"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="22">
  <Connection Destination="subscribeFromFBDK.INIT" Source="START.COLD"/>
</Request>

<Response ID="22"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="23">
  <Connection Destination="subscribeFromFBDK.INIT" Source="START.WARM"/>
</Request>

<Response ID="23"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="24">
  <Connection Destination="INT2INT_2.REQ" Source="subscribeFromFBDK.IND"/>
</Request>

<Response ID="24"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="25">
  <Connection Destination="GENERATED_1.INIT" Source="START.COLD"/>
</Request>

<Response ID="25"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="26">
  <Connection Destination="GENERATED_1.INIT" Source="START.WARM"/>
</Request>

<Response ID="26"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="27">
  <Connection Destination="GENERATED_2.INIT" Source="GENERATED_1.INITO"/>
</Request>

<Response ID="27"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="28">
  <Connection Destination="F_ADD.REQ" Source="INT2INT_2.CNF"/>
</Request>

<Response ID="28"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="29">
  <Connection Destination="F_ADD.REQ" Source="GENERATED_1.IND"/>
</Request>

<Response ID="29"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="30">
  <Connection Destination="INT2INT_1.REQ" Source="F_ADD.CNF"/>
</Request>

<Response ID="30"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="31">
  <Connection Destination="GENERATED_2.REQ" Source="F_ADD.CNF"/>
</Request>

<Response ID="31"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="32">
  <Connection Destination="publish4FBDK.SD_1" Source="INT2INT_1.OUT"/>
</Request>

<Response ID="32"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="33">
  <Connection Destination="INT2INT_2.IN" Source="subscribeFromFBDK.RD_1"/>
</Request>

<Response ID="33"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="34">
  <Connection Destination="F_ADD.IN1" Source="INT2INT_2.OUT"/>
</Request>

<Response ID="34"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="CREATE" ID="35">
  <Connection Destination="INT2INT_1.IN" Source="F_ADD.OUT"/>
</Request>

<Response ID="35"/>


<!-- 127.0.0.1:61499: CALC -->
<Request Action="START" ID="36"/>

<Response ID="36"/>


<!-- 127.0.0.1:61505 -->
<Request Action="QUERY" ID="0">
  <FB Name="*" Type="*"/>
</Request>

<Response ID="0" Reason="INVALID_OPERATION"/>


<!-- 127.0.0.1:61505 -->
<Request Action="CREATE" ID="1">
  <FB Name="VIS" Type="PANEL_RESOURCE"/>
</Request>

<Response ID="1"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="2">
  <FB Name="INT2INT_0" Type="INT2INT"/>
</Request>

<Response ID="2" Reason="UNSUPPORTED_TYPE"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="3">
  <FB Name="OUT_ANY" Type="OUT_ANY"/>
</Request>

<Response ID="3"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="4">
  <Parameter Reference="OUT_ANY.QI" Value="1"/>
</Request>

<Response ID="4"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="5">
  <Parameter Reference="OUT_ANY.W" Value="20"/>
</Request>

<Response ID="5"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="6">
  <Parameter Reference="OUT_ANY.TYPE" Value="INT"/>
</Request>

<Response ID="6"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="7">
  <Parameter Reference="OUT_ANY.IVAL" Value="0"/>
</Request>

<Response ID="7"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="8">
  <FB Name="SUBSCRIBE_1_0" Type="SUBSCRIBE_1"/>
</Request>

<Response ID="8"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="9">
  <Parameter Reference="SUBSCRIBE_1_0.QI" Value="1"/>
</Request>

<Response ID="9"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="10">
  <Parameter Reference="SUBSCRIBE_1_0.ID" Value="239.192.0.2:61499"/>
</Request>

<Response ID="10"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="11">
  <FB Name="PUBLISH_1_0" Type="PUBLISH_1"/>
</Request>

<Response ID="11"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="12">
  <Parameter Reference="PUBLISH_1_0.QI" Value="1"/>
</Request>

<Response ID="12"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="13">
  <Parameter Reference="PUBLISH_1_0.ID" Value="239.192.0.2:61500"/>
</Request>

<Response ID="13"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="14">
  <FB Name="GENERATED_0" Type="PUBLISH_1"/>
</Request>

<Response ID="14"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="15">
  <Parameter Reference="GENERATED_0.QI" Value="1"/>
</Request>

<Response ID="15"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="16">
  <Parameter Reference="GENERATED_0.ID" Value="225.0.0.1:61550"/>
</Request>

<Response ID="16"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="17">
  <FB Name="GENERATED_3" Type="SUBSCRIBE_1"/>
</Request>

<Response ID="17"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="18">
  <Parameter Reference="GENERATED_3.QI" Value="1"/>
</Request>

<Response ID="18"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="19">
  <Parameter Reference="GENERATED_3.ID" Value="225.0.0.1:61551"/>
</Request>

<Response ID="19"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="20">
  <FB Name="INT2INT" Type="INT2INT"/>
</Request>

<Response ID="20" Reason="UNSUPPORTED_TYPE"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="21">
  <FB Name="IN_ANY" Type="IN_ANY"/>
</Request>

<Response ID="21"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="22">
  <Parameter Reference="IN_ANY.QI" Value="BOOL#1"/>
</Request>

<Response ID="22"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="23">
  <Parameter Reference="IN_ANY.W" Value="20"/>
</Request>

<Response ID="23"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="24">
  <Parameter Reference="IN_ANY.TYPE" Value="INT"/>
</Request>

<Response ID="24"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="WRITE" ID="25">
  <Parameter Reference="IN_ANY.IVAL" Value="0"/>
</Request>

<Response ID="25"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="26">
  <Connection Destination="SUBSCRIBE_1_0.INIT" Source="PUBLISH_1_0.INITO"/>
</Request>

<Response ID="26"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="27">
  <Connection Destination="OUT_ANY.INIT" Source="SUBSCRIBE_1_0.INITO"/>
</Request>

<Response ID="27"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="28">
  <Connection Destination="PUBLISH_1_0.REQ" Source="INT2INT_0.CNF"/>
</Request>

<Response ID="28" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="29">
  <Connection Destination="GENERATED_0.REQ" Source="INT2INT_0.CNF"/>
</Request>

<Response ID="29" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="30">
  <Connection Destination="GENERATED_0.INIT" Source="START.COLD"/>
</Request>

<Response ID="30"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="31">
  <Connection Destination="GENERATED_0.INIT" Source="START.WARM"/>
</Request>

<Response ID="31"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="32">
  <Connection Destination="GENERATED_3.INIT" Source="GENERATED_0.INITO"/>
</Request>

<Response ID="32"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="33">
  <Connection Destination="OUT_ANY.REQ" Source="INT2INT.CNF"/>
</Request>

<Response ID="33" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="34">
  <Connection Destination="INT2INT.REQ" Source="SUBSCRIBE_1_0.IND"/>
</Request>

<Response ID="34" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="35">
  <Connection Destination="INT2INT.REQ" Source="GENERATED_3.IND"/>
</Request>

<Response ID="35" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="36">
  <Connection Destination="INT2INT_0.REQ" Source="IN_ANY.IND"/>
</Request>

<Response ID="36" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="37">
  <Connection Destination="PUBLISH_1_0.INIT" Source="IN_ANY.INITO"/>
</Request>

<Response ID="37"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="38">
  <Connection Destination="IN_ANY.INIT" Source="START.WARM"/>
</Request>

<Response ID="38"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="39">
  <Connection Destination="IN_ANY.INIT" Source="START.COLD"/>
</Request>

<Response ID="39"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="40">
  <Connection Destination="PUBLISH_1_0.SD_1" Source="INT2INT_0.OUT"/>
</Request>

<Response ID="40" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="41">
  <Connection Destination="GENERATED_0.SD_1" Source="INT2INT_0.OUT"/>
</Request>

<Response ID="41" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="42">
  <Connection Destination="OUT_ANY.IN" Source="INT2INT.OUT"/>
</Request>

<Response ID="42" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="43">
  <Connection Destination="INT2INT.IN" Source="SUBSCRIBE_1_0.RD_1"/>
</Request>

<Response ID="43" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="CREATE" ID="44">
  <Connection Destination="INT2INT_0.IN" Source="IN_ANY.OUT"/>
</Request>

<Response ID="44" Reason="NO_SUCH_OBJECT"/>


<!-- 127.0.0.1:61505: VIS -->
<Request Action="START" ID="45"/>

<Response ID="45">
<FBStatus Status="RUNNING"/>
</Response>


<!-- 127.0.0.1:61505 -->
<Request Action="WRITE" ID="46">
  <Parameter Reference="BOUNDS" Value="[50,50,250,100]"/>
</Request>

<Response ID="46"/>


<!-- 127.0.0.1:61505 -->
<Request Action="WRITE" ID="47">
  <Parameter Reference="GRID" Value="[1,1]"/>
</Request>

<Response ID="47"/>


<!-- 127.0.0.1:61505 -->
<Request Action="START" ID="48"/>

<Response ID="48">
<FBStatus Status="RUNNING"/>
</Response>
Re: XPlus3 Tutorial not working because of deploying errors [message #1826156 is a reply to message #1826110] Mon, 20 April 2020 12:36 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Unfortunately the X+3 example has not been maintained for quite some time. Our rather strange x2x (e.g., INT2INT) FBs are not supported by the latest FBDK. But it should be possible to bring them there.

Have you had a look on all of our tutorials, because we have new tutorials on distributed applications without FBDk for getting started?

Improving our FBDK support would be great. Any support would be welcome.

Re: XPlus3 Tutorial not working because of deploying errors [message #1826180 is a reply to message #1826156] Mon, 20 April 2020 17:08 Go to previous messageGo to next message
Patryk Kusion is currently offline Patryk KusionFriend
Messages: 2
Registered: April 2020
Junior Member
oh, okay so thats why it could not be deployed.

I just found the Use 4diac Locally (Blinking Tutorial) on the website. Where can I find more tutorials like that, so I can better understand 4diac ? Can u give me a Link :)

Would like to try more tutorials and learn more about 4diac .
Re: XPlus3 Tutorial not working because of deploying errors [message #1826183 is a reply to message #1826180] Mon, 20 April 2020 17:33 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

You are already at the right place. In our help [1] in the outline page you can find 7 tutorials (8 to be exact if you count the overview 0 as well). We hope that these will give you a starting point.

If you have any questions or need help just let us know.

[1] http://localhost/4diac/en_help.php
Re: XPlus3 Tutorial not working because of deploying errors [message #1826313 is a reply to message #1826183] Thu, 23 April 2020 11:25 Go to previous messageGo to next message
Kirill Dorofeev is currently offline Kirill DorofeevFriend
Messages: 70
Registered: February 2016
Member
http://eclipse.org/4diac/en_help.php should be the right link ;-)
Re: XPlus3 Tutorial not working because of deploying errors [message #1826316 is a reply to message #1826313] Thu, 23 April 2020 11:44 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Ah thanks copied the link from my local 4diac web-page test instance. sorry for that.
Previous Topic:CMake Error generate_stringlist
Next Topic:Arrowhead FB deploy problem with latest forte
Goto Forum:
  


Current Time: Fri Apr 19 00:48:55 GMT 2024

Powered by FUDForum. Page generated in 0.02240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top