. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Made some good progress on the machine, I am to the point of wanting to run a gcode program, although there is alot to do before I can actually cut.

    I loaded a sample Gcode program just to see all 3 axes move together

    I moved the machine 12 inches away from X and Y and put my Z in the middle of travel and zeroed the DRO's for work start. When I hit cycle start (with my hand firmly on the e-stop...) I get a message "Move off limits before cycle start". I then checked the I/O window in CSMIO config and no limit switches are tripped. I tried a few other things within mach with no luck. I then turned off all limits (except e-stop) and I get the same message. Did some searching/reading on forums and didnt come across anything.

    Anyone have any thoughts on what this could be? I hope its something simple that I just havent turned on/off?

    I plan to a write up on the progress, just this issue has me frustrated so thought I would ask.

    Thanks

  2. #2
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 13 Hours Ago Has a total post count of 1,653. Received thanks 115 times, giving thanks to others 71 times.
    Quote Originally Posted by Scott Damman View Post
    Made some good progress on the machine, I am to the point of wanting to run a gcode program, although there is alot to do before I can actually cut.

    I loaded a sample Gcode program just to see all 3 axes move together

    I moved the machine 12 inches away from X and Y and put my Z in the middle of travel and zeroed the DRO's for work start. When I hit cycle start (with my hand firmly on the e-stop...) I get a message "Move off limits before cycle start". I then checked the I/O window in CSMIO config and no limit switches are tripped. I tried a few other things within mach with no luck. I then turned off all limits (except e-stop) and I get the same message. Did some searching/reading on forums and didnt come across anything.

    Anyone have any thoughts on what this could be? I hope its something simple that I just havent turned on/off?

    I plan to a write up on the progress, just this issue has me frustrated so thought I would ask.

    Thanks
    Are you certain they are wired correctly (you should manually trigger them and check that they match the input on the Mach 3 screen).

    Also, do you have any soft limits enabled?

  3. #3
    Quote Originally Posted by Chaz View Post
    Are you certain they are wired correctly (you should manually trigger them and check that they match the input on the Mach 3 screen).

    Also, do you have any soft limits enabled?
    Sorry should have stated that, all limits were checked manually and all seem to correspond to the correct input. Soft limits were turned off during the troubleshooting process.

    Jazz, system jogs great, homes correctly on all three axises. I tried MDI commands and get the message "Move off Limit before MDI command". Whats puzzling to me is that Mach says this even with all limits turned off.

    thanks for the quick replies

  4. #4
    Actually thinking about it I've had this before but can't remember what caused it.! . . . Got feeling it's something silly and obvious like a setting but can't for the life of me remember what.? . . . . . Nearly bed time so I''l sleep on it and get back to you.

  5. #5
    Quote Originally Posted by JAZZCNC View Post
    Actually thinking about it I've had this before but can't remember what caused it.! . . . Got feeling it's something silly and obvious like a setting but can't for the life of me remember what.? . . . . . Nearly bed time so I''l sleep on it and get back to you.
    I took a little break from the machine and came back to it. Ended up being a debounce issue, it looks like my cable grounding wasnt as good as I thought. I doubled the debounce to 8ms and the MDI and Gcode both ran....

    Pretty darn cool to see it run on its own, I am so close to cutting...

    Here is a pic of the CSMIO-IPA Config window for setting debounce for anyone in a similar situation.

    Click image for larger version. 

Name:	Debounce.JPG 
Views:	319 
Size:	44.3 KB 
ID:	20304

  6. #6
    Quote Originally Posted by Scott Damman View Post
    I took a little break from the machine and came back to it. Ended up being a debounce issue, it looks like my cable grounding wasnt as good as I thought. I doubled the debounce to 8ms and the MDI and Gcode both ran....

    Pretty darn cool to see it run on its own, I am so close to cutting...

    Here is a pic of the CSMIO-IPA Config window for setting debounce for anyone in a similar situation.

    Click image for larger version. 

Name:	Debounce.JPG 
Views:	319 
Size:	44.3 KB 
ID:	20304
    Not good idea to use de-bounce because it affects all the inputs and slows down re-action time. Find the problem and fix asap, esp if using servos because want any inputs to re-act fast.

    Edit: Actually I see you only have set to 2 which isn't so bad thought you'd set it to 8 which would have been 32ms.
    Last edited by JAZZCNC; 08-01-2017 at 02:03 AM.

  7. #7
    Quote Originally Posted by JAZZCNC View Post
    Not good idea to use de-bounce because it affects all the inputs and slows down re-action time. Find the problem and fix asap, esp if using servos because want any inputs to re-act fast.

    Edit: Actually I see you only have set to 2 which isn't so bad thought you'd set it to 8 which would have been 32ms.
    Jazz, good point either way, I think I will dig into the shielding a bit more on all of the control wiring. Would like to get it back to 4ms. Like you said fix with hardware, totally agree.

    thanks again, more to come

  8. #8
    Does it Jog Ok.? . . . . If so Post the G-code.

    Try doing some MDI Commands. Like G0 x6 y6 (assuming inch units) or G1 x6 y6 f30.
    If these work ok then I'd be suspect of the G-code.

Thread Information

Users Browsing this Thread

There are currently 16 users browsing this thread. (0 members and 16 guests)

Similar Threads

  1. BUILD LOG: First time build - Steel Frame CNC Router
    By examorph in forum DIY Router Build Logs
    Replies: 144
    Last Post: 19-10-2023, 06:25 PM
  2. BUILD LOG: New Build, Aluminium Frame Router/Mill
    By Davek0974 in forum DIY Router Build Logs
    Replies: 101
    Last Post: 31-08-2016, 05:28 PM
  3. BUILD LOG: Steel frame cnc router design/build
    By CraftyGeek in forum DIY Router Build Logs
    Replies: 110
    Last Post: 06-05-2015, 10:00 PM
  4. BUILD LOG: First steel diy CNC router build
    By ivars211 in forum DIY Router Build Logs
    Replies: 59
    Last Post: 28-07-2014, 08:29 PM
  5. BUILD LOG: 7' X 4' Steel frame build
    By Ricardoco in forum DIY Router Build Logs
    Replies: 6
    Last Post: 28-10-2012, 06:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •