Re: MACH3 Plasma help please
It's not just you!
From what I can work out, the relays share control with the stepper controls, but SW3-5 allow you to disconnect the relays, and there is an option to use Relay3 via the coolant timer system. However I can't see anywhere that actually tells you what pins control the relays.
Re: MACH3 Plasma help please
The pins to control the relays are on page 8 in the table I have one of these bobs it take a bit of getting used to but they are good.
Re: MACH3 Plasma help please
Clive, this is good news as I've not come across anyone confessing to have one !
My system is using 4 axis (as A is used as a slave) - so in simple idiot proof terms, (remembering that I've not been able to interpret that table), what do I need to do to drive one of these relays on and off from G code or otherwise ? Presumably there are links and DIP switches as far as hardware is concerned, then some set up in MACH-3 ?
I'd much appreciate your input.
Re: MACH3 Plasma help please
Quote:
I'd much appreciate your input
You have said you have one relay connected is this the one you want you are having trouble with?
I have not altered my setup for some time so am a bit rusty on the BOB but I will get back to you tomorrow after I have checked it out re the pins.
Re: MACH3 Plasma help please
Yes Clive just the one relay, which I can connect to any of the three relay output contacts of the BOB.
I am unclear how Mach treats these outputs. Is it by M code, do I need to write a diddy bit of code or what?
Re: MACH3 Plasma help please
Quote:
Originally Posted by
AndrewMawson
Yes Clive just the one relay, which I can connect to any of the three relay output contacts of the BOB.
I am unclear how Mach treats these outputs. Is it by M code, do I need to write a diddy bit of code or what?
You need to allocate the output pin to an output in ports and pins, then activate that output either via an M-code, or via a Macro. I think you may be able to do it via the macropump by monitoring when certain things are active i.e. when the torch is active, but hopefully DaveK will be along shortly and tell us how he activates his extractor.
Re: MACH3 Plasma help please
How does your G-code turn on/Off the Torch. Does it use M3/M5.?
If so then just edit the M3/M5 macros so they turn output on/off.
In the M3 enter this at point want to come on:
ActivateSignal(Output 2) ...................change number to suit your output.
In M5 put this when want to go off:
Sleep 3000 ...................................(Pause before Output OFF Change number to suit delay in Milli/Secs.)
DeActivateSignal(Output 2) .................(change number to suit your output.)
Or if you want can just use the coolant codes and enter enter M7 or M8 in your code at the point want on Output on and setup coolant the Outputs in spindle setup to Output# you used.
Then in code to turn off enter:
G4 P3 (change number for pause time in secs)
M9
Re: MACH3 Plasma help please
Thanks Clive and Jazz for your replies.
A/ My plasma torch is turned ON by an M03 and OFF by an M05
B/ On the BOB if I set DIP switch 5 then my relay pulses on and off with a mark space ratio controlled by the two trim pots.
C/ If I set DIP switch 2 to ON which should change control to LPT Port 1 Pin 14 I can find no M code that controls Pin 14
D/ In the Ports and Pins page of Config there is a line labelled OUTPUT 3 which I have set to Port 1 Pin 14 - this has enabled a switch box marked "Output 3" on screen that previously was not active - I can now click it and change it from Red to Green but other than that it has seemingly no other effect
(In the Spindle page of Config there is an area referring to mist and flood coolant and relay control via M07 and M08 and mapping to output signals in the range of 1-6 and I suspect perhaps it's something to do with the set up here, but I'm not quite getting there at the moment !!!)
Your ongoing hand holding would be appreciated :)
Re: MACH3 Plasma help please
Quote:
Originally Posted by
AndrewMawson
Yes Clive just the one relay, which I can connect to any of the three relay output contacts of the BOB.
I am unclear how Mach treats these outputs. Is it by M code, do I need to write a diddy bit of code or what?
Ok My bob is the PCL6x But is similar. I may be shot for this but I think it would work, In Mach go to ports and pins page then click on tab spindle setup. Then untick the flood/mist relays and enter say 3 in the for the flood relay you could control a relay with flood M8 to turn on and M9 to turn off in your gcode file.
Then under the (output signals tab) then set output #3 to port 1 and pin 16 (you might have to change active low)
You have to set SW3 to on on the BOB.
I stress I am not an expert in Mach3 so can somebody please check this
Edit: it took me so long to answer I did not see Deans post but he for sure will check the above