585,687 active members*
4,500 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    2

    Question Editing Gcode in excel for 9 axis CNC ??

    i work with 9 axis cnc (using for gold cutting) with sinumerik (840d) controler.
    our cam program is ARTCAM & exported Gcode file only support 3axis .
    i usually add some gcodes handly to this file. but its not possible always ( in larg files ).
    i tried solving this problem by importing files to Excel program by inserting new columns & some functions in excel.
    but the values is not configured in same column .for example in 4th column we have usually x parameters . but in some lines other values for example y parameters is in 4th column too.
    in a other word icant do what i want with excel.
    what can i do? with excel program or others to solving problem.
    & to adding new values for A,B,C axis ?
    do U know the program that based on excel ?

  2. #2
    Join Date
    Jul 2003
    Posts
    1220
    Can you give an example of your code before and after adding the ABC.
    Also advise how the ABC is determined.

  3. #3
    Join Date
    Feb 2009
    Posts
    2
    yes. an example:

    G54
    G74 C0
    G90 G0 X0 Y0 Z1 F2000
    G90 G1 A45 B-28 F700
    G90 G1 B27 C-10 F2000
    G90 G1 Z-0.1 F720
    G90 G1 X10 A90 F2000
    .....

    THE VALUES FOR B & A MAY BE WRITEN ANY WHERE..
    A IS HEAHD 1 ( ROTATE 360 DEGREE)
    B IS WORK HOLDER( ROTATE 60 DEGREE)
    C IS ROTORY AXIS ( SHAFT AXIS )

  4. #4
    Join Date
    May 2006
    Posts
    573
    You can have excel parse the expression so you get a column with each axis

  5. #5
    Join Date
    Jul 2003
    Posts
    1220
    If unable to import/parse the code to columns.

    Open with Excel and number each line.
    Use sort and move the code to the relative columns in large blocks.
    Resort back to numerical order.

    Quote Originally Posted by imanflash View Post
    .....THE VALUES FOR B & A MAY BE WRITEN ANY WHERE..
    Not sure if possible to write a macro if the ABC can be anywhere.
    Attached Thumbnails Attached Thumbnails Imanflash.JPG  

  6. #6
    Join Date
    May 2008
    Posts
    5
    It is possible to use macro for EXCEL. You must generated 1 command in 1 cell and then you can transform in text to import in mach3 programs. Mirciulica

Similar Threads

  1. Using Excel for Gcode
    By itsme in forum G-Code Programing
    Replies: 8
    Last Post: 03-22-2018, 03:28 PM
  2. 4 Axis CNC - MS Excel Source code (VBA)
    By arman in forum Visual Basic
    Replies: 3
    Last Post: 03-06-2018, 01:37 AM
  3. What is the gcode to ref 1 axis home after
    By seanreit in forum Uncategorised MetalWorking Machines
    Replies: 6
    Last Post: 12-07-2008, 11:18 PM
  4. editing okuma c-axis post
    By kazmir44 in forum Post Processors for MC
    Replies: 2
    Last Post: 01-07-2008, 09:07 PM
  5. MS Excel 4 Axis CNC Foam Cutter Experiment
    By arman in forum CNC Wire Foam Cutter Machines
    Replies: 5
    Last Post: 10-25-2006, 09:04 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
  •