2020-06-01 05:00 AM
Hello,
I'm trying to work with The STSPIN32F0A to drive bldc motor and do some position control. Unfonrtnuelly I wasn't able to find any of those apis in the library:
GoHome(),
GoTo_ABS (ABS_POS)
GoTo_DIR (DIR, ABS_POS)
GOTO (INC_POS)
Dose anyone used those functions before? have you any idea where I can find them?
Thank you :)
PS: you can find the promotion of those functions in the document below
Solved! Go to Solution.
2020-06-08 08:41 AM
Hello, in the latest version of the MCSDK you can find some API for positioning.
For example a GoTo command is implemented with the function: MC_ProgramPositionCommandMotor1( fTargetPosition, fDuration )
where fTargetPosition (float) is the final mechanical position in radiant and fDuration (float) is the target time for the movement in seconds.
Note that you can perform multiple rotations targeting N * 2*pi position.
For more details you can refer to application notes AN5464
2020-06-08 08:41 AM
Hello, in the latest version of the MCSDK you can find some API for positioning.
For example a GoTo command is implemented with the function: MC_ProgramPositionCommandMotor1( fTargetPosition, fDuration )
where fTargetPosition (float) is the final mechanical position in radiant and fDuration (float) is the target time for the movement in seconds.
Note that you can perform multiple rotations targeting N * 2*pi position.
For more details you can refer to application notes AN5464