SvjatoslavsKrasnikovs Posted April 10, 2017 Report Posted April 10, 2017 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.
MVP 2023 Ausman Posted April 10, 2017 MVP 2023 Report Posted April 10, 2017 My first thoughts are: have you trialled different variable types in the HMI settings? Can you also do a screenshot of the related variable window? cheers, Aus
MVP 2023 Joe Tauser Posted April 11, 2017 MVP 2023 Report Posted April 11, 2017 Post your code. Joe T.
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