Need Help! Post processor editing


Results 1 to 5 of 5

Thread: Post processor editing

  1. #1
    Member
    Join Date
    Mar 2013
    Location
    Canada
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2007
    Location
    UK
    Posts
    412
    Downloads
    0
    Uploads
    0

    Default 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

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Member HighSideNZ's Avatar
    Join Date
    Aug 2021
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2007
    Location
    UK
    Posts
    412
    Downloads
    0
    Uploads
    0

    Default 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

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #5
    Member HighSideNZ's Avatar
    Join Date
    Aug 2021
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default 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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Post processor editing

Post processor editing