| Electronic Components Datasheet Search |
|
POWERSTEP01 Datasheet(PDF) 79 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
POWERSTEP01 Datasheet(HTML) 79 Page - STMicroelectronics |
|
79 / 92 page ![]() DocID025022 Rev 5 79/92 powerSTEP01 Programming manual 92 If the SW_MODE bit of the CONFIG register is set low, the external switch turn-on event causes a HardStop interrupt instead of the SoftStop one (Section 7.14 on page 33 and Section 11.1.27 on page 66). This command keeps the BUSY flag low until the switch turn-on event occurs and the motor is stopped. This command can be given anytime and is immediately executed. 11.2.11 ReleaseSW (ACT, DIR) The ReleaseSW command produces a motion at minimum speed imposing a forward (DIR = '1') or reverse (DIR = '0') rotation. When SW is released (opened) the ABS_POS register is reset (ACT = '0') or the ABS_POS register value is copied into the MARK register (ACT = '1'); the system then performs a HardStop command. Note that, resetting the ABS_POS register is equivalent to setting the HOME position. If the minimum speed value is less than 5 step/s or low speed optimization is enabled, the motion is performed at 5 step/s. The ReleaseSW command keeps the BUSY flag low until the switch input is released and the motor is stopped. 11.2.12 GoHome The GoHome command produces a motion to the HOME position (zero position) via the shortest path. Note that, this command is equivalent to the “GoTo(0…0)” command. If a motor direction is mandatory, the GoTo_DIR command must be used (Section 11.2.9 on page 78). The GoHome command keeps the BUSY flag low until the home position is reached. This command can be given only when the previous motion command has been completed. Any attempt to perform a GoHome command when a previous command is under execution (BUSY low) causes the command to be ignored and the CMD_ERROR to rise (Section 11.1.28 on page 71). Table 70. ReleaseSW command structure Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 0 0 1 ACT 0 1 DIR From host Table 71. GoHome command structure Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0 01110000 From host |
|
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 |