Can someone help...?
In Logix5000, I am trying to convert float/real numbers to bcd. I used a TOD function to convert a binary to bcd. So if I put in an 12 (0000 0000 0000 1100), I would get in bcd: 0000 0000 0001 0010.
But how would a float number work? How would I do it if I needed get a bcd from a number such as 128.44?
Then I would take that number and display it on a BCD-7 seg display.
Thanks
In Logix5000, I am trying to convert float/real numbers to bcd. I used a TOD function to convert a binary to bcd. So if I put in an 12 (0000 0000 0000 1100), I would get in bcd: 0000 0000 0001 0010.
But how would a float number work? How would I do it if I needed get a bcd from a number such as 128.44?
Then I would take that number and display it on a BCD-7 seg display.
Thanks