Jump to content

Time logging problem


Recommended Posts

Hi,

I am facing troubles while trying to log and later display time using Jazz2 controller. So, I'm trying to make an error log. When the error occurs I store current content of SI31 (RTC time) to MI (MI33 in this case - so far it's working). Then in order to display the error I pass MI33 content to MI41 (MI41 is linked to Time Function variable (in CT format) that is then displayed on HMI) . You can see the whole process in images below. The problem is that in the end, the content of MI41 (decimal 1500 - which I corresponds to 15:00 time) is then displayed as 05:DC on the HMI display. I guess the problem is caused due to DEC/HEX conversion. Any idea how to fix this ? Thank You.

 

 

1st.png

2nd.png

3rd.png

4th.png

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.