Need Automatic Wear Offset - Page 2


Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: Need Automatic Wear Offset

  1. #21
    Member
    Join Date
    May 2018
    Location
    United States
    Posts
    74
    Downloads
    0
    Uploads
    0

    Default Re: Need Automatic Wear Offset

    Found one with osp 300sSystem variable is VDTWX, VDTWZVDTWX[##$$%%%%]What is the difference of tool position number and tool number?
    Quote Originally Posted by deadlykitten View Post
    hi ... in tool register 1 input X_wear = whatever ( -0.345 )... go MDI : V1 = VTWOX [ 1 ] : if V1 will be -0.345, than the control suports the system variableon osp300 this should work; check this out :1) osp 300 SPECIAL FUNCTIONS MANUAL54-4. System variableTool wear compensation amount can be set or read using system variables.VTWOX[n,m] ...X-axisVTWOZ[n,m] ...Z-axisn: Tool number (1 to 9999)m: Tool attitude number (1 to 20)2) osp300 PROGRAMMING MANUAL : VTWOX Tool wear amount in X-axisdiscuss it with your okuma dealer




  2. #22
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    4131
    Downloads
    0
    Uploads
    0

    Default Re: Need Automatic Wear Offset

    VTWOX is the wear system variable, used with classical T commands and TL commands

    VDTWX seems to be the wear sys var for TD comands

    ...i have no clue about the differences between T TD & TL; asking inside the okuma forum may provide some clue

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


  3. #23
    Member Sash3K's Avatar
    Join Date
    Mar 2019
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Need Automatic Wear Offset

    Hi everybody,

    this is my program block:

    Fanuc Model D /i-Mate
    Series oi-TF

    N4
    T0404(finish cut)
    G54
    G28W0
    M533B16000
    M103S1000

    G0X-33.0
    G0Z2M307
    G1Z1F200
    G41
    G1Z-4.0
    G1X-35F1
    G4X4
    G1Z-2.73,C0.1
    G1X-36
    G4X4
    G1Z-1.61,C0.1
    G1X-37.1
    G4X4
    G1Z-1.15,C0.1
    G1X-40.70
    G4X4
    G1Z0,C0.15
    G1X-41.3Z0.2

    M535
    M309
    G40
    G28W0
    G18G90G94G97

    M1


    I want to do a series of 5 pieces and I need an automatic wear compensation because the diameter is getting smaller when my workpiece is getting shorter.
    I can do a sub program with the compensation, but how can I reset the compensation after the 5 pieces?

    So in words
    Compensate every piece by -0.01mm
    After 5 pieces reset to 0

    I am very apreciatet to any suggestion.

    Greetings

    Sascha



  4. #24
    Member narayana_gujiri's Avatar
    Join Date
    Jul 2020
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Need Automatic Wear Offset

    Tried as per below but auto correction is not working , any idea ? where am i wrong, thanks in advance

    O1000
    (MAIN PROGRAM)
    ...
    ...
    M98 P100
    M30
    %

    O100
    #100 = #100 + 1
    IF[#100 LT 50] GOTO99
    G10 P6 U.0001
    #100 = 1
    N99
    M99
    %



  5. #25
    Member
    Join Date
    May 2007
    Location
    USA
    Posts
    1003
    Downloads
    0
    Uploads
    0

    Default Re: Need Automatic Wear Offset

    Quote Originally Posted by p8md View Post
    So... If I can take an educated guess that the ID cutter (Tool #2) wears .00005 EVERY part (wear in X), then I don't have to do the counter and IF statement, correct?

    All I would need is #2002=[#2002+.00005] at the end of the program.

    Is this all I need?

    Thanks again,
    Mark
    This kind of statement does not need brackets. I'm glad I came cross this thread. I use Macro B a lot. Many years ago I used G10 to keep track of daily parts made and total parts made for each job. However, I quit doing that a long time ago because the operators never paid attention to the quantities.

    Can't think of a part ATM where automatically adding or subtracting from the offset would be beneficial, but I know it has happened before and it is something good to know should I run into such a case again.

    I am a little leery about using MDI to see if it works if I don't know where the number is that is being changed. I don't know if these values are in Sinha's book.

    I think #1-#33 are cleared at every M1, M0, M99 or M30 but not positive about this. I believe some of our older Fanuc controls had one or two parameters that had to be changed so that #100-#149 values stayed active until the lathe was shut off.

    Last edited by g-codeguy; 10-21-2022 at 10:54 PM.


Page 2 of 2 FirstFirst 12

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

Need Automatic Wear Offset

Need Automatic Wear Offset