adccommunitymod (AutomationDirect) asked a question.

Project Underway! Need 32-bit floating to 16-bit Conversion

Created Date: March 15,2007

Created By: beckdm

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

We would like the capibility to use the recipe object to pass 32-bit floating point tags to 16-bit unsigned integers and vice versa. We have a critical project underway that is heavily dependant upon this option. Can this feature be available on your next release and if so when?


  • adccommunitymod (AutomationDirect)

    Created Date: March 16,2007

    Created by: jackson

    Huh?

    So how would you want to convert -12.3456 to an Unsigned Integer?

  • adccommunitymod (AutomationDirect)

    Created Date: March 16,2007

    Created by: beckdm

    I am sorry if that was misleading. I am not trying to convert a fractional number to a whole. I am limited to either 32-bit floating point numbers or 16-bit integers. I use floating point because of overflow issues with 16-bit integers. But, because of limitations in the C-More software such as not being able to use floating point in the PLC-Panel options I am stuck. I am going to pass whole numbers as floating point so I need this ability to use some of the above mentioned features. I hope you have a better understanding of what I am trying to accomplish. Thanks for the reply!

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 16,2007

    Created by: beckdm

    Originally posted by jackson:

    Huh?

    So how would you want to convert -12.3456 to an Unsigned Integer?

    I am sorry if that was misleading. I am not trying to convert a fractional number to a whole. I am limited to either 32-bit floating point numbers or 16-bit integers. I use floating point because of overflow issues with 16-bit integers. But, because of limitations in the C-More software such as not being able to use floating point in the PLC-Panel options I am stuck. I am going to pass whole numbers as floating point so I need this ability to use some of the above mentioned features. I hope you have a better understanding of what I am trying to accomplish. Thanks for the reply!

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 15,2007

    Created by: beckdm

    We would like the capibility to use the recipe object to pass 32-bit floating point tags to 16-bit unsigned integers and vice versa. We have a critical project underway that is heavily dependant upon this option. Can this feature be available on your next release and if so when?