Skip to main content



      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 04:01 Go to next message
Eclipse UserFriend
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 04:02] by Moderator

Re: F_UDINT_TO_USINT function block in forte [message #1827829 is a reply to message #1827828] Mon, 25 May 2020 04:07 Go to previous messageGo to next message
Eclipse UserFriend
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 02:16 Go to previous messageGo to next message
Eclipse UserFriend
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 03:17 Go to previous messageGo to next message
Eclipse UserFriend
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 03:28 Go to previous message
Eclipse UserFriend
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 Jul 15 22:51:26 EDT 2025

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

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

Back to the top