- Posts: 12
- Thank you received: 2
Please Log in or Create an account to join the conversation.
So I picked up where you left off here. I decided to ignore the following error issue and just set the following error limits to a large value and focus on the jumping after homing.Ok, I'll do some reading before continuing.
As an update, it looks like I'm pretty close.
The only changes I applied so fare are to the cia402 component:
- I wait for the ECT60 to confirm homing
[/code]Code:if (home) { opmode = OPMODE_HOMING; if (opmode_homing) { controlword |= (home << 4); } } - I lie with the current position to linuxcnc during homing [code]//home states if (opmode_homing) { // hack pos_fb = pos_cmd; stat_homed = ((statusword >> 10) & 1) && ((statusword >> 12) & 1); stat_homing = !stat_homed && !((statusword >> 10) & 1); } Current tested behavior is: - I press "home all" - joint sets cia402 home (joint.0.index-enable => cia402.0.home) - the drive follows the homing sequence and finds the edge of the home sensor - the drive exits the homing mode - at that point, the next "write all" sends again the current pos_cmd and the drive moves back to the position before the homing started I'll study homing.c - I was hoping to find a solution that didn't involve rebuilding linuxcnc (I'm running off of the 2.8.1 raspberry pi image right now).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.