ceilingwalker
Lifetime Supporting Member
Good day all. I have a program that sends an ASCII string to a display via RS-232. The data it is sending is the value of a timers preset minus its accumulator. Currently it sends it in seconds. What I would like to know is, what instruction could I write that would make it possible for the processor to send out minutes, a space or two, then seconds. The operators enter timer preset values via an HMI, in minutes. I was thinking I could create a situation where the timer values could have one that is converted to minutes (which I already have) and then another integer file for seconds and then concantenate the two. My concern is dealing with fractions of a minute which an integer file can't do. Thanks much.