Hi Neale
Thank you for your help.
I understand, so what are other people using to find this control?
Greg
Printable View
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
Hi Clive
Thank you so much for your reply, I am in the process of studying it at the moment, takes longer these days.:upset: 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
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.
Attachment 29819
Apologies for brevity. - something like this
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
yeah. two relays will work fine
Thank's Doddy your help is greatly appreciated.:cheerful: