Most of the Replicapes from the Kickstarter has now been delivered, and people are starting to try it out and getting into configuration. Great, but not for everyone! A lot of people seem to be having trouble with the end stop configuration, so I made a video explaining how it works.
It really not that difficult if one wants to use G-codes for it. These are the G-codes you’ll need:
M574 – this connects an end stop to one or more stepper motors. Use the form “M574 X1 x_cw” if you want end stop X1 to stop stepper X from going clockwise.
M270 – Set coordinate system, this might be useful for figuring out which axis does what on delta printers.
M206 – Set offset for each of the axes. After an end stop is hit, it will move to this offset. Remember that the travel distance can be negative, in which case, the offset would most likely be negative also.
M119 – Get current end stop state. Can also be used for inverting end stops. Non-inverted is NC switches, inverted is NO switches.
M569 – Set the direction of a stepper. You could just flip the connector, but where is the fun in that?
What is not yet implemented with a G-code interface is “travel” for each of the axes. This defines the direction and length each axis should search for an end-stop. Sometimes the end-stop is not located near the 0, 0 origin of the of the bed, so you might try a negative travel value.