Matt@BAE Posted October 9, 2010 Report Share Posted October 9, 2010 I need to send a memory float value to a serial printer using fb protocol send. If I send the actual MF I get erroneous output. I have considered using NUM to ascii but my memory float will always be changing in size and decimal point will always be moving. Am I missing a simple way to do this? Thanks for any input. Link to comment Share on other sites More sharing options...
Emil Posted October 10, 2010 Report Share Posted October 10, 2010 It's not so simple, but anyway... You can set decimal place of the moduloe NUM ot ASCII as register, not as constant. Then, you can build some logic to set the decimal point on the "right" place. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now