Internet PLC Forum

General => Technical support => Topic started by: Ken on March 14, 2002, 01:36:03 PM

Title: lowest value produced by pulsefrequency
Post by: Ken on March 14, 2002, 01:36:03 PM
What is the lowest possible value that can be generated by pulsefrequency.  If it is one, and a person needs slower signal representation, I assume you would have to use a highspeed counter?

Thanks,
Ken :-/
Title: Re: lowest value produced by pulsefrequency
Post by: support on March 14, 2002, 03:38:50 PM
The lowest frequency is zero. Anything with period longer than 1 second is returned as zero by "pulsefrequency(n) function.  The longest period that "pulseperiod(n)" function  can measure is 3.2 seconds.

If the signal is very slow, you can use a system clock pulse e.g. Clk:0.1s  to count the ON time and OFF time and then compute the frequency.