beckhoff TwinCAT 2 PLC Control — 9.1.4.1 Configure Visualization Elements

Visualization It is not checked whether the type which is used in the formatting string matches with the type of the variable which is defined in the 'Text Output' field ! Example: Input in the 'Content' field: Fill level %2.5f mm Input in the 'Text Output' field e.g.: fvar1 (REAL variable) →Output in online mode e.g.: Fill level 32.89997 mm If you enter "%t ", followed by a certain sequence of special placeholders, then this location will be replaced in Online mode by the system time. The placeholders define the display format, see the following table. Do not insert any other characters before %t in the 'Content' field (in contrast this is allowed for e.g. "%s", see above) Examples:

%t%a %b %d.%m.%y %H:%M:%S -> Display in online mode: Wed Aug 28.08.02 16:32:45 TwinCAT 2 PLC Control 201 Version: 1.0 Placeholder Format %a Abbreviated weekday name. I.e. "Wed" %A Full weekday name. I.e. "Wednesday" %b Abbreviated month name. I.e. "Feb" %B Full month name. I.e. "February" %c Date and time representation appropriate for locale / / : : , i.e. "08/28/02 16:58:45" %d Day of month as decimal number (01-31), i.e. "24" %H Hour in 24-hour format (00 – 23), i.,e. "16" %I Hour in 12-hour format (01 – 12), i.e. "05" %j Day of year as decimal number (001 – 366), i.e. "241 %m Month as decimal number (01 – 12) i.e. "3" for March %M Minute as decimal number (00 – 59) i.e.

"13" %p Current locale’s A.M./P.M. indicator for 12-hour clock. %S Second as decimal number (00 – 59) %U Week of year as decimal number, with Sunday as first day of week (00 – 53) %w Weekday as decimal number (0 – 6; Sunday is 0) %W Week of year as decimal number, with Monday as first day of week (00 – 53) %x Date representation for current locale / / , i.e. "08/28/02" %X Time representation for current locale : : , i,e. "16:58:45" %y Year without century, as decimal number (00 – 99), i,e. "02" %Y Year with century, as decimal number i,e. "2002" %z, %Z Time-zone name or abbreviation; no characters if time zone is unknown %% Percentsign