. .
Page 1 of 4 123 ... LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Good afternoon,

    I need help in trying to run my 3018 CNC purchase on Banggood.

    I installed 5 micro switches (2 X, 2 Y and 1 Z) to act as end stops and used for homing.

    The homing cycle works fine. I home and zero my machine in the lower left corner of the table, however, when I want to carve, using Easel, it gives me a hard limit alarm as soon as I try to turn on the spindle.

    After hours of reading, I changed all my limit switch wiring to shielded wires……..Nothing still same issues.

    After homing,
    • my machine positions are X = -284, Y = -2, Z = -2
    • my work position is X = 0, Y = 0, Z= 0

    If, after homing, I remove the limit switches using $21=0 and try to start a carve, my spindle will start but then, my table moves (Y axis) moves a few mm into the back frame (I have a 2 mm homing pull-off). It should move towards the front?????

    Please help, thank you.

    Jean
    Attached Files Attached Files

  2. #2
    Sounds like you have a noise issue if only happens when spindle starts. Does the control software have an option to apply De-bounce filtering to the inputs.?

  3. #3
    Thank you for your reply.

    Yes, there is a de-bounce setting and I have it at $26=250 which is the maximum..... it seems I can go. I tried various settings, as suggested by the pocket GRBL guide, but still nothing.

    Do I need to change all the wiring to shielded cable? I already changed all the micro switch cable to shielded cable?

  4. #4
    Quote Originally Posted by JeanB View Post
    Thank you for your reply.

    Yes, there is a de-bounce setting and I have it at $26=250 which is the maximum..... it seems I can go. I tried various settings, as suggested by the pocket GRBL guide, but still nothing.

    Do I need to change all the wiring to shielded cable? I already changed all the micro switch cable to shielded cable?
    Ok well if De-bounce allowed it to work then you are obviously suffering from noise issues so now you need to lower the de-bounce back to Zero, the reason for this is because it slows the switch response time so can be unsafe, and go with a solution like Doddy mentions where you pull the input high or low to stop it floating.

    If after this you still get noise issues then there are other methods, like Opto's and Capacitors, etc but won't get into that now because I'm 99% sure fixing the floating input will work.

  5. #5
    Good morning JazzCNC,

    I just tried the debouched at 0, as soon as I try to carve and start the spindle, I get an alarm. As I said to Doddy, I already tried the capacitors and that did not work.

  6. #6
    Complete guesswork here (without seeing your controller board - but you're suggesting some local controller, likely a microcontroller GRBL - complete guess, like I say), IF (guesswork again) the limit switches are couple to the ucontroller discrete inputs then you might be suffering with the intrinsic high-z inputs from the uC device with internal pull-up or pull-downs.

    Are the microswitches wired to 0V/Ground? If so, is the switched input (the non-ground wire) floating at around 5V?, if so then you could try reducing the internal pull-up resistance by wiring a 1k resistor from the microswitch input to a local 5V pin. The point here to provide a low impedance path for noise introduced from the spindle to clamp onto the supply lines - by default the high-impedance input to the microcontroller is highly sensitive to signal voltage (and therefore induced noise)... If that makes sense?

    If there's any joy with this a more practical solution would be to introduce opto-couplers on the input to the controller - they'd provide good noise immunity.

    EDIT:

    Can you provide any details of the controller card?, even a picture?

  7. #7
    Good Morning Doddy,

    Thank you for your reply. Just to inform you I am not very proficient in electronics, so it may be difficult for me to answer your questions.

    My CNC works with GRBL and I use the free version of Easel at this time in order to practice……..not much practice has been done at this time.  

    My switches are wired as NO and when I check the voltage across the + and - pins, I get ~2 volts and if press the micro switch, I get 0 volts. From all the information I gathered, the bottom row of pins are all to ground???? Before changing my switch wiring to shielded wires, I tried, as suggested on the internet, to add a .47µF capacitor across the micro switch………nothing.

    Please find attached a picture of my board. It says: Developower V2.0

    ThanksClick image for larger version. 

Name:	IMG_0453.jpg 
Views:	618 
Size:	343.5 KB 
ID:	27575

  8. #8
    JeanB - okay, that's fine. I'm just about to head out for a last night of drunken debauchery before our government clamps down on that - I'll get some detail to you tomorrow morning.

  9. The Following User Says Thank You to Doddy For This Useful Post:


  10. #9
    Quote Originally Posted by JeanB View Post
    My switches are wired as NO and when I check the voltage across the + and - pins, I get ~2 volts and if press the micro switch, I get 0 volts.
    Thanks
    2v strongly suggests a lack of pull-up resistors which leaves the inputs floating as Doddy has suggested. The inputs are hovering in an indeterminate state and susceptible to every light switch and cosmic particle in the vicinity. No input to any electronics should be left like this and many devices include the pull-up resistors internally, typically 10 Kohms. Some microcontrollers allow inputs to be selected as floating or pulled-up from software.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  11. #10
    <deleted>

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 3018 Pro has no connectivity on A5 pins.
    By deepcut66 in forum Chinese Machines
    Replies: 0
    Last Post: 29-02-2020, 10:48 AM
  2. 3018 3 Axis Mini DIY CNC Router ONLY Ł125 with free shipping !!!
    By Lee Roberts in forum Marketplace Discussion
    Replies: 6
    Last Post: 09-01-2020, 09:00 PM
  3. 3018 problem
    By bazbalz in forum Machine Discussion
    Replies: 8
    Last Post: 17-12-2019, 12:58 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
  •