stretch_af
Member
I'm writing a new program for a CompactLogix 5069-L310ER.
I used a GSV to grab the date and time from the processor. Then several DTOS and CONCATs to convert the DINTS into one string to display on my HMI, (event driven time stamp). That all worked just fine until this afternoon. When "14:00" should have been displayed, "14:0" was shown. My logic cut off one zero. How do I get my missing zero back? Minor issue, but it's bugging me.
Thanks
Justin
I used a GSV to grab the date and time from the processor. Then several DTOS and CONCATs to convert the DINTS into one string to display on my HMI, (event driven time stamp). That all worked just fine until this afternoon. When "14:00" should have been displayed, "14:0" was shown. My logic cut off one zero. How do I get my missing zero back? Minor issue, but it's bugging me.
Thanks
Justin