| Electronic Components Datasheet Search |
|
UM1756 Datasheet(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1756 Datasheet(HTML) 45 Page - STMicroelectronics |
|
45 / 49 page ![]() DocID026263 Rev 2 45/49 UM1756 Programming section 49 21. Motor runs at constant speed of 50 steps/s in reverse direction | Run (DIR, SPD). 22. Motor softly stops after a few seconds | SoftStop. 23. The L6480 only: RESET KVAL_HOLD to initial value, RESET KVAL_RUN to initial value. The L6482 only: RESET TVAL_HOLD to initial value, RESET TVAL_RUN to initial value. | SetParam (PARAM, VALUE). 24. Wait until not busy - busy status check in the Status register | GetStatus. 25. Motor moves by 100,000 steps forward | Move (DIR, N_STEP). 26. Wait until not busy - busy status check in the Status register | GetStatus. 27. Test of the Flag pin (pin 24) by polling, wait in endless cycle if problem is detected. 28. Motor moves to its home position | GoHome. 29. Wait until not busy - busy pin test (pin 22). 30. Motor goes to the absolute position 65535 through the shortest path | GoTo (ABS_POS). 31. Wait until not busy - busy pin test (pin 22). 32. Motor goes in forward direction to the absolute position 131071 | GoTo_DIR (DIR, ABS_POS). 33. Wait until not busy - busy pin test (pin 22). 34. The L6480 only: read run duty cycle (cSPIN_KVAL_RUN) parameter from device, read intersect speed (cSPIN_INT_SPD) parameter from device. The L6482 only: read run current (cSPIN_TVAL_RUN) parameter from device. | GetParam(PARAM). 35. Read Status register content | GetStatus. 36. Read absolute position (cSPIN_ABS_POS) parameter from device | GetParam(PARAM). 37. Reset position counter, actually | ResetPos. 38. Read absolute position (cSPIN_ABS_POS) parameter from device | GetParam(PARAM). 39. Device disable power stage (High Impedance) immediately, as a consequence the supply current drops | HardHiZ. “Go until” example 40. Interrupt configuration for the SW MOTOR. 41. Motor motion in forward direction at speed 400 steps/s until the user puts a jumper on J8, the LED_SPARE (YELLOW) toggles until the user puts a jumper on J8 | GoUntil (ACT, DIR, SPD) 42. Motor stops. 43. The LED_SPARE (YELLOW) is switched off. 44. Wait until not busy - busy pin test (pin 22). 45. Motor moves by 50,000 steps reverse | Move (DIR, N_STEP) 46. Motor moves to the position saved by the GoUntil command into the MARK register, so 50000 steps forward | GoMark. 47. Wait until not busy - busy pin test (pin 22). 48. Nothing happens during a few seconds. |
|
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 |