Motion in for high speed counting of digital input signals

Motion in is used for high speed counting of digital input signals. It’s a background task. Once a Motion In Block is executed, it’ll continue counting in the background until another Motion In block set to Stop is executed.
To enable Motion In, Press the ‘Setup Hardware’ button. It’s on the upper left of vBuilder. Your ‘Setup Hardware’ button may look a little different from the one on the left, depending on whether you’ve setup your hardware and on the specific hardware you’re using.
The last page of the Setup Hardware lets you set Motion In (High-Speed Counter) options. There are 2 Motion In types: Pulsed Input and Quadrature Input. Shown below is the setup pages for Motion In type.

Pulsed Input : Typically is associated with frequency, counting or totalization applications

Pulsed Input requires 1 Digital Input.  After configuring in Setup Hardware, placing a Motion In Block brings up the following Dialog.

The Tag you select for ‘Count Value’ will store the Motion In’s count value. Count Value must be of the I32 Data Type. The Motion In block can be set to count up or down. A count is triggered by either a rising (0 to 1) value, or a falling (1 to 0) value. The ‘counter Input Bit’ that causes the count is the Digital Input that you selected in ‘Setup Hardware’.

Quadrature Input (A and B signals) : Provides the interface to incremental encoders for obtaining mechanical position data

Quadrature Inputs are used with incremental rotary encoders.  Check out Wikipedia’s article on them to learn more.  They require 2 Digital Inputs.  Be sure not to use the same Digital Input for both Quadrature Inputs.

Start Counter :

Start Counter requires an I32 Tag to store the count in.

Stop Counter :