Need Help! having some issues

Results 1 to 5 of 5

Thread: having some issues

  1. #1
    Member ch3no2freak's Avatar
    Join Date
    Feb 2019
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default having some issues

    So I have this bench topmill that I converted to cnc. using an arduino uno to controll the system and I am using UGS to send the files. everything is set up and was going soomthly until I hit this little bump in the road. It is my understanding that when I initiate the homing sequence "$H," the machine is suppose to move to the limit switches until it make contact with them and then pull off 1 mm. When I initiate the homing sequence the mahince moves about 5 mm in one direction on all 3 axes then stops moving. If I turn on hard limits in grbl, the UGS immediately alarms out and says I need to restart to unlock.



    Heres is the equipment currently on the machine:

    arduino uno

    6 limit switches (NC setup)

    3 x nema 23 high torque motors

    ST-M5045 drivers

    24v 15 amp power supply

    Universal g code sender

    GRBL 1.1



    Any help would be greatly appreciated and please remember I am a novice with this so my understanding of certain things is a little limited. Also if this post doesn't go here, then I apologize.


    Grbl 1.1f ['$' for help]
    >>> $$
    $0 = 10 (Step pulse time, microseconds)
    $1 = 25 (Step idle delay, milliseconds)
    $2 = 0 (Step pulse invert, mask)
    $3 = 0 (Step direction invert, mask)
    $4 = 0 (Invert step enable pin, boolean)
    $5 = 1 (Invert limit pins, boolean)
    $6 = 0 (Invert probe pin, boolean)
    $10 = 1 (Status report options, mask)
    $11 = 0.010 (Junction deviation, millimeters)
    $12 = 0.002 (Arc tolerance, millimeters)
    $13 = 0 (Report in inches, boolean)
    $20 = 0 (Soft limits enable, boolean)
    $21 = 0 (Hard limits enable, boolean)
    $22 = 1 (Homing cycle enable, boolean)
    $23 = 1 (Homing direction invert, mask)
    $24 = 25.000 (Homing locate feed rate, mm/min)
    $25 = 500.000 (Homing search seek rate, mm/min)
    $26 = 250 (Homing switch debounce delay, milliseconds)
    $27 = 1.000 (Homing switch pull-off distance, millimeters)
    $30 = 1000 (Maximum spindle speed, RPM)
    $31 = 0 (Minimum spindle speed, RPM)
    $32 = 0 (Laser-mode enable, boolean)
    $100 = 200.000 (X-axis travel resolution, step/mm)
    $101 = 200.000 (Y-axis travel resolution, step/mm)
    $102 = 250.000 (Z-axis travel resolution, step/mm)
    $110 = 1000.000 (X-axis maximum rate, mm/min)
    $111 = 1000.000 (Y-axis maximum rate, mm/min)
    $112 = 500.000 (Z-axis maximum rate, mm/min)
    $120 = 100.000 (X-axis acceleration, mm/sec^2)
    $121 = 100.000 (Y-axis acceleration, mm/sec^2)
    $122 = 10.000 (Z-axis acceleration, mm/sec^2)
    $130 = 500.000 (X-axis maximum travel, millimeters)
    $131 = 500.000 (Y-axis maximum travel, millimeters)
    $132 = 500.000 (Z-axis maximum travel, millimeters)

    Similar Threads:


  2. #2
    Member
    Join Date
    Jan 2018
    Location
    United Kingdom
    Posts
    1516
    Downloads
    0
    Uploads
    0

    Default Re: having some issues

    The only thing I can think of is that you haven't actually set the machine co-ordinates to 0.0 where you want home to be.
    Machine co-ordinates and work co-ordinates are 2 separate things.

    I'm a novice too and eventually found this out while using Mach3. I didn't realize about the differences until my table flew off my lil' X2 one day I don't have physical limits.

    Just thought I'd mention it in case it is relevant.



  3. #3
    Member ch3no2freak's Avatar
    Join Date
    Feb 2019
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: having some issues

    so i learned the difference in those last night. I turn on the machine then move it to where I want the machine 0 to be, then I close the connection and reopen the connection so that my machine reads 0's for machine position on where I want home to be but I get the same result. thanks for the reply man, I appreciate any help I can get with this.



  4. #4
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: having some issues

    There is a limit on how much GRBL will travel to find the home position.
    GRBL will give up searching for a limit switch after 1.5x the max travel distance. The max travel distance is controlled by $130, (for x), $131 (for y) and $132 (for z). These numbers are also used for soft-limits, and should be set slightly below the length of your axes.
    • You have limited the travel to 500 mm ($130) according to the list, please check the actual configuration of the controller
    • Maybe the problem is caused by UGS, try using the serial port monitor option in the arduino IDE
    • I don't know how the limit is checked in the GRBL code but the check is probably done on machine coordinates that are affected by work position offsets. Set the work offset (G54) to 0 and try again.


    I don't use limit switches so I can't test your configuration!

    Check the Wiki for more information
    https://github.com/gnea/grbl/wiki/Set-up-the-Homing-Cycle





  5. #5
    Member ch3no2freak's Avatar
    Join Date
    Feb 2019
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: having some issues

    Quote Originally Posted by hfjbuis View Post
    There is a limit on how much GRBL will travel to find the home position.


    • You have limited the travel to 500 mm ($130) according to the list, please check the actual configuration of the controller
    • Maybe the problem is caused by UGS, try using the serial port monitor option in the arduino IDE
    • I don't know how the limit is checked in the GRBL code but the check is probably done on machine coordinates that are affected by work position offsets. Set the work offset (G54) to 0 and try again.


    I don't use limit switches so I can't test your configuration!

    Check the Wiki for more information
    https://github.com/gnea/grbl/wiki/Set-up-the-Homing-Cycle

    I figured it all out. I didn't use shielded wiring so it was picking up noise from the stepper motor wires. But I fixed it



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

having some issues

having some issues