42.3. PLB QEI Encoder Example
42.3.1. Overview
Configured as an ABZ encoder interface and output position and number of turns information.
Use plb encoder component
42.3.2. Board Setting
Connect the motor board and motor to the development board.
42.3.3. Running the example
When the project runs correctly, the serial port terminal will output the following information:
hase:3133. z:1
phase:597. z:2
phase:1792. z:2
phase:2596. z:2
phase:2593. z:2
phase:2415. z:2
phase:1199. z:2
phase:3886. z:1
phase:2652. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1
phase:2208. z:1