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 » New composite type
New composite type [message #1724539] Wed, 24 February 2016 13:34 Go to next message
Petr Belyaev is currently offline Petr BelyaevFriend
Messages: 1
Registered: February 2016
Junior Member
Can someone plz tell me if there is a sane and easy way to add a new composite type made out of few FBRT blocks? Sane - without FBDK, java compilation and other not-so-nice things.

What i'm trying to do is to create a simple composite type made out of a CNV_MDL (BasicFB), an E_CYCLE and a PUBL_4.

Or is it easier (yet imho quite dirty) to make a number of subapplications without messing with type creation?
Re: New composite type [message #1724592 is a reply to message #1724539] Wed, 24 February 2016 20:33 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
Unfortunately currently for both 4DIAC FORTE and FBRT you need to compile all types. The only option you could go is with subapps. I don't regard subapps as dirty option. There are certain use-cases where even composite FBs can not be used or are not appropriate (e.g, you need to distribute parts to different devices, you need to perform instance specific internal parameters).

The only drawback of this solution is that currently no tool really supports sub-applications as they should be supported. Any help on this topic is greatly appreciated.
Re: New composite type [message #1755595 is a reply to message #1724592] Mon, 06 March 2017 09:00 Go to previous messageGo to next message
Lik Lik is currently offline Lik LikFriend
Messages: 20
Registered: February 2017
Location: Russia
Junior Member
What is the basic difference between Composite FB type and SubAppType? I think they are very similar to each other. It may be better to use the model SubApp for Composite FB and generate internal FBs in 4DIAC instead in FORTE.
Re: New composite type [message #1755657 is a reply to message #1755595] Mon, 06 March 2017 15:49 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
Hi,

The main difference is that the content off subapplications can be distributed to different devices. This allows to do different things then CFBs. CFBs are atomic and for a user not destinquischable from Basic or SIFBs. SubApps are transperent and you can look in side. Especiaylly with the untyped subapps this get very interesting for structuring applications.

Alois
Previous Topic:FORTE: OSCAT library
Next Topic:Analog IO Expansion Board
Goto Forum:
  


Current Time: Fri Oct 19 16:35:51 GMT 2018

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

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

Back to the top