Author Topic: Pulse monitor  (Read 4694 times)

hamidraza

  • Newbie
  • *
  • Posts: 8
  • I'm a llama!
    • View Profile
Pulse monitor
« on: October 27, 2011, 12:19:14 AM »
can pulse monitor measure the width of 500msec. pulse at its high speed inputs( i am not asking about a waveform of certain frequency)

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:Pulse monitor
« Reply #1 on: October 27, 2011, 09:23:04 AM »
Do you mean it is a single pulse? What is the cycle time of the pulse?

PULSEWIDTH function is typically used to measure the width of the "ON" cycle of incoming input pulse with period < 3 seconds.

if it is a one-off pulse, you may be able to used an interrupt input to start a high speed timer and also capture the value of the timer when the input turns OFF.  The difference is the pulse width of this single pulse but the resolution is 10ms.

For Nano-10, FMD or F-series you may start a periodic interrupt that increment a variable every 1 ms and use it as a timer source  for clocking the rising edge and falling edge of the interrupt inputs. The difference is the pulse width and that has resolution of 1ms.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS