Is there an HMI object which can edit the timer in the PLC?

Hello, Is there an HMI object which can edit the timer in the PLC? While I tried to use the input text and attach a timer variable in the dynamics, an error message ‘Date and time data is not supported in HMI other than in text dynamics for read-only text display; In this case, expressions must be simple simple variable references’ appears. Does it mean I have to use a DINT data for the timer, then make a conversion to time format in the PLC?

Thanks Jason Li

Hi Jason, I have run into this same challenge. I found a way to deal with it and it works well for me. There is an instruction “MUL_TIME” and you can look at the help for more information. This lets you multiply a TIME by an INT. If my timer needs to be in minutes, I set IN1 = TIME#1m and IN2 = [HMI_Value] and feed OUT into my timer. All time bases are supported (days, hours, minutes, seconds, etc). This solution makes the user interaction very simple and easy. Hope this helps, Loren Brown Lead Solutions Engineer, Infrastructure Phoenix Contact, USA

Hi Loren,

I’m using PLCNext 2025 … I can’t find that instruction. do i need to import a different library? Thanks so much for your help … I’m trying to do the same thing as Jason.