588,390 active members*
5,452 visitors online*
Register for free
Login
Results 1 to 16 of 16
  1. #1
    Join Date
    Sep 2006
    Posts
    1738

    Is M8 common Code for coolant?

    Hello, I'm running a Taig cnc using EMC2. I'm in the process of install my new BOB from cnc4pc, a multifunction board that will control everything. As far as I'm concerned, I think too run my coolant after it's hooked up too my BOB is in each of my files, too place the command for turning coolant on and off.

    Is m8 correct coding that will work with EMC2 for coolant or is there something I'm missing?

    Please let me know.


    -Jason

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Not sure about EMC, but M7 is usually mist coolant, M8 is flood coolant.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Sep 2006
    Posts
    1738
    Ok, Just making sure. I thought it was M8.


    -Jason

  4. #4
    Join Date
    May 2005
    Posts
    1662
    If you're running the typical ubuntu install this is easy to find.

    applications > cnc > g code quick reference

    should open up in the web browser
    Anyone who says "It only goes together one way" has no imagination.

  5. #5
    Join Date
    Dec 2003
    Posts
    24220
    M8 is commonly Coolant on, M9 coolant off, but it is what ever the MTB makes it.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  6. #6
    Join Date
    Sep 2006
    Posts
    1738
    Did some tests. EMC skips m8 and m9 in my file allowing no coolant too turn on or off? What the heck? Coolant is designate too Pin 1 and Pin 1 works because when I set it as E-Stop, and enable/disabled it, the coolant turned on and off.

    -Jason

  7. #7
    Join Date
    Jul 2003
    Posts
    1760
    How is your hal file setup?

    should have 2 lines similar to this
    net coolant-flood <= iocontrol.0.coolant-flood
    net coolant-flood => parport.0.pin-01-out

  8. #8
    Join Date
    Sep 2006
    Posts
    1738
    I need too access my Hal, but saying this like a Noobie, I have never really got into it and changed anything. How too I view my Hal file.


    -Jason

  9. #9
    Join Date
    May 2005
    Posts
    1662
    Quote Originally Posted by SpeedsCustom View Post
    How too I view my Hal file.
    Same as any other text file, a gui for this is still in development unless I'm behind the times.

    I'm still using hand written configs so take the following fwiw. Look in the emc2/configs/ for the directory created by created by stepconf. In my-mill.ini (if you went with the default name) 2 HALFILES are called, my-mill.hal and custom.hal. According to the readme, custom.hal is for user created commands to prevent stepconf from overwriting. Watch out for conflicts.

    Hope this helps in some way.
    Anyone who says "It only goes together one way" has no imagination.

  10. #10
    Join Date
    Sep 2006
    Posts
    1738
    I'm not sure whats going on. Sorry, was away enjoying the Epic snow of Jackson Hole Wy last week. Anyway, I have gone into Spetconf many times, but I must be skipping something. I still have not figured out why EMC won't read the M8 M9 command.

    Too Samco, I do not know how too access what you showed ....Noobie here with EMC.


    -Jason

  11. #11
    Join Date
    Mar 2006
    Posts
    427
    Under the Stepconfig wizard did you try and invert the signal. Its a little check box next to the Pin setup. I want to say its on the second screen before you get the x axis. If I remember correctly it will take it from 0v to 5v. Im learning myself so take the advice with grain of salt.

  12. #12
    Join Date
    Sep 2006
    Posts
    1738
    No, when I invert it. It will automatically go on and stay on when EMC is open, it's not reading the M8 / M9 coding.

    UGH....


    -Jason

  13. #13
    Join Date
    Mar 2008
    Posts
    267
    Jason,

    Post a sample of your non functioning M8/M9 code.

    As you have indicated inverting the bit seems to tourn hardware on sugesting the config might be OK.

    Zig

  14. #14
    Join Date
    Sep 2006
    Posts
    1738
    I'll post it in a bit, but doesn't inverting the pin just mean that no matter what, a signal should go through, regardless what the code says?

    Could it be my post processor?? I'm just throwing that our there...

    -Jason

  15. #15
    Join Date
    Mar 2006
    Posts
    427
    It means that it will output 5v instead of 0v constantly. So when activating M8 it should shut off or goto 0V
    This is straight out of the user manual

    15.4 M7, M8, M9: Coolant Control
    To turn mist coolant on, program M7.
    To turn flood coolant on, program M8.
    To turn all coolant off, program M9.
    It is always OK to use any of these commands, regardless of what coolant is on or off.

    This last sentence gets me thinking that maybe you need to have the coolant box checked on the manual page to be able to use M8 or it could also mean that if its already on it wouldnt matter if M8 is used. Either way you know that the relay works you just need the pin to become active when programmed to. I dont think its your post processor M8 is M8 no matter who writes it.

  16. #16
    Join Date
    Sep 2006
    Posts
    1738
    When I do check it though, as soon as EMC opens, regardless of what program is loaded, the coolant pump goes on, I have not checked though with m8/m9 in the code at this point. Unchecked, nothing happens....M8 in my code though does nothing either.


    -Jason

Similar Threads

  1. M code for coolant
    By SIG in forum Daewoo/Doosan
    Replies: 5
    Last Post: 11-30-2007, 04:51 AM
  2. Common Variables
    By viorel26 in forum G-Code Programing
    Replies: 3
    Last Post: 10-02-2007, 10:09 PM
  3. How to control coolant by G code?
    By Simonetz Tamás in forum Syil Products
    Replies: 9
    Last Post: 09-03-2007, 06:44 PM
  4. Syil(Spindle, Coolant pump G-code Control Finish)
    By syil in forum News Announcements
    Replies: 4
    Last Post: 08-27-2006, 04:52 PM
  5. Common?to Most Surfers
    By Bear in forum Fadal
    Replies: 1
    Last Post: 01-22-2006, 09:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •