Page 1 of 5 123 ... LastLast
  1. #1
    Hi all, i'm having problems with the wiring of my home switches, mach 3 doesn't seem to recognise them in the diagnostic screen but they are working, but incorrectly, you have to press the the switch a couple of times before the axis stops. at the moment they are connected up open circuit, so when the switch is pressed it becomes live i have swapped the wires but to no avail. I have no idea whats going on and i'm not sure how to configure mach 3 with regard to the inputs and outputs etc
    The switch is a mechanical lever type as shown. any help would be most appreciated
    one wire goes to earth in the control box and the other is pin. pins used are X=13 Y=12 Z=11
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	IMG_1768.JPG 
Views:	141 
Size:	85.3 KB 
ID:	21205  
    Last edited by Kev2960; 21-03-2017 at 07:21 PM. Reason: pin numbers added

  2. #2
    Hi Kev

    what breakout board are you using ?
    and how have you wired the switches ?

    it looks like you have wired the switches as normaly open
    ( if a wire breaks the control will never see a switch close ! )

    John
    Last edited by john swift; 21-03-2017 at 08:23 PM.

  3. #3
    Hi John the bob looks like this. I have tried both normally open and normally closed
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	限位开关图 急停开关 行程&#2432.jpg 
Views:	266 
Size:	1.28 MB 
ID:	21206  

  4. #4
    looking at the breakout boards inputs

    Click image for larger version. 

Name:	bob opto isolated input.jpg 
Views:	243 
Size:	120.7 KB 
ID:	21208

    when the limit switch is closed, the EL817 opto isolator's NPN transistor will ground the printer ports input pin

    the breakout board does not have any pull up resistors to ensure a printer port input is at a valid logic high when the limit switch is open

    this can be a problem with PC's or laptops with 3.3V printer ports

    John

  5. #5
    Hi John, Im afraid I don't understand a word of what you've just said.....sorry!
    Could explain please

  6. #6
    Hi Kev
    your micro switches are connected to your PC/Laptop printerport via opto isolators
    (opto isolator part number EL817 - the terminal E goes to ground and C to the printer port input pin )

    do you have a multi-meter to measure the voltage change at the printer port input pin when the switch is operated ?

    how have you set up the switches in mach3's ports & pins ?
    any thing like this -
    Click image for larger version. 

Name:	mach3 home switch  config.jpg 
Views:	226 
Size:	66.2 KB 
ID:	21210

    John
    Last edited by john swift; 21-03-2017 at 10:33 PM.

  7. #7
    Yes I've set the ports & pins and I'll check the voltage tomorrow
    Thanks for your help I'll let you know how I get on

  8. #8
    Hi Kev
    printer port terminals
    Click image for larger version. 

Name:	tx14175 bob printerport input terminals.jpg 
Views:	324 
Size:	157.1 KB 
ID:	21211

    john

  9. #9
    Morning John, yes the voltage on the pins are about 3.3 v
    So what do I need to do next

  10. #10
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 8 Hours Ago Has been a member for 9-10 years. Has a total post count of 2,123. Received thanks 233 times, giving thanks to others 5 times.
    Does the voltage change when you work the switch?
    Avoiding the rubbish customer service from AluminiumWarehouse since July '13.

Page 1 of 5 123 ... LastLast

Similar Threads

  1. Limit switch problem
    By ECCO in forum General Electronics
    Replies: 7
    Last Post: 25-12-2015, 10:28 AM
  2. Another Home - Limit switch question
    By Cube3 in forum General Electronics
    Replies: 6
    Last Post: 26-12-2013, 06:51 PM
  3. Limit and Home Switch Choice
    By Wobblycogs in forum General Electronics
    Replies: 25
    Last Post: 02-12-2013, 05:16 PM
  4. FOR SALE: Z axis with Home/limit switch and Nema 23 3nm
    By Shinobiwan in forum Items For Sale
    Replies: 6
    Last Post: 02-02-2013, 09:54 AM
  5. bounce off home switch.
    By motoxy in forum Machine Control Software
    Replies: 18
    Last Post: 30-08-2012, 11:26 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
  •