585,996 active members*
4,856 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > pls, need some variable
Results 1 to 11 of 11
  1. #1
    Join Date
    Jun 2015
    Posts
    4154

    Question pls, need some variable

    Hy, please for lb3000, i need variable to read compensation radius on X and Z axis, event if they are the same.:drowning:

  2. #2
    Join Date
    Jun 2008
    Posts
    372

    Re: pls, need some variable

    Try these

    VNSRX X-axis nose radius compensation amount VNSRX[12] = 0.020
    VNSRZ Z-axis nose radius compensation amount VNSRZ[12] = 0.020

  3. #3
    Join Date
    Jun 2015
    Posts
    4154

    Re: pls, need some variable

    hello, thx 4 answer ... please, i need it a bit different

    For example, if i have in code T020202, i dont want to call vnsrx[02], but simple vnsrx ...
    So, i need to read the radius compensation for the tool that is active, without pointing to that tool again.

    T020202
    ...
    do something with vnsrx[02]

    i change after a while the tool, so i will need to modify the program in 2 places :

    T030303 ( modify )
    ...
    do something with vnsrx[03] ( modify )

    i would like to modify only the tool, so to make only one modification :

    T030303 ( modify )
    ...
    do something with vnsrx - should work automatically for the active tool


    maybe is possible ....

  4. #4
    Join Date
    Feb 2005
    Posts
    303

    Re: pls, need some variable

    VATOL is the tool currently in the spindle, so how about:

    VNSRX[VATOL]

  5. #5
    Join Date
    Jun 2015
    Posts
    4154

    Re: pls, need some variable

    hi, vatol is not working ... i have osp-p300L ...

  6. #6
    Join Date
    Feb 2005
    Posts
    303

    Re: pls, need some variable

    Sorry, my bad... turning centers use VETLN rather than VATOL.

  7. #7
    Join Date
    Jun 2015
    Posts
    4154

    Re: pls, need some variable

    k, i'll try it tomorow ... also, vatol should work on mills ?

  8. #8
    Join Date
    Feb 2005
    Posts
    303

    Re: pls, need some variable

    VATOL is the tool number that is currently in the spindle on mills... a word of caution, VATOL contains the tool number from the most-recently completed tool change. 99% of the time, that should be the tool currently in the spindle.

  9. #9
    Join Date
    Jun 2015
    Posts
    4154

    Re: pls, need some variable

    thank you, it worked

    * what case is 1% ?

  10. #10
    Join Date
    Feb 2005
    Posts
    303

    Re: pls, need some variable

    Glad it worked!

    If the power drops out during a tool change, then the variable may still contain the previous tool number, and of course, manually changing a tool.

  11. #11
    Join Date
    Jun 2015
    Posts
    4154

    Re: pls, need some variable

    thank you

Similar Threads

  1. Variable zero
    By Dave Elliot in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 05-28-2010, 10:38 AM
  2. Variable
    By cncboy1 in forum Okuma
    Replies: 4
    Last Post: 10-30-2009, 04:23 PM
  3. Variable changes
    By TNorbut in forum Controller & Computer Solutions
    Replies: 0
    Last Post: 07-23-2008, 01:16 PM
  4. EMC2 variable pitch / variable diameter threading.
    By samco in forum MetalWork Discussion
    Replies: 0
    Last Post: 03-09-2008, 07:40 PM
  5. IF variable = bla THEN do this ELSE do that ?
    By iMisspell in forum G-Code Programing
    Replies: 21
    Last Post: 07-31-2006, 04:57 AM

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
  •