Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axiscontroller CSP Mode problem #9

Open
RinMa89 opened this issue Feb 12, 2025 · 2 comments
Open

Axiscontroller CSP Mode problem #9

RinMa89 opened this issue Feb 12, 2025 · 2 comments

Comments

@RinMa89
Copy link

RinMa89 commented Feb 12, 2025

Hi,

I have some problems with the Axiscontroller in CSP Mode.

Sometimes when xFollowEnable is activated the value of otg.TargetPosition gets written into the otg.NewPosition variable!
Which causes the servo drive to trip immediatly offcourse because this is often a very big step!

Do you have any idea how this could happen?

2025-02-12_171020.mp4
@feecat
Copy link
Owner

feecat commented Feb 13, 2025

Hi,
when use a very large value into otg calc, the numerical robustness will lower. so i suggest that use Control.Scale to scale axis position <-> cia402 target position. normally its should be 1E4 to 1E6.

@RinMa89
Copy link
Author

RinMa89 commented Feb 13, 2025

Thanks, i will try that.

Still it think it is strange, this only happens (sometimes) right after xFollowEnable is enabled.
When it doesn't happen and i do not not stop the movement, the axis will move from 30000000 position to -30000000 position without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants