Help - Search - Members - Calendar
Full Version: Float to String Reprise
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
pabeader
This is on a ML1100

I have tried to find the documents linked to AB's site but they are broken???
I tried the example floating_to_string.rss but it changes the last digit if it's greater then 0 and even, to an odd number. example 30588 becomes 30587.

Is there a way to get to the links mentioned in other posts about this?

or a kind soul could post it here.

Thanks

BobLfoot
Checking the Knowledgebase I find note ID 8714 or previous Tn 49180 contians Float to string rss word document.

Checking the Knowledgebase I find note ID 29902 or previous Tn A96725939 contians Float to string rss word document as well.
pabeader
ID 8714 has a problem with rounding down even numbers greater then 0. ie 30588 -> 30587

ID 29902 Is only good for number less then 32768.

I have found mention of a ML1100 specific solution but the links are not working anymore. Hopefully a kind soul will have saved the info from them and can post it here?
TWControls
Shooting from the hip here since I haven't looked at the file yet, change the Integer storage to Long Integer

Before we get too far, how large of a number do you need to convert?
pabeader
Up to 6 digits. It's the number from a RFID badge. Can be from 4 to 6 digits.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.