. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 5 Hours Ago Has a total post count of 1,741. Received thanks 297 times, giving thanks to others 11 times.
    IP/whatever only works with Mach3/4, so Mach3 must be able to handle all the I/O. However, it's certainly not obvious first time round exactly how you refer to the connections. Took me a while to figure it out from the manuals. Post the screen shot and I'm sure someone can talk you through it. Is one of those things that's obvious, but only after you've done it the first time!

  2. #2
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 6 Days Ago Has a total post count of 1,654. Received thanks 115 times, giving thanks to others 71 times.
    Quote Originally Posted by Neale View Post
    IP/whatever only works with Mach3/4, so Mach3 must be able to handle all the I/O. However, it's certainly not obvious first time round exactly how you refer to the connections. Took me a while to figure it out from the manuals. Post the screen shot and I'm sure someone can talk you through it. Is one of those things that's obvious, but only after you've done it the first time!
    Thanks Neale, I understand how the inputs / mapping work. Ive setup a few machines on CS Labs kit. Ill find the image / reference to why I believe Mach 3 is the problem here with limit inputs specifically.

  3. #3
    Quote Originally Posted by Chaz View Post
    Thanks Neale, I understand how the inputs / mapping work. Ive setup a few machines on CS Labs kit. Ill find the image / reference to why I believe Mach 3 is the problem here with limit inputs specifically.
    My only experience with microswitches and CNC style controllers are Arduino based but I do know the Arduino has internal pullup resistors so that microswitchs work from 2 wires (Unpowered) but when you use inductive sensors they need to be powered so you have to turn the internal pullup resistors off in the firmware (You also need to wire some resistors to drop the voltage from 12v to 5v so it doesn't fry the Arduino.) and make sure you have the correct firmware setting for NO/NC. I wonder if this could be related?

    I have an inductive sensor for auto levelling my 3d printer bed and an aluminium print bed and fried 1 Arduino before I found this out.
    http://www.mycncuk.com/threads/10880...60cm-work-area My first CNC build WIP 120cm*80cm

    If you didn't buy it from China the company you bought it from did ;)

  4. #4
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 6 Days Ago Has a total post count of 1,654. Received thanks 115 times, giving thanks to others 71 times.
    Quote Originally Posted by Desertboy View Post
    My only experience with microswitches and CNC style controllers are Arduino based but I do know the Arduino has internal pullup resistors so that microswitchs work from 2 wires (Unpowered) but when you use inductive sensors they need to be powered so you have to turn the internal pullup resistors off in the firmware (You also need to wire some resistors to drop the voltage from 12v to 5v so it doesn't fry the Arduino.) and make sure you have the correct firmware setting for NO/NC. I wonder if this could be related?

    I have an inductive sensor for auto levelling my 3d printer bed and an aluminium print bed and fried 1 Arduino before I found this out.
    Getting them to work as single NC switches is fairly easy on the CS Labs / Mach 3 setup.

    Im trying to work out how to wire them in series and how to mix between limit / home options.

    Another way is to wire something via the E Stop circuit for limit switches and not actually use the 'limit switch' pins available to Mach 3.

  5. #5
    Quote Originally Posted by Chaz View Post
    Getting them to work as single NC switches is fairly easy on the CS Labs / Mach 3 setup.

    Im trying to work out how to wire them in series and how to mix between limit / home options.

    Another way is to wire something via the E Stop circuit for limit switches and not actually use the 'limit switch' pins available to Mach 3.
    You should be fine to wire them in series no problems but only if you use them as Normally Closed, if you use them Normally open they won't trigger! Normally closed the circuits is flowing and your detecting a break it doesn't matter which one triggers. Normally open the circuit is closed and unless you trigger both microswitches at the same time (Which can never happen in real world use) the circuit can't complete.

    There's no real power going through them so wire from one to the other so should be no need for anything else.

    If I were you I would wire a 2nd set of limits to the Estop regardless as it seems more reliable than relying on the software and you really can't afford a crash.
    http://www.mycncuk.com/threads/10880...60cm-work-area My first CNC build WIP 120cm*80cm

    If you didn't buy it from China the company you bought it from did ;)

  6. #6
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 6 Days Ago Has a total post count of 1,654. Received thanks 115 times, giving thanks to others 71 times.
    This is the limitation (for limit switches).
    Click image for larger version. 

Name:	Mach3.PNG 
Views:	1968 
Size:	726.4 KB 
ID:	21860

    'Only 5 of these inputs blah blah' ....

    Ive actually crashed Mach 3 before by trying to use other inputs than those (for limit switches, I must stress). No problem using them for ATC switches etc.
    Last edited by Chaz; 08-06-2017 at 09:54 AM.

  7. #7
    Quote Originally Posted by Chaz View Post
    This is the limitation (for limit switches).
    Click image for larger version. 

Name:	Mach3.PNG 
Views:	1968 
Size:	726.4 KB 
ID:	21860

    'Only 5 of these inputs blah blah' ....

    Ive actually crashed Mach 3 before by trying to use other inputs than those (for limit switches, I must stress). No problem using them for ATC switches etc.
    Chas I have not used the IP/A but doesn't the controller use its own plugin with Mach and it states on the website 24 inputs at 24V I don't think it uses the Mach screen to set them up. I could be wrong.
    ..Clive
    The more you know, The better you know, How little you know

  8. #8
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 6 Days Ago Has a total post count of 1,654. Received thanks 115 times, giving thanks to others 71 times.
    Quote Originally Posted by Clive S View Post
    Chas I have not used the IP/A but doesn't the controller use its own plugin with Mach and it states on the website 24 inputs at 24V I don't think it uses the Mach screen to set them up. I could be wrong.
    Clive, yes, I need to check. All I recall is 'killing' Mach 3 when I inadvertently used the inputs outside of Mach 3's range. Maybe coincident but its all I could relate to making Mach 3 crash.

  9. #9
    Chaz It is in the manual about page 37 and it clearly shows how they are connected. so the data is going via the cat5 cable so you are not limited by the 5 inputs on a PP
    Last edited by Clive S; 08-06-2017 at 12:14 PM.
    ..Clive
    The more you know, The better you know, How little you know

Thread Information

Users Browsing this Thread

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

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
  •