. .

Thread: M542 wiring

  1. #1
    Hi all.

    I have started to build my CNC control cabinet, I have come to wire the M542's to the Breakout Board, i have got myself confused again.
    The Breakout Board has screw connections labelled XN, XD, XS & XE with Y & Z prefix as well, i understand that these represent each Axis.
    The M542 is marked Pul+ (+5v) ~ Pul- (Pul) ~ Dir+ (=5v) ~ Dir- (Dir) ~ ENA+ (=5V) ~ ENA- (ENA) so 4 into 6 don't go, can anyone help with the correct wiring scheme please.

    Regards

    Ray

  2. #2
    ok try here ya go.

    XN = negative so take a wire to pul - dir - En -

    XD = direction so take to dir +

    XS = step so take pul +

    EN = enable so take En + ( This can be left unconnected and you do connect then the software enable pins need to be set up correctly else the drives wont turn on. Most leave unconnected)

    Now this is very important don't jump the power wires between drives.? By that I mean not take a positive wire from PSU to first drive then jump from that to next and so on. Always fetch the wires direct to each drive from either the PSU or a bus bar type arrangement.

    See pic.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	M542.jpg 
Views:	1409 
Size:	50.3 KB 
ID:	6714  
    Last edited by JAZZCNC; 02-09-2012 at 06:28 PM. Reason: changed del to dir .!!

  3. The Following User Says Thank You to JAZZCNC For This Useful Post:


  4. #3
    Hi Jazz

    Many thanks for the diagram, can you explain a little better about pin XS to EN+, are you saying i can connect up or do not connect up, sorry for my misunderstanding

    Regards

    Ray

  5. #4
    Quote Originally Posted by manofgresley View Post
    Hi Jazz

    Many thanks for the diagram, can you explain a little better about pin XS to EN+, are you saying i can connect up or do not connect up, sorry for my misunderstanding

    Regards
    Ray
    You can leave the EN pins off if you like.!
    It's just the enable pin that disables or enables the drives step and direction signals depending on if it sees a signal from the control software.
    If left off then it presumes every things ok and works. If it's connected then the control software sends a signal to the enable pin when in E-stop condition which disables the drives step and direction signals and movement stops. This is why it's important that if you connect the pins the software is set in such away that it only sends the signal when in e-stop condition.
    Basicly it just works like a NC relay with it's contacts controlling the step and direction signals and when the software sends a signal the coils open and the contacts open breaking the signal.!

    The advantage to using the Enable pin is that when the machine goes into E-stop condition the movement signals stops but power is still left on to the motors so the holding torque to the motors still remains. This is helpfull for heavy Axis like Z axis or mill heads that may drop when power is removed.

    The XS is just Step pin and nothing to do with EN. XD is the direction pin and same nothing to do with EN.
    The only thing they share in common is they all go to a common negative and is why you can use the XN (DC negative often called COM) for all negatives.!

  6. The Following User Says Thank You to JAZZCNC For This Useful Post:


  7. #5
    Hi Jazz

    Many, many thanks. I understand now, thanks for the offer of a phone call, but my hearing is sometimes very bad on the phone, and it is embarrassing to keep asking someone to keep repeating themselves.

    Best Regards

    Ray

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. M542's - £25 Chinese or £45 Leadshines?
    By birchy in forum Motor Drivers & Controllers
    Replies: 11
    Last Post: 03-02-2016, 08:39 PM
  2. GX16 to M542
    By Carlb1058 in forum Stepper & Servo Motors
    Replies: 3
    Last Post: 29-07-2013, 11:08 PM
  3. M542 problems see pictures
    By ciaranconlon in forum Motor Drivers & Controllers
    Replies: 18
    Last Post: 08-01-2013, 08:37 PM
  4. M542 Driver
    By Swarfing in forum Motor Drivers & Controllers
    Replies: 28
    Last Post: 28-06-2012, 09:12 PM
  5. ZP5A-INT breakout an M542 driver problems
    By ciaranconlon in forum Motor Drivers & Controllers
    Replies: 2
    Last Post: 09-04-2012, 05:52 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
  •