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

Softmotion - Homing Position Mode Enhancements #4

Open
SimonRPSM opened this issue Aug 23, 2017 · 6 comments
Open

Softmotion - Homing Position Mode Enhancements #4

SimonRPSM opened this issue Aug 23, 2017 · 6 comments
Assignees
Projects

Comments

@SimonRPSM
Copy link

Currently the mode uses the Softmotion settings (Start Search Forward, Stop on FWD Edge, Approach FWD).

Write code to go from these to the DS402 32 possible reference moves.

@SimonRPSM SimonRPSM self-assigned this Aug 23, 2017
@SimonRPSM SimonRPSM added this to To Do in Release_1 Aug 23, 2017
@SimonRPSM SimonRPSM moved this from To Do to In Progress in Release_1 Aug 23, 2017
@Karl-G1
Copy link

Karl-G1 commented Aug 24, 2017

@SimonRPSM

Of the 31 supported Homing Modes in DS402, LabVIEW SoftMotion supports 13. By adding a Find Reference: Index move after Modes 17-18 and 23-30, you can easily implement Modes 1-2 and 7-14 in this module. Modes 3-6 and 19-22 would not be terribly difficult to implement if needed, as you just need to know the current status of the home switch.

Keep in mind however that most EtherCAT drives do not support all 13 of SoftMotion's homing modes, and that SDI Plug-ins work around this by commanding supported modes with the closest parameters. For first-party SoftMotion hardware, 12 homing modes are supported (all except 35: absolute).

image

@SimonRPSM SimonRPSM moved this from In Progress to To Do in Release_1 Sep 5, 2017
@SimonRPSM SimonRPSM moved this from To Do to In Progress in Release_1 Sep 7, 2017
@SimonRPSM SimonRPSM moved this from In Progress to To Do in Release_1 Sep 18, 2017
@SimonRPSM SimonRPSM moved this from To Do to In Progress in Release_1 Oct 3, 2017
@SimonRPSM
Copy link
Author

I've been thinking about how to implement the 2 moves and I am not sure whether it should be the motion module that spins of the second (index) move. This would be easy to implement in the Sequencer, but a bit more tricky to set up in the module itself. I will be shelving this one for now and stick to only implementing (in the module) the ones that Softmotion natively supports.

@Karl-G1
Copy link

Karl-G1 commented Oct 5, 2017

I agree; I wouldn't worry about the index move modes for now. I would handle it in the motion module by essentially having that 'move' be two separate Find Reference Moves.

@SimonRPSM
Copy link
Author

Sounds good, @KarlG-Motion

For now I'll look into how I think I'll create a small converter to go from DS402 Stop -> My Cluster. That should be enough at this time - then I can look into the double-move thing if necessary.

@SimonRPSM SimonRPSM moved this from In Progress to To Do in Release_1 Nov 7, 2017
@SimonRPSM SimonRPSM changed the title Homing Position Mode Enhancements Softmotion - Homing Position Mode Enhancements Nov 13, 2017
@SimonRPSM SimonRPSM moved this from To Do to In Progress in Release_1 Nov 17, 2017
@SimonRPSM SimonRPSM moved this from In Progress to Backlog in Release_1 Nov 17, 2017
@aggieslaughter
Copy link

Can we support Absolute moves as we discussed at my desk (the change I made in the code with you here) by just calling the absolute move and passing no parameters except the homing type?

@Karl-G1
Copy link

Karl-G1 commented Jan 12, 2018

Would be easy enough to test, but I believe that SoftMotion will not check for valid inputs on an Absolute homing move considering nothing else should be required by the drive.

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

No branches or pull requests

3 participants