. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Clive S's Avatar
    Lives in Marple Stockport, United Kingdom. Last Activity: 13 Hours Ago Forum Superstar, has done so much to help others, they deserve a medal. Has a total post count of 3,342. Received thanks 618 times, giving thanks to others 82 times. Made a monetary donation to the upkeep of the community. Is a beta tester for Machinists Network features.
    Quote Originally Posted by AndrewMawson View Post
    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
    Last edited by Clive S; 03-01-2017 at 04:15 PM. Reason: added text
    ..Clive
    The more you know, The better you know, How little you know

  2. #2
    SORTED !

    On the BOB DIP switch 4 set on = "Relay 2 is turned ON"

    On Ports and Pins "Output 2" = Port 1 Pin 17

    On Spindle Setup "Disable Mist / Flood Relays" = UNCHECKED, M08 set to "Relay 2"

    In hardware - abandon Relay 3 and use Relay 2 - this I think is the crucial bit as RELAY 3 IS A SPECIAL CASE !!!!!!!!

    So now I can turn on with an M08 and Off with an M09 at will and can presumably also tweak the post processor to do as has been suggested. I think ALL my issues were caused as Relay 3 is a special case on this BOB

    Very many thanks to those whose help and support got me here - much appreciated.

  3. #3
    Ok what clive said is fine but let me shed some light of how it works.

    On the Board your using Lpt connections which is connector XP21. Pin 14 16 & 17 can be used for the Relays. However each relay can be deactivated using SW3, 4,5 also pin 14 can be used dual purpose. When SW2 is ON pin 14 provide PWM signal. SW2 off and it works like normal Output and turning Relay 3 on/off. Also when used for coolant By the looks if it there's circuit to pulse the relay on/off if required. Suspect you'll just wind Pots full for constant ON.

    So to use any relay First make sure they are turned ON using SW3,4,5. If using Rly3 which uses pin 14 then you need SW2 OFF and set the timer pots so full on all the time.
    Then in Mach3 ports/pins/Outputs/ Enable and Set output numbers #1 =pin 14, #2 = 16 #3 =17
    This will give you full access to all your Relays.

    Now if you want to use Clives approach after setting up in spindle control when command M8 Relay will turn ON Command M9 will turn it off. Try testing this using MDI.

    However if you want more control like for pausing or doing some checks before actually turning on/off. IE Checking Torch is OFF or Axis stopped moving etc then using Macro will give more control.

    This can be done by inserting code into existing macro like M3/M5 or creating your own custom (M) macros and placing reference to that in your G-code. IE: Lets say made two and called M901 M902 G-code look something like this.

    (Start program)
    M901 (activate custom macro which turn fans on using output #2 and switches kettle on using output #3 waits for it to boil by watching input #3)
    M3 (Torch On)
    G1 x345 y34
    etc etc
    M5 (Torch off)
    M902 ( Activate custom macro which Wait 10s and then checks torch is off and axis stopped moving then turn output#2 OFF and puts kettle back on using out#3 and waits untill boiled watching input#3.)

    Ok little extreme with the kettle but possible and gives idea why would use Macro rather than simply using Coolant M codes.

    Hope this helps and clears thing up little.

    Edit: Bugger see your sorted could have saved my poor fingers. . Lol
    Last edited by JAZZCNC; 03-01-2017 at 05:26 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 08-03-2016, 06:41 PM
  2. Plasma, Mach3, Sheetcam and a Proma Torch height controller..
    By Davek0974 in forum Plasma Table Machines
    Replies: 2
    Last Post: 14-04-2014, 03:49 PM
  3. My first CNC plasma
    By Walterronny in forum DIY Plasma Build Logs
    Replies: 30
    Last Post: 20-02-2013, 02:13 AM
  4. Brit made plasma THC for Hypertherm / Mach3 users
    By stirling in forum Manufacturer News
    Replies: 3
    Last Post: 13-02-2013, 09:58 AM
  5. plasma cad
    By jamied in forum Computer Software
    Replies: 6
    Last Post: 20-08-2010, 03:33 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
  •