Sign in to follow this  
Followers 0
chanchingshi

RESET FLOATING POINT

5 posts in this topic

Dear All; i am facing a problem with my GX works program. i cant reset my floating point to 0 by using the command EMOV. can some one help me on this? please refer to the picture. any mistake on my ladder? thank you Regards: CS chan

Share this post


Link to post
Share on other sites
There is no mistake. D116+D117 is probably overwritten somewaher else in the program. Remember a Float is two dataregisters so maybe you are writting something in D117?

Share this post


Link to post
Share on other sites
Instead of moving "0" try moving "0.0" I hope this helps.

Share this post


Link to post
Share on other sites
CS Chan, I usualy make Dmov to set/reset floating point. Dmov k0 D116

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0