Results 1 to 8 of 8

Thread: G540 ins & outs

  1. #1
    Registered riche543's Avatar
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    169
    Downloads
    0
    Uploads
    0

    G540 ins & outs

    Quick question on a gecko 540 are there enough input/output pins for : superpid spindle control / hall effect limit/home switches With leds. & a tool probe .
    Cheers

    Riche


  2. #2
    Gold Member
    Join Date
    Mar 2003
    Location
    United States
    Posts
    2788
    Downloads
    0
    Uploads
    0
    The G540 uses every I/O line the parallel-port offers. Besides the 4-axis high-speed STP/DIR lines, there are the secondary auxiliary I/O lines. One output is used for the 'charge-pump' (better called 'watchdog timer'), another AUX output is used for the 50Hz PWM 'VFD drive' optoisolated analog voltage output, an AUX input is used for an E-STOP input while another AUX input is dedicated for a FAULT input to MACH3.

    When all is said and done, this leaves 4 uncommitted inputs (the 4 G540 general purpose inputs) and 2 uncommitted outputs (the 2 G540 outputs). This uses up the parallel port completely.

    Mariss


  3. #3
    Registered riche543's Avatar
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    169
    Downloads
    0
    Uploads
    0
    Thanks for all that info mariss
    Much appreciated
    Cheers.

    Riche.


  4. #4
    Registered
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    3
    Downloads
    0
    Uploads
    0
    Hi Richie,
    I've done exactly what you are trying to implement.
    I have 6 hall effects limits in parallel on 1 input although this needed a current limit resister in the signal line. Then I have each home probe hall effect on a separate input. The touch is connected in parallel with my Z home input. All have leds at the hall effect location. The two outputs I use for driving step and direction on a G203.
    Cheers,
    Phil.

    Edit.
    I should say that I needed the current limit resistor because I run the hall effects off a 5volt supply.
    Last edited by Majorstrain; 02-05-2012 at 03:00 AM.


  • #5
    Registered riche543's Avatar
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    169
    Downloads
    0
    Uploads
    0
    Thanks Phil

    Where would the current limiter go , bit of a noob when it comes too electrics
    Cheers
    Riche


  • #6
    Registered
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    3
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by riche543 View Post
    Thanks Phil

    Where would the current limiter go , bit of a noob when it comes too electrics
    Cheers
    Riche
    Hi Riche,
    I'm out at the moment and using the phone to post. Bloody phone! That was the reason for the double post. :-)
    I'll draw up a diagram when I get home and get it posted tomorrow some time.
    Cheers,
    Phil


  • #7
    Registered riche543's Avatar
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    169
    Downloads
    0
    Uploads
    0
    Much appreciated phil, doesnt have to be to flashy,
    Still currently building 2nd cnc ,just gathering all info i might need to , when i get stuck. I know what ya mean bout phones i have iphone not too bad but i got big fingers so quite often press send or delete before finished .. lol.
    Cheers
    Riche


  • #8
    Registered
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    3
    Downloads
    0
    Uploads
    0
    Hi Riche,
    Here is the wiring diagram for the hall effect limits wired into the G540.
    Wiring diagram

    Click on it to go to the image on my Photobucket page.

    I have a separate 5 volt supply that is powered from the 50volt supply to my G540. The ground from the 5 volts and the 50 volts are connected together.
    For the 5volts I pulled apart a 5volt dc switch mode (ie not a transformer type) wall wart (plug pack here in Aus) and removed all the components from the input pins up to and including the the bridge rectifier. The 50V dc is wired into the + and - holes where the rectifier used to be.
    Most plug packs will work on 50V dc if they were a 110/220V ac type.

    The LED's were blue surface mount just because the blue is quite bright and with the surface mount gear I could solder them directly to the hall effect.
    none of the resistors or led's connect to the ground line. It may look like it in the photos below but they don't touch.
    The LED is off until the magnet actuates the hall effect. The signal into the G540 is idle high and active low.

    Hall Effects Epoxied to the table




    Magnet holder


    Overview


    Without the 4k7 resister inline with the six limits there was enough current leakage to have that input triggered all the time. The 4k7 value was a trial and error thing. Not enough and the input was triggered, too much and it would not trigger when the magnet enabled the hall effect.

    My touch probe for setting the tool zero height works just like a switch being closed. (completed circuit though the touch plate , mill frame and cutter)
    so that is the only thing that has a signal to ground wiring connection.

    My hall effects are just epoxied to the table and the magnet is mounted in a holder. The hall effects are the non latching kind but like most they are magnet polarity sensitive. (doesn't trigger if the magnet is the wrong way around).

    I don't have a problem with ferrous swarf sticking on the magnet because my tooling plate is longer and wider than the original table to which it is bolted.

    X3 Mill with 4th axis, tooling plate and 24k rpm spindle



    The paper covering the tooling plate is just baking paper held in place with magnets around the edge. It keeps all the crap out of the holes not being used and the alignment pegs and hold down bolts just push through the locations you need. After each setup you just replace it with a new sheet.

    Hope this helps.
    Cheers,
    Phil


  • Similar Threads

    1. Need thread call outs for 1 1/2 - 12
      By RiverDave in forum Mechanical Calculations/Engineering Design
      Replies: 4
      Last Post: 10-18-2010, 03:40 PM
    2. cut outs
      By benemy in forum Want To Buy...Need help!
      Replies: 1
      Last Post: 04-08-2010, 08:52 AM
    3. CNC lock-outs
      By thetrillionaire in forum General Metal Working Machines
      Replies: 1
      Last Post: 06-11-2008, 03:12 PM
    4. Need pin-outs for MPG-2 (C and CNC)
      By Rico55 in forum Machines running Mach Software
      Replies: 1
      Last Post: 02-07-2008, 01:38 PM
    5. 4AUPCWHC pin outs?
      By CNCadmin in forum Hobbycnc (Products)
      Replies: 2
      Last Post: 09-07-2005, 08:02 AM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.