Jump to content

Simple addition function does not always update


Recommended Posts

I am using a JZ20-R31.

 

I have been using a program I wrote that monitors a HSC then adds a value to the HSC and saves it into a different MI. What I have noticed is that the system works great as long as the HSC is a positive number. When it overflows to a negative it will randomly not execute the math function. I am thinking that this a limitation of the controller having a 3 to 4ms scan time. Any thoughts on this issue?

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.