The situation is,
I want to count cycle time for one sensorto be on-offgon again, after 2nd ON, timer finish count, and will recount again.. The timer count will dispay in hmi
How to program it
It is needed to take a look at your logic. Meanwhile, your question was not really clear to me. What do you mean by the cycle time of a sensor?
the situation like this:
i have 1 sensor to count number of round roller...after sensor count up to 3 it back to zero and start counting again..
i need to check cycle time how many sec my sensor finish count up to 3 round..every 3round that cycle time will shown in HMI
so how to i program it
You can use a combination of comparator instructions, timers, and counters to write this PLC program. Go ahead and let us know if you have more specific questions down the road.