. .
Page 2 of 2 FirstFirst 12
  1. #11
    Hi Neale
    Thank you for your help.
    I understand, so what are other people using to find this control?

    Greg

  2. #12
    Quote Originally Posted by GREG021 View Post
    Hi Neale
    Thank you for your help.
    I understand, so what are other people using to find this control?

    Greg
    I have used these in the past

    https://www.ebay.co.uk/itm/5V-1-2-4-...sAAOSwnNBXb~mS

    https://photos.app.goo.gl/dtehJx1BSmoUGyX27

    With a china bob with linuxcnc on a Boxford 125 lathe for threading etc

    net spindle-cw => parport.0.pin-08-out
    net spindle-ccw => parport.0.pin-09-out
    net spindle-on => parport.0.pin-17-out

    net spindle-phase-a <= parport.0.pin-11-in
    net spindle-phase-b <= parport.0.pin-10-in
    net spindle-index <= parport.0.pin-12-in

    net all-home <= parport.0.pin-13-in
    net estop-ext <= parport.0.pin-15-in
    ..Clive
    The more you know, The better you know, How little you know

  3. #13
    Hi Clive

    Thank you so much for your reply, I am in the process of studying it at the moment, takes longer these days. Would it be possible to have a wiring layout to make it easier?
    You are using the same BoB as me so could be a great solution.
    Did you have to use Linuxcnc to make it work or just preference?

    Greg

  4. #14
    Following from Neale's reply.

    The BoB is basically a collection of discrete inputs and outputs. One, by design, is able to drive an onboard relay. One other is able to drive a PWM output. But, apart from these functions, they are all just bog standard discrete outputs.

    Now, the problem you have is interfacing to the VFD. The inputs to the VFD need to be pulled low (connected to ground) to activate. You *could* connect these directly to the BoB outputs (any of, including the relay output... more in a second), but the problem is they are likely pulled to 12-24V internally to the VFD. You don't really want to connect the outputs from the BoB to something at that voltage (though, it's likely to survive through the internal clamp diodes on the logic outputs). But I digress.

    OP - you show that you basically understand an NPN transistor switching element. Use NPN transistors to provide the switch-to ground (collect -> input, emitter -> ground), and a 4k7 resistor (or near-neighbour) to any of the unclaimed outputs on the BoB, Two - one for forward, one for reverse.

    With that configuration, remove the jumper for the relay (unnecessary) from the BoB. Then, an active-high signal into the BoB from Mach3 on the corresponding pin will activate the corresponding input into the VFD. As Neale suggests - you can re-appropiate the B-axis outputs - whichever pins they are bound to - just use those to create outputs within Mach that you then bind to the forward/reverse "relay" pins in the Mach3 configuration page.

    I'm not able to look at Mach3 to give precise details at this time, but speak up if that's less than clear.

  5. #15
    Click image for larger version. 

Name:	Screenshot 2021-04-17 at 12.16.11.png 
Views:	89 
Size:	1.59 MB 
ID:	29819

    Apologies for brevity. - something like this

  6. #16
    Hi Doddy

    Thank you for your reply, I am in the process of getting my head around it.
    I have just ordered a 2 relay board as shown in Neale's setup, could I use that instead of the NPN transistors? (as I have just bought it)
    The rest seems remarkably straight forward even for an old duffer like me.

    Greg

  7. #17
    yeah. two relays will work fine

  8. #18
    Thank's Doddy your help is greatly appreciated.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Making my control cabinet - what switching controls should I have?
    By Voicecoil in forum Control Hardware & Systems
    Replies: 14
    Last Post: 28-08-2019, 01:31 PM
  2. Tidy Cabinet Wiring
    By AndyUK in forum General Electronics
    Replies: 7
    Last Post: 08-08-2019, 07:44 PM
  3. Wiring Limit Switches, and can it be done with my control box?
    By ravihotwok in forum General Discussion
    Replies: 8
    Last Post: 22-06-2017, 11:23 PM
  4. Control box wiring: cables, terminals, connectors etc.
    By eurikain in forum General Electronics
    Replies: 10
    Last Post: 07-11-2015, 07:34 PM
  5. Wiring a Corner finder and height control
    By D-man in forum Probing, Digitizing & Scaning
    Replies: 38
    Last Post: 02-11-2014, 03:41 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
  •