kevinlin_5
Member
Dear All,
I have a problem with the Simatic Timer.
I'm writing a program to check the pulse signal input, if the input signal is keep changing periodically, then output is set, otherwise, output will reset. I used some timers to achieve this, and the input was a clock memory input with period of 2seconds. When the input 'Pulse_Input' is high, timer T210 will starts to count, output of this timer 'Timer_ON' will be set after 1 second, and this time the input 'Pulse_Input' is expected to be low, so I use 'Pulse_Input' and 'Timer_ON' to set the output 'Communication_Good'. The same way for input 'Pulse_Input' is low. This is how I program it.
But now the problem is the timers are not counting at all, even when the input of timer are high. Attached is the screenshot of the program for your reference. Can someone help to give any comments on how to solve?
Thanks for the help.
I have a problem with the Simatic Timer.
I'm writing a program to check the pulse signal input, if the input signal is keep changing periodically, then output is set, otherwise, output will reset. I used some timers to achieve this, and the input was a clock memory input with period of 2seconds. When the input 'Pulse_Input' is high, timer T210 will starts to count, output of this timer 'Timer_ON' will be set after 1 second, and this time the input 'Pulse_Input' is expected to be low, so I use 'Pulse_Input' and 'Timer_ON' to set the output 'Communication_Good'. The same way for input 'Pulse_Input' is low. This is how I program it.
But now the problem is the timers are not counting at all, even when the input of timer are high. Attached is the screenshot of the program for your reference. Can someone help to give any comments on how to solve?
Thanks for the help.