Results 1 to 4 of 4

Thread: Sinumeric Offset Value macro

  1. #1
    Registered
    Join Date
    Dec 2008
    Location
    INDIA
    Posts
    22
    Downloads
    0
    Uploads
    0

    Question Sinumeric Offset Value macro

    Can i access or put offset value in sunumeric 840's individual axis that is X, y , z offset from g54...g599 to any variable like R2...

    I am making a macro there i am stuck...


  2. #2
    Registered
    Join Date
    Jun 2008
    Location
    uk
    Posts
    3
    Downloads
    0
    Uploads
    0
    $P_UIFR[5]=CTRANS(X,-36.4, Y,225.25, Z,140.1, B,0);G505

    This will write the value X-36.4 Y225.25 Z140.1 B0 to work offset register
    G505


  3. #3
    Registered
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    2
    Downloads
    0
    Uploads
    0
    Original setting
    $P_UIFR[6] =CTRANS(X,0,Y,495.3,Z,0,B,0) ; G506

    After probing
    R92 = 2.5
    R93 = 0.5
    R94 = (495.3+R93)
    R95 = -0.5

    Original setting can be changed thus
    $P_UIFR[6] =CTRANS(X,R92,Y,R94,Z,R95,B,0)


    Or to put the adjusted values in the FINE offset & leave
    your Original setting intact, this way you can see the adjustment
    $P_UIFR[6,X,FI] = R92
    $P_UIFR[6,Y,FI] = R94
    $P_UIFR[6,Z,FI] = R95

    Tom


  4. #4
    Registered
    Join Date
    Dec 2008
    Location
    INDIA
    Posts
    22
    Downloads
    0
    Uploads
    0
    Thankyou TOM and mtak it was help full to me, and i have completed my macro for machine, now operators dont have to edit program, i am using empty offset to put variables, so that operator run same program that take variable from empty areas... Like mine Trans_6 etc...


Similar Threads

  1. Radius Offset and Length Offset
    By jim_stoll in forum Dolphin CADCAM
    Replies: 13
    Last Post: 10-14-2010, 08:47 PM
  2. Need Help!- tool offset macro
    By cnc-king in forum Fanuc
    Replies: 6
    Last Post: 09-21-2008, 11:43 PM
  3. macro program for work offset
    By cncwhiz in forum Fanuc
    Replies: 4
    Last Post: 12-14-2007, 07:28 AM
  4. Sinumeric
    By mr_electrician in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 4
    Last Post: 03-31-2007, 02:58 PM
  5. Macro for positive offset
    By qmas99 in forum General CAM Discussion
    Replies: 0
    Last Post: 02-11-2006, 10:37 PM

Tags for this Thread

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.