Page 1 of 2 12 LastLast
  1. #1
    Maybe not the most elegant of solutions, but ive given up with the usb serial controller and plugin. For now it would be just nice to turn the spindle on and off from the pc

    Im using one of those cheapy BOB's from china. Which so far does everything I need, and does it well
    (thanks to Wal for photo) - photo for illustration purposes of board, not for wiring

    Click image for larger version. 

Name:	9575d1376876743-driver-wiring-advice-needed-wan_bob.jpg 
Views:	1068 
Size:	205.5 KB 
ID:	9909

    So what im trying to do is simple.

    Click image for larger version. 

Name:	relay.png 
Views:	477 
Size:	13.9 KB 
ID:	9910

    but im stumbling at the first hurdle!!! ie just getting the relay to flick

    so, in output pins (this is not an actual screenshot of my mach3, but illustrates the screen)

    Click image for larger version. 

Name:	mach3_11.jpg 
Views:	690 
Size:	51.0 KB 
ID:	9911

    I have Output #1, set as Port 1, Pin 17, with Active Low not set

    In spindle setup (same window different tab) (again picture not my screenshot for illustration purposes only)

    Click image for larger version. 

Name:	Mach3_spindle_setup.jpg 
Views:	759 
Size:	74.5 KB 
ID:	9912

    in 'Relay Control'

    I have set Clockwise (m3) to be pin 1


    Im now running commands like M3 s1000 etc expecting to flick the relay and getting NOTHING

    If I take a direct positive from the 5v board feed to the relay it flicks...

    ANY help or advice no matter how silly it may be will be greatly appreciated.

    thanks in advance.

  2. #2
    Are you sure the breakout board can source enough current for the relay? Have you measured the voltage across the relay with the output on and off?

    The relay isn't actually necessary - you could just connect the output from the breakout board to the relevant input on the VFD. Just remember to connect the common grounds. Let me know if that's not enough information...
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  3. #3
    Thing is, I dont think im even getting a change at Pin 17 let alone there being sufficient to move a relay

    Ive just got the voltmeter between pin 17 and ground and jumping up and down on Mach3 and I cant get it the figure on the voltmeter to budge

    im clicking at the spindle controls... inventing new gcodes,

    M3
    M4
    MPLEASE

    still nothing

    so I suspect im either triggering it wrong in mach, have set it up wrong, of ive missed configuration somewhere... or the BOB is incapable of handling outputs?

    arent you meant to be at work? skiver!
    Last edited by kingcreaky; 30-08-2013 at 10:50 AM.

  4. #4
    Have you checked on the diagnostics page in mach3 if the output for the spindle is actually changing state? The diagram of the parallel port showing the pins should light up.

    Try something like:
    M3 S1000
    S sets the speed, might have to set the speed for it to work. I can't remember exactly as it's been a while since I used mach3 and I can't look into it now...
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  5. #5
    It's a simple thing so If you have output 1 to 6 setup with pin 17 then it should work and from what you have posted everything looks correct and it should work.!! . . . So this tells me you either have selected wrong pin on board or pin is knackerd.!! . . . Try different output pin.

  6. #6
    I don't know what error checks Mach3 does but I can't imagine it would let you select the same output for Clockwise and CCW, have you tried setting CCW to another spare output ? then M3 should operate output 1

  7. #7
    Are you using a digital test meter? I'm just wondering if it's a pulsed input that only an analogue meter would show?

  8. #8
    right... Im now able to turn on 5v and turn off 5v to a pin, by running the m3 command etc.. however it seems there is not sufficient power to pull a relay.... therefore... how do I get from the 5v signal... to flicking the spindle vfd on and off?

    i assume an opto coupler?

  9. #9
    Quote Originally Posted by Jonathan View Post
    The relay isn't actually necessary - you could just connect the output from the breakout board to the relevant input on the VFD. Just remember to connect the common grounds. Let me know if that's not enough information...
    its this bit I need a bit of hand holding on...

  10. As Jonathan said, you need to find the 'Run' input on your VFD. What model is it?
    You shouldn't really switch supply volts to a VFD.

    Quote Originally Posted by kingcreaky View Post
    right... Im now able to turn on 5v and turn off 5v to a pin, by running the m3 command etc.. however it seems there is not sufficient power to pull a relay.... therefore... how do I get from the 5v signal... to flicking the spindle vfd on and off?

    i assume an opto coupler?

Page 1 of 2 12 LastLast

Similar Threads

  1. Pilz Relay info
    By manofgresley in forum General Electronics
    Replies: 5
    Last Post: 08-05-2014, 10:16 PM
  2. Relay V Contactor
    By GTJim in forum General Electronics
    Replies: 9
    Last Post: 18-03-2014, 10:10 AM
  3. Replies: 0
    Last Post: 13-11-2013, 07:50 PM
  4. What's the diffrence in the 5V 4-Channel Relay vs a ZP-4WAY-RB
    By boldford in forum General Electronics
    Replies: 1
    Last Post: 05-09-2012, 05:25 PM
  5. Solid State Relay to Switch Transformer?
    By m_c in forum General Electronics
    Replies: 13
    Last Post: 08-09-2008, 11:19 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
  •