help with gcodes


Results 1 to 6 of 6

Thread: help with gcodes

  1. #1
    Gold Member
    Join Date
    Jun 2003
    Posts
    2103
    Downloads
    0
    Uploads
    0

    Default help with gcodes

    I am almost ready to move into full gcode programming and I am sure I will need some help. The only experience I have with gcodes is G00, G01, G02 and G03. That is all my machine was able to use. I have down loaded the beta of Mach2 which is limited to 1000 lines. Due to the limited nature of my gcode files I can't get any of them to run. Is it because there needs to be specific info in the first few lines i.e., absolute or incremental, toof offset, tool length comp, etc. As you can tell I have a lot of work to do but any help would be appreciated.

    If some one has a sample hundred line file that I could run that would be appreciated and I could see how it is set up. TIA

    turmite

    Similar Threads:
    No greater love can a man have than this, that he give his life for a friend.


  2. #2
    Registered
    Join Date
    Sep 2003
    Location
    TULSA, OK
    Posts
    33
    Downloads
    0
    Uploads
    0

    Default

    G40-Cutter comp cancel
    G41-Cutter comp left
    G42-Cutter comp right
    G50-Programming of absolute zero point
    G90-Absolute programming
    G96-Constant Surface Speed On "CSS"
    G97-CSS Off
    G92-Thread Cycle
    G81-Drilling cycle
    G80-Drilling cycle Off

    These may help you a little bit but I can't guarentee it.

    ex...of facing a part off on a HAAS CNC Lathe

    G50 S1000
    G96 S500 M03 T0101
    G00 X1.0 Z0.1
    G00 Z0.0
    G01 X-.032F.012
    G00 Z0.1
    M09
    M28
    M01



  3. #3
    Gold Member
    Join Date
    Jun 2003
    Posts
    2103
    Downloads
    0
    Uploads
    0

    Default

    Thanks Machine1. I did forget to include it is a router ie a milling machine program. Oops, I almost forgot. I am doing wood so I won't need coolant. I hope to use that for some other feature.

    Thanks again.
    turmite

    No greater love can a man have than this, that he give his life for a friend.


  4. #4
    Registered tpworks's Avatar
    Join Date
    Nov 2003
    Location
    United States
    Posts
    244
    Downloads
    0
    Uploads
    0

    Default

    Here is the code for a plaque that I made for a friend with my homemade router, I created it from .dxf file from turbocad using Deskam 2000, hope it helps.

    (Created 1:03:57 PM 7/12/03 from paulh)
    (Post = ISO G-Code)
    (Tool 1 = 1/8 mill)
    N0001 T1 M06
    N0002 G00 X0.0000 Y0.0000 Z0.2500
    N0003 X5.0832 Y3.1120
    N0004 G01 Z-0.1250 F8.00
    N0005 X4.5189 Y3.1737 F22.00
    N0006 X5.0146 Y3.4459
    N0007 X4.4563 Y3.2863
    N0008 X4.8130 Y3.7171
    N0009 X4.3788 Y3.3784
    N0010 X4.5407 Y3.9188
    N0011 X4.2616 Y3.4273
    N0012 X4.1960 Y3.9834
    N0013 X4.1344 Y3.4273
    N0014 X3.8582 Y3.9159
    N0015 X4.0162 Y3.3784
    N0016 X3.5731 Y3.7269
    N0017 X3.9268 Y3.2893
    N0018 X3.3804 Y3.4459
    N0019 X3.8771 Y3.1737
    N0020 X3.3128 Y3.1120
    N0021 X3.8771
    N0022 X3.8838 Y3.1390
    N0023 X3.8925 Y3.1649
    N0024 X3.9034 Y3.1896
    N0025 X3.9163 Y3.2133
    N0026 X3.9313 Y3.2357
    N0027 X3.9484 Y3.2570
    N0028 X3.9674 Y3.2772
    N0029 X3.9884 Y3.2961
    N0030 X4.0109 Y3.3133
    N0031 X4.0347 Y3.3281
    N0032 X4.0594 Y3.3405
    N0033 X4.0851 Y3.3507
    N0034 X4.1117 Y3.3585
    N0035 X4.1391 Y3.3641
    N0036 X4.1672 Y3.3675
    N0037 X4.1960 Y3.3686
    N0038 X4.2248 Y3.3675
    N0039 X4.2529 Y3.3641
    N0040 X4.2803 Y3.3585
    N0041 X4.3069 Y3.3507
    N0042 X4.3326 Y3.3405
    N0043 X4.3574 Y3.3281
    N0044 X4.3811 Y3.3133
    N0045 X4.4036 Y3.2961
    N0046 X4.4251 Y3.2772
    N0047 X4.4446 Y3.2570
    N0048 X4.4621 Y3.2357
    N0049 X4.4777 Y3.2133
    N0050 X4.4912 Y3.1896
    N0051 X4.5026 Y3.1649
    N0052 X4.5118 Y3.1390
    N0053 X4.5189 Y3.1120
    N0054 X5.0832
    N0055 G00 Z0.2500
    N0056 X0.5440 Y3.0670
    N0057 G01 Z-0.1250 F8.00
    N0058 X7.8520 F22.00
    N0059 Y3.1120
    N0060 X5.4369
    N0061 X4.6461 Y3.1982
    N0062 X5.3465 Y3.5830
    N0063 X4.5745 Y3.3627
    N0064 X5.0733 Y3.9736
    N0065 X4.4533 Y3.4880
    N0066 X4.6709 Y4.2400
    N0067 X4.2864 Y3.5556
    N0068 X4.1960 Y4.3320
    N0069 X4.1096 Y3.5556
    N0070 X3.7221 Y4.2400
    N0071 X3.9417 Y3.4880
    N0072 X3.3277 Y3.9648
    N0073 X3.8215 Y3.3598
    N0074 X3.0485 Y3.5830
    N0075 X3.7470 Y3.1982
    N0076 X2.9591 Y3.1120
    N0077 X0.5440
    N0078 Y3.0670
    N0079 G00 Z0.2500
    G00 X0.0000 Y0.0000
    G00 Z1.0000
    M02

    ...He who makes no mistakes makes nothing! ...
    Tom


  5. #5
    Registered
    Join Date
    Oct 2003
    Location
    USA
    Posts
    263
    Downloads
    0
    Uploads
    0

    Default

    At this link you can get a free editor/backplotter with documentation and tutorial designed for students who are learning manual (gcode) programming.

    http://www.betatechnical.com

    Software For Metalworking
    http://closetolerancesoftware.com


  6. #6
    Gold Member
    Join Date
    Jun 2003
    Posts
    2103
    Downloads
    0
    Uploads
    0

    Default

    Thanks guys. I actually contacted Art and even though I had read the manual 3 times I didn't have my config set up properly. I have used simple gcodes for several yrs but with the addition of Mach2 I will also have to learn all the codes as well as the M codes.

    turmite

    No greater love can a man have than this, that he give his life for a friend.


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

help with gcodes

help with gcodes