tomwhite007_2008
Member
Processor : PLC5
I have an situation where I need to set a time into the Panelview HH:MM:SS (N7:10, N7:11, N7:12). This time is the total time to keep the water pump running. Next they want a running time(counts up)for how long the pump has been running displayed on the panelview (N7:20, N7:21, N7:22). Now for the really complicated part is they want to display the time remaining(counts down) (N7:30, N7:31, N7:32). This is the SET TIME(N7:10, N7:11, N7:12) minus the RUNNING TIME (N7:20, N7:21, N7:22).
I spent about 12 hours tring to figure this out. My numbers are all over the place for the Time Remaining. They turn positive, sometimes negitive. Please help. Any response would be greatly appreciated.
I have an situation where I need to set a time into the Panelview HH:MM:SS (N7:10, N7:11, N7:12). This time is the total time to keep the water pump running. Next they want a running time(counts up)for how long the pump has been running displayed on the panelview (N7:20, N7:21, N7:22). Now for the really complicated part is they want to display the time remaining(counts down) (N7:30, N7:31, N7:32). This is the SET TIME(N7:10, N7:11, N7:12) minus the RUNNING TIME (N7:20, N7:21, N7:22).
I spent about 12 hours tring to figure this out. My numbers are all over the place for the Time Remaining. They turn positive, sometimes negitive. Please help. Any response would be greatly appreciated.