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
    Builder

    Joined:
    Aug 3, 2014
    Messages:
    1
    Likes Received:
    0
    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,
    Justin
     
  2. Joe Santarsiero

    Joe Santarsiero OB addict
    Staff Member Moderator Builder

    Joined:
    Oct 30, 2014
    Messages:
    647
    Likes Received:
    134
  3. Muxa

    Muxa Well-Known
    Builder

    Joined:
    Sep 9, 2016
    Messages:
    13
    Likes Received:
    4
    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
    Builder

    Joined:
    Jan 14, 2016
    Messages:
    136
    Likes Received:
    72
    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!