Welcome to Our Community

Unlock hidden features. Sign Up for Free Today!

xPro v2 Hard Limit error message

Discussion in 'Controller Boards' started by bmakerj, Aug 8, 2015.

  1. bmakerj

    bmakerj New

    Aug 3, 2014
    Likes Received:
    I am in the process of testing a new machine with the xPro and have been receiving the following messages back from the controller: ALARM: Hard limit. This typically happens when I am running the spindle, although not always. The spindle has it's own power supply and speed controller.

    I do have hard limits enabled but when this message occurs none of the limit switches are closed (verified with my meter) and typically I am not even close to the limit switches.

    1) is there a way i can tell the xPro to display which limit(s) it thinks caused the alarm?
    2) are there other causes that will raise the ALARM: Hard limit error?

    Things I have done: changed the ustep for x and y (see $100 and $101 below), replaced all limit switches, ran shielded wire for the limit switches, rerouted limit switch wiring to separate from motor leads, ac power, etc.

    The board is running Grbl 0.9i, connected to openbuilds stepper motors that came with c-beams and I am using UGS v1.0.8 to push it around.
    >>> $$
    $0=10 (step pulse, usec)
    $1=255 (step idle delay, msec)
    $2=0 (step port invert mask:00000000)
    $3=0 (dir port invert mask:00000000)
    $4=0 (step enable invert, bool)
    $5=0 (limit pins invert, bool)
    $6=0 (probe pin invert, bool)
    $10=3 (status report mask:00000011)
    $11=0.020 (junction deviation, mm)
    $12=0.002 (arc tolerance, mm)
    $13=0 (report inches, bool)
    $20=0 (soft limits, bool)
    $21=1 (hard limits, bool)
    $22=1 (homing cycle, bool)
    $23=0 (homing dir invert mask:00000000)
    $24=25.000 (homing feed, mm/min)
    $25=500.000 (homing seek, mm/min)
    $26=250 (homing debounce, msec)
    $27=2.000 (homing pull-off, mm)
    $100=100.000 (x, step/mm)
    $101=100.000 (y, step/mm)
    $102=200.000 (z, step/mm)
    $110=500.000 (x max rate, mm/min)
    $111=500.000 (y max rate, mm/min)
    $112=500.000 (z max rate, mm/min)
    $120=10.000 (x accel, mm/sec^2)
    $121=10.000 (y accel, mm/sec^2)
    $122=10.000 (z accel, mm/sec^2)
    $130=200.000 (x max travel, mm)
    $131=200.000 (y max travel, mm)
    $132=200.000 (z max travel, mm)

    I am at a loss, any advice would be appreciated.

    Thank you,
  2. Joe Santarsiero

    Joe Santarsiero OB addict
    Staff Member Moderator Builder

    Oct 30, 2014
    Likes Received:
  3. Muxa

    Muxa Well-Known

    Sep 9, 2016
    Likes Received:
    Hi Justin,

    Did you manage to fix the problem with false triggers from noise? I'm having the same issue.
  4. Anthony Bolgar

    Anthony Bolgar Veteran

    Jan 14, 2016
    Likes Received:
    Use shielded cable as well, will eliminate a lot of the noise. Make sure to ground the shield braid.

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Building needs!
  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provide resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop theirs!

    Donate to FairShare!