Quadrature Encoder Get
General information about Quadrature Encoder Get
This block reads the counter of the quadrature encoder module.
reset input (optional) if the value goes from 0 to 1 the counter output will be reset.
The output is a 32-bit signed counter. The counter starts at zero and counts up or down depending on the direction of the sensor shaft.[int32]
|Quad encoder module||Select the output pin where the PWM signal should be generated.|
|Configuration||Select the pin electrical configuration.|
|Show counter reset input||When this checkbox is ticked an input appears.|
|Sample time||Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.|