Results 1 to 4 of 4

Thread: Help with setting a parameter.

  1. #1
    Registered
    Join Date
    Sep 2009
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0

    Help with setting a parameter.

    We are cutting electrodes in a milltronics VM-20 and were wondering if there is a way to change a parameter for the Z height in the NC file? What we want to do is put the height of the electrode in this offset so it will lift all tools to the top of the electrode. Also, at the end of the NC file set this value back to zero. Any suggestions out there?

    Thanks,
    Matt


  2. #2
    Registered
    Join Date
    Jul 2004
    Location
    USA
    Posts
    96
    Downloads
    0
    Uploads
    0
    I don't know about inside the nc program, but you can change z work coord. on coord page.


  3. #3
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    10
    Downloads
    0
    Uploads
    0
    G52 Z# (to shift Z up/down)


  4. #4
    Registered
    Join Date
    Sep 2009
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0
    Thanks Tim,
    I will give this a try, at first glance it looks like ( in the controll ) it will work. I will try it once our machine it back up and running, bad motor bearing, but at first glance in a quick hand written program it looks like it works to me. Here is a small piece of code to see what I am trying to do.

    % ( VM-20 ELECTRODE NC FILE )
    ( SET TRODE HEIGHT )
    ( CHANGE 6.0000 TO WHAT THE TRODE HEIGHT IS)

    G52 Z 6.0000

    O0000
    (PROGRAM NAME - TEST)
    (DATE=DD-MM-YY - 05-10-09 TIME=HH:MM - 23:15)
    (MCX FILE - NEWFILE)
    (NC FILE - C:\DOCUMENTS AND SETTINGS\MATT\DESKTOP\TEST.NC)
    G32
    G20
    G0 G17 G40 G80 G90
    ( 1/2 BULL R.030 TOOL - 4 DIA. OFF. - 4 LEN. - 4 DIA. - .5 )
    T4 M6
    PB208=0
    PB81=2
    G0 G90 G54 X1.5473 Y-.39 S8500 M3
    G43 H4 Z.5 M37
    Z.1
    G1 Z0. F15.
    Y.11 F250.
    G3 X1.0473 Y.61 I-.5 J0.
    G1 X-1.4646
    G3 X-1.9646 Y.11 I0. J-.5
    G1 Y-.39
    Z.1 F500.
    G0 Z.5
    M5
    M9
    PB81=0
    G32
    G40
    G53 Y0

    G52 Z 0.0000 ( NOW SET G52 Z BACK TO ZERO )

    M30
    %%


    Thank again and I will re-post when I get a chance to test it.

    Matt
    Last edited by matt_773; 10-06-2009 at 12:12 AM.


Similar Threads

  1. CAPPS Parameter Setting?
    By xenginebuilder in forum Mori lathes
    Replies: 10
    Last Post: 04-25-2009, 10:37 AM
  2. parameter setting help
    By luis cuellar in forum Haas Mills
    Replies: 3
    Last Post: 07-18-2008, 12:39 AM
  3. Need HELP with chuck direction parameter setting
    By Eagle View in forum General Metalwork Discussion
    Replies: 0
    Last Post: 01-25-2008, 10:30 AM
  4. simens 840D system parameter setting
    By a_ravi_tn in forum G-Code Programing
    Replies: 0
    Last Post: 04-16-2007, 10:39 PM
  5. G76 Parameter setting
    By Gorrell in forum Fanuc
    Replies: 4
    Last Post: 01-29-2007, 03:21 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.