| Electronic Components Datasheet Search |
|
AN4241 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4241 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 18 page ![]() Motion engine AN4241 10/18 Doc ID 024193 Rev 1 Following the suggested sequence of operations: 1. Read the current motor speed (SPEED register) and direction (DIR bit in the STATUS register). 2. Send a Run command setting the target speed and direction equal to the values obtained at point 1. 3. Wait for the execution command monitoring the BUSY pin or the BUSY flag in the STATUS register. 4. Send the new positioning command. This operation could introduce a small error in the generation of the speed profile. If the target position is changed a high number of times (tracking position) the error increases and anomalous behaviors could occur. 2.3 Stop commands The motor can be stopped through the stop commands. These commands can be sent at any time and they are executed immediately. The SoftStop command stops the motor fitting the deceleration value of the speed profile whereas HardStop command stops the motor immediately (infinite deceleration). The SoftHiZ and HardHiZ commands operate similarly, but the power bridges are disabled as soon as the zero speed is reached (the high impedance status is forced). 2.4 Initializing position using GoUntil and ReleaseSW commands The GoUntil and ReleaseSW commands can be used to initialize the absolute position information stored into the ABS_POS register according to an external position sensor. In this way a relation between ABS_POS value and mechanical position of the motor can be established. The position initialization sequence, as shown in Figure 7, is the following: 1. In power-up status, the load position is unknown. 2. Using GoUntil command the load is moved to the limit switch at high speed. 3. When the load reaches the limit switch the SW input of the device is forced low. The motor decelerates and then stops. 4. Considering the high speed used to approach the load to the limit switch, a significant error in the positioning could happen. 5. Using ReleaseSW command the load is moved away from the limit switch at low speed. 6. As soon as the threshold position of the limit switch is crossed by the load the SW input of the device is forced high. The motor stops immediately. 7. The load is positioned in correspondence to the threshold position of the limit switch with a high precision. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |