# func::UpDn

    sys::Obj
      sys::Virtual
        sys::Component
          func::UpDn

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

UpDn Up/down counter object

cDwn

  `public property bool cDwn [summary, config]`

  Count down if true; o/w count up

holdAtLimit

  `public property bool holdAtLimit [config]`

  Stop counting when limit reached if true

in

  `public property bool in`

  Increment/decrement counter on positive edge

limit

  `public property float limit [config]`

  Overflow limit

out

  `public property float out [readonly]`

  Current count

ovr

  `public property bool ovr [readonly]`

  Overflow indicator

rst

  `public property bool rst`

  Reset count

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.