Muebr
Hello everyone I am working on a project for an automated biomass washing machine. I have created a test program with the basic requirements to run the machine and it works great. I am in the process of building out an HMI using ignition software so that I can implement more control functions/monitoring however I am having a hard time finding a way to read the ET of my timers as a full output of the hrs,mins,secs.  using time to int I lose all resolution. for clarification I am using the PT minus the ET of a pulse timer to get an elapsed time and would love to be able to spit out that whole string to my hmi "T#XhXXmXXsXXXms" when i locate a time variable the simulation shows the value I want but the program wont compile. I am assuming time variables arent meant to be located as i had to play around a bit to even get the program to allow me to fill out the location. 
 
thank you for your time
Reply 0 0
thiagoralves
You can simply convert from TIME to REAL, then you will have millisecond precision in the floating point (i.e. 1h 23m 14s 420ms = 4994.420 seconds). You can then use math operations to split that number into several integers for hour, minutes, seconds and milliseconds, and store each part of it on a located INT.
Reply 1 0
Reply