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. Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.