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 » F_UDINT_TO_USINT function block in forte(F_UDINT_TO_USINT is available in IDE Type Library but forte does not build F_UDINT_TO_USINT)
F_UDINT_TO_USINT function block in forte [message #1827828] Mon, 25 May 2020 08:01 Go to next message
NOJA Power is currently offline NOJA PowerFriend
Messages: 19
Registered: May 2020
Junior Member
Hi,

By default this function block is not available in forte, however, the function block does exist in the type library.
https://www.eclipse.org/forums/index.php?t=getfile&id=38177&

In forte, the F_UDINT_TO_USINT.h/cpp files are available. In src/modules/IEC61131-3/Conversion/UDINT/CMakeLists.txt, we add the F_UDINT_TO_USINT function block.

#############################################################################
# UDINT_TO_xxx Conversion
#############################################################################
forte_add_sourcefile_hcpp(F_UDINT_TO_BYTE)
forte_add_sourcefile_hcpp(F_UDINT_TO_DINT)
forte_add_sourcefile_hcpp(F_UDINT_TO_DWORD)
forte_add_sourcefile_hcpp(F_UDINT_TO_INT)
forte_add_sourcefile_hcpp(F_UDINT_TO_SINT)
# NOJA - QA request this to be enabled
forte_add_sourcefile_hcpp(F_UDINT_TO_USINT)
# NOJA - end
forte_add_sourcefile_hcpp(F_UDINT_TO_UINT)
forte_add_sourcefile_hcpp(F_UDINT_TO_WORD)
forte_add_sourcefile_hcpp(F_UDINT_TO_STRING)


I'm wondering if F_UDINT_TO_USINT can be added to forte or removed from the type library?

Thanks

[Updated on: Mon, 25 May 2020 08:02]

Report message to a moderator

Re: F_UDINT_TO_USINT function block in forte [message #1827829 is a reply to message #1827828] Mon, 25 May 2020 08:07 Go to previous messageGo to next message
Martin Melik Merkumians is currently offline Martin Melik MerkumiansFriend
Messages: 117
Registered: March 2016
Senior Member
Hi,

yes I noticed this yesterday, and it has to be removed from the type library together with the other invalid cast function blocks.
The invalid casts have already been removed from FORTE

Best regards,
Martin
Re: F_UDINT_TO_USINT function block in forte [message #1827869 is a reply to message #1827829] Tue, 26 May 2020 06:16 Go to previous messageGo to next message
NOJA Power is currently offline NOJA PowerFriend
Messages: 19
Registered: May 2020
Junior Member
Would you like me to start a bugzilla for this item?
Re: F_UDINT_TO_USINT function block in forte [message #1827872 is a reply to message #1827869] Tue, 26 May 2020 07:17 Go to previous messageGo to next message
Martin Melik Merkumians is currently offline Martin Melik MerkumiansFriend
Messages: 117
Registered: March 2016
Senior Member
Yes, please
that would be great.

Thanks,
Martin
Re: F_UDINT_TO_USINT function block in forte [message #1827874 is a reply to message #1827872] Tue, 26 May 2020 07:28 Go to previous message
NOJA Power is currently offline NOJA PowerFriend
Messages: 19
Registered: May 2020
Junior Member
Ok, an item in bugzilla has been created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=563573

Thanks for your help.
Previous Topic:Backward compatibility between 4DIAC IDE and forte
Next Topic:src/arch/posix/CMakeLists.txt and -DFORTE_LITTLE_ENDIAN
Goto Forum:
  


Current Time: Tue Apr 16 15:44:41 GMT 2024

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

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

Back to the top