586,713 active members*
3,040 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2011
    Posts
    9

    NC Studio Coding

    Hello,

    I purchased a Donek Drag Knife and I need to set in the NCstudio post processor that the spindle doesnt start.

    Here is the vectric aspire PP configuration file.

    Does anyone know where to look for?

    Thanks

    +================================================
    +
    + NC Studio Vectric output configuration file
    +
    +================================================
    +
    + History
    +
    + Who When What
    + ======== ========== ===========================
    + Mark 07/09/2010 Written
    +================================================

    POST_NAME = "NC Studio ATC Arcs (mm)(*.nc)"

    FILE_EXTENSION = "nc"

    UNITS = "MM"

    +------------------------------------------------
    + Line terminating characters
    +------------------------------------------------

    LINE_ENDING = "[13][10]"

    +------------------------------------------------
    + Block numbering
    +------------------------------------------------

    LINE_NUMBER_START = 0
    LINE_NUMBER_INCREMENT = 10
    LINE_NUMBER_MAXIMUM = 999999

    +================================================
    +
    + Formating for variables
    +
    +================================================

    VAR LINE_NUMBER = [N|A|N|1.0]
    VAR SPINDLE_SPEED = [S|A|S|1.0]
    VAR FEED_RATE = [F|C|F|1.1]
    VAR X_POSITION = [X|C|X|1.3]
    VAR Y_POSITION = [Y|C|Y|1.3]
    VAR Z_POSITION = [Z|C|Z|1.3]
    VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.3]
    VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.3]
    VAR X_HOME_POSITION = [XH|A|X|1.3]
    VAR Y_HOME_POSITION = [YH|A|Y|1.3]
    VAR Z_HOME_POSITION = [ZH|A|Z|1.3]
    VAR SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.3]
    +================================================
    +
    + Block definitions for toolpath output
    +
    +================================================

    +---------------------------------------------------
    + Commands output at the start of the file
    +---------------------------------------------------

    begin HEADER

    "o0001"
    "( [TP_FILENAME] )"
    "[N] G91 G28 [XH] [YH] [ZH]"
    "[N] G00 G21 G17 G90"
    "[N] G00 G40 G49 G80"
    "[N] G71"
    "[N] T[T] M06"
    "[N] G00 G43[ZH]H[T] M8"
    "[N] [S] M03"
    "[N] [XH] [YH] [F]"

    +---------------------------------------------------
    + Commands output for rapid moves
    +---------------------------------------------------

    begin RAPID_MOVE

    "[N] G00 [X] [Y] [Z]"


    +---------------------------------------------------
    + Commands output for the first feed rate move
    +---------------------------------------------------

    begin FIRST_FEED_MOVE

    "[N] G01 [X] [Y] [Z] [F]"


    +---------------------------------------------------
    + Commands output for feed rate moves
    +---------------------------------------------------

    begin FEED_MOVE

    "[N] G01 [X] [Y] [Z]"

    +---------------------------------------------------
    + Commands output for the first clockwise arc move
    +---------------------------------------------------

    begin FIRST_CW_ARC_MOVE

    "[N] G02 [X] [Y] [I] [J] [F]"

    +---------------------------------------------------
    + Commands output for clockwise arc move
    +---------------------------------------------------

    begin CW_ARC_MOVE

    "[N] G02 [X] [Y] [I] [J]"

    +---------------------------------------------------
    + Commands output for the first counterclockwise arc move
    +---------------------------------------------------

    begin FIRST_CCW_ARC_MOVE

    "[N] G03 [X] [Y] [I] [J] [F]"

    +---------------------------------------------------
    + Commands output for counterclockwise arc move
    +---------------------------------------------------

    begin CCW_ARC_MOVE

    "[N] G03 [X] [Y] [I] [J]"


    +---------------------------------------------------
    + Commands output at toolchange
    +---------------------------------------------------

    begin TOOLCHANGE

    "[N] T[T] M6"
    "[N] G43H[T]"
    "[N] [S] M03"

    +---------------------------------------------------
    + Commands output for a new segment - toolpath
    + with same toolnumber but maybe different feedrates
    +---------------------------------------------------

    begin NEW_SEGMENT

    "[N] G00 [SAFEZ]"
    "[N] [S] M03"
    +---------------------------------------------------
    + Commands output at the end of the file
    +---------------------------------------------------

    begin FOOTER

    "[N] G00 [ZH]"
    "[N] M09"
    "[N] G00 [XH] [YH]"
    "[N] M17"
    "[N] M30"
    %

  2. #2
    Join Date
    Jan 2009
    Posts
    104

    Re: NC Studio Coding

    remove or comment out all "[N] [S] M03" lines

  3. #3
    Join Date
    Nov 2011
    Posts
    9

    Re: NC Studio Coding

    Thanks mcode, but it didnt work.

    Could it be that the spindle is set to start outside the gcode?

    I added M5 and when the program starts, the spindle turns on , then off.

    As I am using a dragknife, its really important that it doesnt start at all.

  4. #4
    Join Date
    Jan 2009
    Posts
    104

    Re: NC Studio Coding

    I'm not familiar with the machine. Does the program have any M3's in it?
    if not maybe there is a parameter setting to disable the spindle from turning on.

  5. #5
    Join Date
    Jan 2009
    Posts
    104

    Re: NC Studio Coding

    you can try entering S1. in MDI before running the program which is modal and will turn the spindle
    on and off but at the lowest rpm possible when the spindle automatically starts. The only problem
    would be if the spindle has a low gear, which would not let the drag knife rotate the spindle easy enough.

    hope that helps

Similar Threads

  1. 18T and coding
    By Darth Yoda in forum Fanuc
    Replies: 8
    Last Post: 02-28-2013, 04:26 PM
  2. Need help with coding
    By whitewishes in forum PIC Programing / Design
    Replies: 1
    Last Post: 08-15-2012, 04:31 AM
  3. New to G-Coding
    By Larry Myers in forum G-Code Programing
    Replies: 4
    Last Post: 09-20-2007, 03:06 PM
  4. G2/G3 Coding
    By jrobson in forum G-Code Programing
    Replies: 24
    Last Post: 09-02-2006, 06:54 PM
  5. Chook coding in Visual studio .net
    By EdOsgood in forum Mastercam
    Replies: 0
    Last Post: 10-01-2005, 09:14 PM

Tags for this Thread

Posting Permissions

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