. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Not sure what a DB25 connector is

    Just call me thick, but I have fitted and wired the micro switches and followed the set up instructions and also watched a utube video of how to configure them as limit and home switches, but it is not operating on the switches.
    I got to the part where it says go to the diagnostic page and the three home led's should light up when the switches are operated, they are on permanent and do not even go off when the switch is operated. I have played about with the settings to no avail.
    I have tried setting X to pin 10 and Y to pin 11 and Z to pin 12 in configuration that makes no difference so have set them back to pin 10 as per the manual.
    I have control of X Y Z on the keyboard so I know that is working
    What am I doing wrong?

  2. #2
    The LED's being on isn't an issue it just means you need to change the Active Hi/Lo for each switch. However, the fact it doesn't go off when you operate the switch shows something is wrong.

    What type of switches did you fit and what polarity ie: NO (Normally open) or NC(normally closed). If the LED's didn't change when you changed the switch state then I would suspect your BOB hack isn't working or the wiring is wrong.
    -use common sense, if you lack it, there is no software to help that.

    Email: [email protected]

    Web site: www.jazzcnc.co.uk

  3. #3
    Not sure what a BOB hack is, anyway I went back out to the garage and started from the begining, only this time the home let's did not even light, so again I am getting in a muddle, I tied to do an auto detect on the switches, that didn't work. I will check out that the pins I soldered on the board where it said XYZ to to, looking at the DB25 which is pin one, I assume it is top left.
    I have a manual as well as the configuration guide, but I am having trouble understanding the manual, I need a Mach3 for dummies book :-)
    I have put a post on my village Facebook page asking for help, but I doubt it anyone is daft enough to have a cnc machine and also want to get involved :-)
    I am getting to think at 71 I may be too old too old for my brain to learn much more
    Still tomorrow is another day

  4. #4
    The board you soldered the pins to is a break out board BOB hence the BOB hack.

    Richard don't get disheartened it will be something simple.

    You need to break this down into small pieces.
    First you need to verify the wiring is correct so check this first.
    Then you need to detemine if the signals are getting through and the BOB Hack worked.

    Now Mach3.!

    Mach3 or any other controller for that matter all work the same in that they need to communicate with outside world through some external device, in your case the parallel port which is connected to the BOB you messed with. They do this by taking the PIN #'s which are connected to physical devices on the machine and assigning them to functions the controller deals with.

    Now Mach3 can be broken down into 4 separate sections which control the working of the machine. INPUTS, OUTPUTS, MOTOR OUTPUTS and SPINDLE.
    You are only interested in the INPUTS section because a LIMIT is telling mach3 to DO SOMETHING.

    I'm going to give an example just setting up the X axis, just repeat for the other axis and change the PIn #.

    So first you need to know which PIN # you connected the X axis Limit switch to. I'm going to use PIN 11 in this example.

    So go to the PORTS N PINS / INPUTS section of mach3 and you'll see X++ and X-- enable these with green tick. Next is the port # this will usually be 1 if using parallel port.
    Next is the PIN Number, in this example I'm entering 11.

    Finally the Active Low.
    This is toggled depending on how you wired the switch. ie: NO or NC
    If you wired NC (normally closed) switches then you want Mach3 to DO SOMETHING when the switch goes LOW, or put another way when it sees the voltage on PIN11 switch OFF.
    If you wired them NO (normally open) then mach would only DO SOMETHING when it sees voltage appear on the PIN. The PIN goes HIGH.

    It's that simple and if your BOB is letting the Signals through and the wiring is correct then Mach3 will see them and respond.

    HOWEVER if any of these settings is wrong then Mach3 knows nothing and will DO NOTHING. It's common with new users to Blame Mach3 but mach3 only does what YOU tell it so if you give it Duff Info or it doesn't see the Signals getting through then it won't work now matter how much they bitch about it.

    If you are sure you have the correct PIN # entered and the Port # and it still doesn't work then it's 99% either the BOB or the Wiring not letting the signal through.
    -use common sense, if you lack it, there is no software to help that.

    Email: [email protected]

    Web site: www.jazzcnc.co.uk

  5. #5
    Thank you for all your advice, as long as the boss allows me back out into the garage, :-) I have been hiding in there a lot and ignoring her.
    I will see if I can trace the wiring from the BOB to the plug and see if it has linked through to it, if it has I will note the pin number, am I correct in thinking that it goes from left to right from the top row ( the one with the most pins) as to look at the plug. I know that the wiring to the switches is correct as it is wired n/c and I have already checked that.
    I did wonder if the BOB was not suitable for the mod, but I will know later this morning I hope :-)
    I did try to search for another controller putting 6040S in the search box but nothing came up I was hoping to find one with a connection for switches.
    I will get there,

  6. #6
    My opinion : The BoB should be suited for the mod.

    Squinting at the PCB images, it appears that there's a SIL resistor package that pulls-up the parallel port "inputs" (X/Y/Z/E-STOP) to the onboard 5V, and the pin-pairs allow the connected switches to ground these through to ground. Apart from a failure on the board there's not much to go wrong.

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	135 
Size:	275.6 KB 
ID:	29064

    Power OFF, disconnect limit switches, disconnect computer cable:

    1) Verify the three pads marked "GROUND" have low resistance between each (100% confident they will)
    2) Verify continuity between pad marked "11" and pin 11 on the DB25 connector. Yes, the long row are pins 1-13, the short row 14-25. The pins are usually marked in the connector, but at 51 years old I can't read them. Pin 13 is the one closest to the jack socket that you want to add.
    3) Verify continuity between pad marked "12" and pin 12.
    4) Verify continuity between pad marked "13" and pin 13.
    5) Verify no* continuity between pad marked "11" and the adjacent "Ground" pad.
    6) Verify no* continuity between pad marked "12" and the adjacent "Ground" pad.
    7) Verify no* continuity between pad marked "13" and the adjacent "Ground" pad.

    (* : "No" - certainly a lot higher than a few ohms - these signals are pulled to the onboard supply line, so there can be/will be some measurable resistance but would expect this to be >1kR)

    8) Verify high resistance between pad marked "11" and "12" (high = at least 2kR, depends on the SIL resistor values)
    9) Verify high resistance between pad marked "12" and "13" (high = at least 2kR, depends on the SIL resistor values)
    10) Verify high resistance between pad marked "11" and "13 (high = at least 2kR, depends on the SIL resistor values)

    If you're prepared to test "powered" - reconnect all power, computer and switches:

    11) X-Axis switch "closed" - voltage on pad "11" = 0V (measured, with respect to the ground plane on the board.
    12) X-Axis switch "open" (or removed from board) - voltage on pad "11" = 5V.
    13) Y-Axis switch "closed" - voltage on pad "12" = 0V (measured, with respect to the ground plane on the board.
    14) Y-Axis switch "open" (or removed from board) - voltage on pad "12" = 5V.
    15) Z-Axis switch "closed" - voltage on pad "13" = 0V (measured, with respect to the ground plane on the board.
    16) Z-Axis switch "open" (or removed from board) - voltage on pad "13" = 5V.

    If all these measure okay - and I'm confident that without a failure on the board that they will, then the BoB is okay.

    As an suggestion for your experience yesterday, with nothing working, double-check that your supply voltage to the BoB was present - the BoB depends upon the pull-up to the local board supply to get the "logic 1" (switch open) sense level.
    Last edited by Doddy; 24-10-2020 at 09:48 AM.

  7. #7
    Thanks Doddy,. I have taken the BOB out as I was not getting continuity between the XYZ header and the db25, you are correct there is a resister pack, well I think that is what it is, I am going to wait until my neighbours come over to read your post, as honestly I don't understand what you are telling me to do, with regards to resistance values and what scale the meter should be set on.
    Can you verify what you mean when you say pad marked 12 & 13 to pin 12 & 13 as there are no pads marked 12&13
    So I will wait until then and let you know
    Last edited by RichardR; 24-10-2020 at 12:47 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 6040Z USB CNC - USB port not recognised.
    By Roy in forum Chinese Machines
    Replies: 9
    Last Post: 23-05-2021, 10:04 AM
  2. Usb controller
    By pemmott in forum Artsoft Mach (3 & 4)
    Replies: 3
    Last Post: 02-12-2019, 07:34 PM
  3. 6040Z USB connection issues
    By rogw in forum Chinese Machines
    Replies: 8
    Last Post: 01-08-2019, 08:30 PM
  4. CNC 6040z USB z-axis
    By Sashido in forum Chinese Machines
    Replies: 19
    Last Post: 26-03-2018, 09:46 AM
  5. Replies: 46
    Last Post: 26-04-2016, 12:06 AM

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
  •