585,752 active members*
3,837 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Dolphin CAD/CAM > Post processor editing
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2013
    Posts
    10

    Post processor editing

    I am using the post processor for EMC-2. Is there a way to put a space after the line number in the G code. It would be allot easier to read it. I have tried to change things in the file but have had no success. Thanks Jan

  2. #2
    Join Date
    Feb 2007
    Posts
    412

    Re: Post processor editing

    Hello

    You can introduce a space character after the block number macro #N

    So where you see #N add " " (there is space character between the quotes) to read #N " "

    You will need to do this on each lines that contains the #N in the RULES section of the post

    ATb
    andre

  3. #3

    Re: Post processor editing

    HI
    Carrying on from this post, can you add a space between program content like the following?

    N11 G99G83X183.0Y41.0Z-14.667Q2.933R3.0F200

    make it like

    N11 G99 G83 X183.0 Y41.0 Z-14.667 Q2.933 R3.0 F200

    Thanks
    Phil

  4. #4
    Join Date
    Feb 2007
    Posts
    412

    Re: Post processor editing

    Hello Phil,

    Yes, you need to add an underscore character before each word ..... this is the groups section from a fanuc lathe post ....
    GROUPS:
    :G1 = { _G00 _G01 _G02 _G03 _G33 _G77 _G78 _G79 _G92 }
    :G2 = { _G96 _G97 }
    :G3 = { _G90 _G91 }
    :G4 = { _G94 _G95 }
    :G6 = { _G20 _G21 }
    :G7 = { _G40 _G41 _G42 }
    :M1 = { _M03 _M04 _M05 }
    :M2 = { _M08 _M09 }
    :M3 = { _M33 _M34 _M35 }
    :M4 = { _M78 _M79 }
    END:

    Then use this in the MACRO and RULES sections ....... examples below

    #CRC = { [CUTCOM ? (_G40) / (_G41) / (_G42) ] }

    :GOCLW = { #N (_G02) #CRC #Y #X #I #J #F EOB }

    ATb
    Andre

  5. #5

    Re: Post processor editing

    Thanks Andre
    Worked like a charm.
    I feel it is much easier to read like this.

    N10 G94
    N11 G99 G83 X183.0 Y41.0 Z-14.667 Q2.933 R3.0 F200
    N12 G80
    N13 M09
    N14 G49
    N15 T4 M06 ( Ball Nosed End Mill 10mm Dia )
    N16 G00 G43 Z50.0 H0
    N17 S700 M03
    N18 G94
    N19 X60.0 Y51.624
    N20 Z3.0
    N21 G01 Z-1.0 F100
    N22 X60.0 Y30.376 F200
    N23 X166.0 Y37.829
    N24 X166.0 Y44.171
    N25 X60.0 Y51.624
    N26 X64.5 Y46.796

    Cheers
    Phil

Similar Threads

  1. Editing post processor
    By SuperUPer in forum EnRoute
    Replies: 1
    Last Post: 08-16-2018, 09:16 PM
  2. Post Processor Editing
    By ErickH in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 04-24-2015, 07:58 PM
  3. POST PROCESSOR EDITING
    By blmmdes in forum Hypermill
    Replies: 5
    Last Post: 05-08-2008, 06:27 PM
  4. Post Processor editing
    By CNC_savant in forum MetalWork Discussion
    Replies: 2
    Last Post: 04-03-2007, 01:45 AM

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
  •