defcon.klaxon
Lifetime Supporting Member
Hi guys,
I have a client who wants to be able to enable/disable a process with a user-adjustable time-of-day control (start time, and stop time, in an hours:minutes format). The HMI software is InTouch. I was wondering if any of you had experience setting this sort of thing up and how involved it would be; is there a way to format a string into time, and have it be user-adjustable? I have an example in a very old system and it uses a rather cumbersome pushbutton system to increment/decrement the hours and minutes; I'd really prefer to have the field be clickable and adjustable. So I would think animating the time setpoints to be strings would probably be the way to go about it, but how would I extract the hours vs minutes? Sounds like I need to write a script that would send an enable/disable bit from the HMI to the PLC...would love any input you guys could provide for how to do this gracefully via script. Thanks!
I have a client who wants to be able to enable/disable a process with a user-adjustable time-of-day control (start time, and stop time, in an hours:minutes format). The HMI software is InTouch. I was wondering if any of you had experience setting this sort of thing up and how involved it would be; is there a way to format a string into time, and have it be user-adjustable? I have an example in a very old system and it uses a rather cumbersome pushbutton system to increment/decrement the hours and minutes; I'd really prefer to have the field be clickable and adjustable. So I would think animating the time setpoints to be strings would probably be the way to go about it, but how would I extract the hours vs minutes? Sounds like I need to write a script that would send an enable/disable bit from the HMI to the PLC...would love any input you guys could provide for how to do this gracefully via script. Thanks!