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

Relative moves in profiled position mode #289

Open
gsalinas opened this issue Jun 7, 2024 · 1 comment
Open

Relative moves in profiled position mode #289

gsalinas opened this issue Jun 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gsalinas
Copy link

gsalinas commented Jun 7, 2024

Is there a way to use CIA402 devices in profiled position mode to do relative moves? The standard lets profiled position commands be made relative to the current position by setting bit 6 of the control word, but I don't see any way to get that behavior from the drive. This would be helpful as it's more natural in some applications. Thank you so much!

@gsalinas gsalinas added the enhancement New feature or request label Jun 7, 2024
@hellantos
Copy link
Member

I had used that relative modes in another settings before. Right now, this is not supported.
Would you need this to be switched during application, or could this be a setting that is static for one application and could be fixed in settings?

Implementing online switching could be quite some effort.
The setting implementation should be rather straight forward.

The final "change" for setting relative mode would need to be made in canopen_402_driver/include/canopen_402_driver/profiled_position_mode.hpp in the write function. Basically cw.set(Command402::CW_Operation_mode_specific2) would need to be inserted.

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

No branches or pull requests

2 participants