Hi, I am working with a group of CNC builders at the Chicago HackerSpace Pumping Station One. We are building a "simple" 2D drawing machine. The machine uses 2 belt driven carriages on a single linear bearing. You can see the details of the machine at this link.
http://pumpingstationone.org/2013/06/cnc-gonzo-build-2-recap/ We are having trouble getting it to work in EMC. When we turn on the machine in EMC, both carriages immediately race at full speed towards the home switches. They trigger the switches, but keep trying to go. We looked at the switches in HalScope and they appear to be functioning properly. If we use F2 to quickly turn the machine on then off before the carriages crash, we can turn it back on and the carriages do not move spontaneously anymore. Using the MDI tab with G code commands we are able to get X motion at the pen. That is pretty simple because for X, both carriages always run at the same speed and direction as the pen. We can command the pen to move in Y, but only at very low speeds. If we try to go fast EMC gives us all sorts of joint speed and position errors. There is a link to our kinemantics file at the link above. (We just modified trivkins.c). At this point I think it has been hacked beyond our initial successes, to completely broken. 1. For this type of machine, what do we return for kinematicsType()? 2. What do I want to do in kinematicsHome(). When is this function called and how often? 3. Why does the machine starting running immediately.? 4. Can everything be done in the mykin.c file or do I need to modify other areas of the HAL. -- Bart Dring @buildlog Buildlog.net LLC www.buildlog.net "If you did not build it, you will never own it" ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users