Author Topic: lowest value produced by pulsefrequency  (Read 7195 times)

Ken

  • Newbie
  • Posts: 16
    • View Profile
lowest value produced by pulsefrequency
« 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 :-/
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re: lowest value produced by pulsefrequency
« Reply #1 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.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS