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 » INTO-CPS tool(Link to INTO-CPS Tool)
INTO-CPS tool [message #1858835] Tue, 25 April 2023 21:00 Go to next message
Javier Martinez is currently offline Javier MartinezFriend
Messages: 3
Registered: April 2023
Junior Member
Hello

The git-hub link to INTO-CPS Tool seems broken in the documentation.
I would like to know if the doccumentation in this section is up-to-dated.

What is the into-cps link?

Regards

Javier Martinez
Re: INTO-CPS tool [message #1858842 is a reply to message #1858835] Wed, 26 April 2023 09:27 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Hi,

INTO-CPS is/was an European project supporting co-simulation for CPS. I think a good link would be: https://into-cps-association.github.io/simulation/advanced.html

I hope this helps.

Cheers,
Alois
Re: INTO-CPS tool [message #1858843 is a reply to message #1858842] Wed, 26 April 2023 09:32 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

What I forgot to mention our FMI/FMU support was not used to much recently. So you may need to update some code. Would be happy if you can give us feedback and if needed and possible if you could provide fixes for it.
Re: INTO-CPS tool [message #1858895 is a reply to message #1858843] Fri, 28 April 2023 22:57 Go to previous messageGo to next message
Javier Martinez is currently offline Javier MartinezFriend
Messages: 3
Registered: April 2023
Junior Member
Thanks for the help Alois

I am trying to link both Open Modelica and 4diac using the OPC UA interface. In this way, I can perform computations with OpenModelica using the OPC UA server.

The problem I face with 4diac is that when I try to follow the instructions to compile a Forte server, using the instructions the site provides, I get compilation problems. I did not have problems concerning the compilation of opc ua.

$ cd ~/4diac/forte/build
$ cmake -DCMAKE_BUILD_TYPE=Debug \
-DFORTE_ARCHITECTURE=Posix \
-DFORTE_MODULE_CONVERT=ON \
-DFORTE_COM_ETH=ON \
-DFORTE_MODULE_IEC61131=ON \
-DFORTE_COM_OPC_UA=ON \
-DFORTE_COM_OPC_UA_INCLUDE_DIR=$HOME/4diac/open62541/build \
-DFORTE_COM_OPC_UA_LIB_DIR=$HOME/4diac/open62541/build/bin \
-DFORTE_COM_OPC_UA_LIB=libopen62541.so

Thanks for everything

Javier
$ make -j
Re: INTO-CPS tool [message #1858903 is a reply to message #1858895] Sat, 29 April 2023 10:05 Go to previous messageGo to next message
Javier Martinez is currently offline Javier MartinezFriend
Messages: 3
Registered: April 2023
Junior Member
When I do the make, I have always a problem concerning the compilation of this variable :

/home/javito/4diac/forte/src/com/opc_ua/opcua_client_information.h:188:47: error: 'UA_SecureChannelState' has not been declared
188 | UA_SecureChannelState channelState,
| ^~~~~~~~~~~~~~~~~~~~~
/home/javito/4diac/forte/src/com/opc_ua/opcua_client_information.h:189:47: error: 'UA_SessionState' has not been declared
189 | UA_SessionState sessionState,
| ^~~~~~~~~~~~~~~


What option should I activate in the makefile to avoid this compilation error? I follow the steps appearing in the site
Re: INTO-CPS tool [message #1858905 is a reply to message #1858903] Sat, 29 April 2023 13:55 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Hi Javier,
welcome to Eclipse 4diac. I'm sorry that Eclipse 4diac gives you a hard time. We are currently in a kind of transition phase and not everything is already synced. I assume you are using the official last release of 4diac IDE and 4diac FORTE. There 4diac FORTE requires the 1.0 release of open62541. Unfortunately open62541 did a non compatible change in the 1.1 or 1.2 release.

If you want to use the latest open62541release 1.3.4 you need our 4diac FORTE prerelease. The best is you clone our 4diac FORTE git repository and take from that the freeze branch.

However to use the 4diac FORTE freeze version you need also the pre-release version of 4diac IDE from the upcoming Eclipse 4diac 3.0 release. You can get this at: https://download.eclipse.org/4diac/updates/rc/

I hope this helps.
Previous Topic:Application of 4diac on esp32
Next Topic:Problem with Step 1 Use 4diac Locally (Blinking Tutorial).
Goto Forum:
  


Current Time: Sun Apr 28 11:01:41 GMT 2024

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

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

Back to the top