# control::Freq

    sys::Obj
      sys::Virtual
        sys::Component
          control::Freq

`public class Freq` `[niagaraIcon="module://icons/x16/control/control.png"]`

Freq calculates instantaneous input pulse frequency (based on rising edges). Result is output in pulses per second and pulses per minute.

Note: since input is checked only once per app cycle, result cannot exceed

          1/2 execute scan frequency.

in

  `public property bool in`

  input

ppm

  `public property float ppm [unit="per_minute", precision=3, readonly]`

  frequency in pulse per minute

pps

  `public property float pps [unit="per_second", precision=3, readonly]`

  frequency in pulses per second

execute

  `public virtual override void execute()`

  Execute is called once every scan.

start

  `public virtual override void start()`

  Callback when component is first started in an app.