603,844 active members*
3,595 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    1

    What m-codes control relay outputs in mach3?

    Hi I'm starting to work out the bugs on my gang tool lathe and I want to control the collet closer with an m-code but i can't seem to find which m-code to use to activate the outputs on mach3. The only ones know of are the usual m03,m04,m05 for the spindle control and m08,m09 for the coolant.
    Does anybody know what m-codes control the outputs?

  2. #2
    Join Date
    Apr 2005
    Posts
    3634
    An M-code is a machine code, so since all machines are not the same, you should be able to create your own M-code.

    http://www.machsupport.com/MachCusto...s#Mach3_macros

    http://www.machsupport.com/MachCusto...Modbus_in_Mach

    http://www.machsupport.com/forum/ind...7&topic=4077.0

Similar Threads

  1. non RF remote relay control?
    By DennisCNC in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 07-08-2006, 11:15 PM
  2. How do I control a relay?
    By amccoy in forum CNC Machine Related Electronics
    Replies: 7
    Last Post: 05-30-2006, 10:00 PM
  3. How to set a relay for a spindle motor ON/OFF control
    By TTaki in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 03-09-2005, 01:26 PM
  4. Parallel Port / Relay Control Question
    By Verboten in forum Computers / Desktops / Networking
    Replies: 7
    Last Post: 12-21-2004, 11:17 PM
  5. How to control a relay with a PC
    By NeoMoses in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 08-06-2003, 11:55 PM

Posting Permissions

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