Hi All,
I have some SG90 9 g Micro Servo's which should rotate approximately 180 degrees (90 in each direction). I can get the servo to move ok with the supplied SFC, however i have some questions:
1) I cannot find the "SM Drive_Servo: Configuration" page to set the -ve/+ve limits which is shown in the docu, i can only find a "commissioning" section which says "This page is only available in online config mode" ?? See attachment.
2) At the moment i modify steps to move between absolute 90 deg/-90 deg, however the servo only physically moves 90 deg total, however when i monitor the actual value in codesys it moves betwen +90 / -90, its like the PWM scaling is out. From motor specs, Position "0" (1.5 ms pulse) is middle, "90" (~2ms pulse) is all the way to the right. "-90" (~1ms pulse) is all the way to the left.
Thanks for any tips.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
would recommend to enable the configuration page you need to go to tools-options-device editor-> enable generic device Editor
the online config mode is to give the possibilty to move the drives - manual move for comissioning.
See the screenshots how to enable and how to move the servo by this online configuration mode.
My experiance with these servos are that most of them do not move the range they should do,
if they are specified with +/-90Β° we see very often only +/-65 or even less movement range.
Maybe I'm wrong and this is only the case with my 3-4 different types I have used till now. (->most of them really cheap quality, obviously)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I have some SG90 9 g Micro Servo's which should rotate approximately 180 degrees (90 in each direction). I can get the servo to move ok with the supplied SFC, however i have some questions:
1) I cannot find the "SM Drive_Servo: Configuration" page to set the -ve/+ve limits which is shown in the docu, i can only find a "commissioning" section which says "This page is only available in online config mode" ?? See attachment.
2) At the moment i modify steps to move between absolute 90 deg/-90 deg, however the servo only physically moves 90 deg total, however when i monitor the actual value in codesys it moves betwen +90 / -90, its like the PWM scaling is out. From motor specs, Position "0" (1.5 ms pulse) is middle, "90" (~2ms pulse) is all the way to the right. "-90" (~1ms pulse) is all the way to the left.
Thanks for any tips.
Hi,
would recommend to enable the configuration page you need to go to tools-options-device editor-> enable generic device Editor
the online config mode is to give the possibilty to move the drives - manual move for comissioning.
See the screenshots how to enable and how to move the servo by this online configuration mode.
My experiance with these servos are that most of them do not move the range they should do,
if they are specified with +/-90Β° we see very often only +/-65 or even less movement range.
Maybe I'm wrong and this is only the case with my 3-4 different types I have used till now. (->most of them really cheap quality, obviously)
BR
Edwin
Thanks Edwin for the information.
I followed the instruction here https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi/library-referencehttp://datasheet.sparkgo.com.br/SG90Servo.pdf. I do not understand how i can enter the same data (i.e these pulse times) into codesys. I know I can enter the postion setpoint and the servo configuration negative/positive positions, however i am not sure how these relate to the pulse times (which lead to the correct final positions). Are we sure this library is working correctly ?
Kind Regards
Hi,
you are right seems to be a bug / feature what ever, we will fix/extend this to next version.
BR
Edwin
Did this bug/feature end up with a resolution? I am having issues with this as well.
How Long will it take to get the Problem fixed? Is there a little workaround for quick help available?
Hi,
3.5SP11 release... July.
BR
Edwin
Hello, the problem is still in progress
servo motors do not rise above 60 degrees
I m using version v3.5 sp12
Hello,
Many thanks Edwin! Display the "hidden" parameters was the solution. I can now access to the parameters and I can adjust them!
Last edit: yann2021 2021-05-13