writing tool offsets from within program


Results 1 to 10 of 10

Thread: writing tool offsets from within program

  1. #1
    Member
    Join Date
    Aug 2010
    Location
    canada
    Posts
    167
    Downloads
    0
    Uploads
    0

    Default writing tool offsets from within program

    id like to be able to write to my tool offset page from within a program, is this possible?

    i know this vvv works for writing to the work co-ords, but what about the tool offset page?

    VZOFX[11]=XX.XXX
    VZOFY[11]=YY.YYY
    VZOFZ[11]=ZZ.ZZZ
    VZOFA[11]=AA.AAA

    OSP200M controller

    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    310
    Downloads
    2
    Uploads
    0

    Default Re: writing tool offsets from within program

    These are read/write variables

    VTOFH=z.zzzz is for tool height
    VTOFD=d.dddd is for tool dia./ radius



  3. #3
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3206
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    hy, those shared by rcs are ok; check also these examples :
    ... vtofd [ 01 ] = 20 ( rad declaration for register 1 )
    ... vtofh [ 10 ] = 123 ( height declaration for register 10 )
    ... vacod, active wcs ( example : back-up of active wcs : vzof*[vacod+20]=vzof*[vacod] )
    ... reading active :
    ...... rad : vc* = vtofd [ vtlcn ]
    ...... height vc* = :
    ......... vtofh [ vtlcn ]
    ......... abs [ vwkaz - vwkbz ]
    ......... vtoht [ vtlcn , vhcod ]
    ... targeting 10mm away from maximum z, regardless of wcs : vpplz - vwkaz + vwkbz - 10 ( is ok for defining clearance positions, that are absolute, not relative to wcs; similar to home positions .... more precise, home positions are relative to a virtual wcs that has vzof*=0, but can not be activated by using G15 )

    id like to be able to write to my tool offset page from within a program, is this possible?
    so yes, it can be done, and may seem nice when you see that it works

    but is it worthy to skip tool setting, by using g-code for auto-initialization ? if you wish to describe what you wish to do, i may help you to speed it up; for example, considering that you have all offsets value inside a file ( sent to the machine through network ) , simply use a gui ( from machine screen ) to declare atc pots inside which you installed your new tools, and create a program to auto-initialie offset only for those; keystrokes example : open, 4 5 12 52, create, program-select, cycle-start; such a method can be used to corelate tool-presseting equipment with machine, even for equipment that is not calibrated for a machine ... there may be room for improvement, depending what are you after / kindly


    Last edited by deadlykitten; 09-03-2020 at 02:48 AM.
    the human body has enough iron to make a nail ... i can also make the hammer :) i mean a plastic hammer


  4. #4
    Member
    Join Date
    Aug 2010
    Location
    canada
    Posts
    167
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    i was mostly looking for a simple way for my operators to run some roughing passes, followed by a finishing pass on some simple parts.
    Was looking for an easy way for them to program something like this at the controller rather than using our CAM systems.
    this along with a nice, clean and simple sub routine call for the part profile will be just what i wanted. simple, clean, easy to read.



  5. #5
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3206
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    what about i-map ?

    the human body has enough iron to make a nail ... i can also make the hammer :) i mean a plastic hammer


  6. #6
    Member
    Join Date
    Aug 2010
    Location
    canada
    Posts
    167
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    Quote Originally Posted by deadlykitten View Post
    what about i-map ?
    we hate it, seems like more work to get it to do what we want than its worth.



  7. #7
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3206
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    yes, this is true all conversationals are a wonder at 1st glance, but after a while, when one gets used with them, may desire for more

    i have created a few codes, in order to speed up programing, being able to behave simple, or more complex

    i believe that you had been thinking about a simpler way

    is possible to reduce programing time for simple operations, using a pc conected to machines, or on-machine installed applications, or excel macros / kindly

    the human body has enough iron to make a nail ... i can also make the hammer :) i mean a plastic hammer


  8. #8
    Member
    Join Date
    Aug 2010
    Location
    canada
    Posts
    167
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    im not new to coding, but am new to this type of coding and its capabilities. is there a list somewhere of these types of functions?

    VTOFH
    VTOFD
    VZOFX
    ECT
    ECT
    ECT...

    i would like to do my own research and play with them, to gain a better understanding of how they work



  9. #9
    Member
    Join Date
    Aug 2010
    Location
    canada
    Posts
    167
    Downloads
    0
    Uploads
    0

    Default Re: writing tool offsets from within program

    nevermind, found them



  10. #10
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    310
    Downloads
    2
    Uploads
    0

    Default Re: writing tool offsets from within program

    I get the system variables from the back pages of a OKUMA osp200m instruction manual



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

writing tool offsets from within program

writing tool offsets from within program

writing tool offsets from within program