Numeric Text Field

Sorry, i ckecked this again and realized i was wrong. The Ignition Siemens driver supports timer adresses but no timer data type. So you can read the value of a timer, but you can not write a S5Time value to a memory adress.
It is possible to convert the value using an expression tag and write it in word format, but it seems there is no built in way for this.
I was confused by the manual talking about ‘writing’ to a timer, what really makes no sense.

An expression tag with the following expression should work:

// Convert input value to BCD
floor( {[.]InputVal}/100) * 0x100 
+
floor( ({[.]InputVal}%100)/10) * 0x10 
+
floor({[.]InputVal}%10)
+
// 0x1000	// Time base 1/10s
0x2000 // Time base 1s
// 0x3000 // Time base 10s

In the expression tag, check the ‘write back to opc’ option to write the value to your plc. The InputVal referenced in the expression is an additional memory tag bound to the value of your numeric text field.