Control run text from number input or state machine?

Hi, is there a way to be able to type e.g. 60 in the number input and appear that number on the run text element.
Or alternatively to be able to edit a run text from state machine?

Thanks.