585,581 active members*
4,071 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Posts
    40

    Writing a custom M code?

    I have a Delta 20 control with a pic card and want to make a custom M code to turn on and off some relays. I have 4 unused slots on my relay board.

    I found the Integration manual with 3 columns of numbers and a description column so this should be fairly easy if I knew how these numbers are used.

    My manual shows how to get to the M code addresses to edit but not sure what I can do once I get in there?

  2. #2
    Join Date
    Oct 2006
    Posts
    106
    If the PIC is being used to run the machine inputs/outputs, then M codes will be sent to the PIC program for decoding via the CNC to PIC table. To use a custom M code under these circumstances, the PIC would have to be programmed to recognize the custom M code and turn on the desired output.

    What kind of machine is this? Manufacturer and model number would be helpful. Do you have the PIC "Source" file?

Similar Threads

  1. writing code for a laser
    By tp77 in forum Uncategorised CAM Discussion
    Replies: 3
    Last Post: 02-18-2015, 05:14 PM
  2. writing G code
    By 300magnum in forum Australia, New Zealand Club House
    Replies: 2
    Last Post: 09-11-2008, 04:31 AM
  3. imagine writing the code for this!!!!
    By bearracecars in forum Waterjet General Topics
    Replies: 9
    Last Post: 02-19-2007, 10:46 PM
  4. Is there any G-code for custom using?
    By david_geng in forum G-Code Programing
    Replies: 3
    Last Post: 02-11-2007, 03:56 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
  •