G Code Problem

Results 1 to 5 of 5

Thread: G Code Problem

  1. #1
    Registered
    Join Date
    Mar 2017
    Location
    Sri Lanka
    Posts
    9
    Downloads
    0
    Uploads
    0

    Post G Code Problem

    Hi,

    I have a rectangular shape job with 4.5" x 1.3" dimension. And need to face it down with 0.25".
    Face mill diameter is 50mm. (1.968")
    RPM = 1000
    Feed = 20ipm
    Tool No. = 15
    Work Offset = 54
    Z feed = 0.06"
    No of passes = 1 pass

    Following is the program I made. But when it loaded to the machine (HAAS VF2) it shows a code error alarm.

    %


    T15 M06
    G00 G90 G54 X-1.02 Y0.
    S1000 M03
    G43 H15 Z1. M08
    G01 Z-0.25 0.06
    G01 X6.54 F20.


    G00 Z1. M09
    G28 G91 Z0 M05
    M30


    %

    Red colour line indicates as the line with problem. Pls help me to solwe this.

    Similar Threads:


  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: G Code Problem

    I think it should read like this

    %



    T15 M06
    G00 G90 G54 X-1.02 Y0.
    S1000 M03
    G43 H15 Z1. M08
    G01 Z-0.25 F0.06
    G01 X6.54 F20.


    G00 Z1. M09
    G28 G91 Z0 M05
    M30


    %



  3. #3
    Registered
    Join Date
    Mar 2017
    Location
    Sri Lanka
    Posts
    9
    Downloads
    0
    Uploads
    0

    Default Re: G Code Problem

    Actually 0.06" is the Z depth for a pass.



  4. #4
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: G Code Problem

    Ahhh In that case, unless Hass G code is different than any other I have seen then

    %


    T15 M06
    G00 G90 G54 X-1.02 Y0.
    S1000 M03
    G43 H15 Z1. M08
    G00 Z0.01
    G01 Z-0.06
    G01 X6.54 F20.
    G00 Z0.01
    G00 X-1.02
    G00 Z-0.05
    G01 Z-0.12
    G01 X6.54
    ..........

    ...........

    ...........
    G00 Z1. M09
    G28 G91 Z0 M05
    M30


    %



  5. #5
    Registered
    Join Date
    Mar 2017
    Location
    Sri Lanka
    Posts
    9
    Downloads
    0
    Uploads
    0

    Default Re: G Code Problem

    Thank you



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

G Code Problem

G Code Problem