How to display the TIME datatype within EasyBuilder Pro

How to display the TIME datatype within EasyBuilder Pro
none 0.0 0
  • HMI Model: CMT3162x
  • EasyBuilder Pro Version: 6.08.02.322
  • Serial Number or supplier: HH Barnum

Looking to understand how to display a datatype TIME? In the program, I am trying to create a countdown timer showing how much time is left in a series of processes. Was using a TON or TOF, depending on application, in the CodeSys program which does seem to work here.

Hi @jonmarc91,

To display TIME, I would recommend that you utilize the TO_STRING() method to convert the TIME variable to STRING:

However, you may want to trim the beginning and end of the string or simply take a sub-string of the output. To do this, you may use the MID() method:

While in STRING format, the time data can be displayed within an ASCII object:
image