|
|
Encoder broken wire protection description [GB]
Author: AM Reference Number: AA-00293 Views: 9614 Created: 15-09-2011 12:15 Last Updated: 07-05-2021 16:12 |
0 Rating/ Voters
|
|
The iPOS drives family are able to automatically determine encoder failures. This protection is available only for brushless motors with incremental encoder and Halls sensors.
The default behavior of the "Encoder broken wire" protection is:
- disable the power stage of the drive
- turn off the green LED
- turn on the red LED
- execute the code inside the "Control Error" interrupt
If needed, the "Encoder broken wire" protection can be disabled by setting the bit no. 6 in the PCR register to 0. This can be done using the following code line. SRB PCR, 0xFFBF, 0x0; //Set PCR using AND
mask 0xFFBF and OR mask 0x0000 In EasyMotion Studio, the code line above can be generated using the the "Assignment and Data Transfer - 16 bits Integer Data" option.
|
|
|