Loosing end stop sensors during power down and up a 1XD
-
Hi
I am using a 6HC and multipel 1XD.
During some sequence I want to power down and up 1XD. But not loos the over alla control of the status by not powering down the mainboard 6HC.When doing this I loos control over the end stop sensors that I am using on the 1XD. Is there a way around this?
/T
-
Sorry I should say that I am using a 3.4 version and a SBC.
-
@Schickfus if you power down an expansion board and then power it back up again it will need to get configured. If you cant rerun the whole of config.g due to not wanting to reset anything else, then you could just run a config macro that configured only that 1XD. Note if you have the 1XD in an axes shared with other 1XDs then all controllers on that axes will end up having a configuration update.
If this is something you need to do routinely, then I would split your config.g file up into sections, and those sections that configure each 1XD move into individual macros, and call each of those in turn. That way you can then call just the specific 1XD configuration macro when a 1XD is reset.
-
@T3P3Tony said in Loosing end stop sensors during power down and up a 1XD:
If this is something you need to do routinely, then I would split your config.g file up into sections, and those sections that configure each 1XD move into individual macros, and call each of those in turn. That way you can then call just the specific 1XD configuration macro when a 1XD is reset.
Not routinely but it is part of a stop function to cut power to the stepper engins. But I do not want to lose the control of the stepper counting and positioning as if I would send a M112. I thought that I would trigger on an input on the 6HC and store the actual positions as I cut the power to the stepper engins.
As I write this I think you may already have run in to this problem?
-
@Schickfus I have not run into this issue but I remember another discussion about this on the forum in the past, can't find it right now.
Personally, if its an emergency and you hit the emergency stop, cutting power, then having the recover requiring rehoming would be acceptable in my view however that may not be the same in your case.
Once you have reconfigured the 1XDs you can send the positions of the axes using G92. the approach of using a trigger to indicate the estop has been pressed, and then either prompting the user to clear the fault and then reset the estop, then running through the reconfiguration of the 1XDs and restoring position should work.