how to detect active post / turret index ?
Close
Login to Your Account
Likes Likes:  0
Results 1 to 11 of 11
  1. #1
    Join Date
    Aug 2016
    Country
    ALAND ISLANDS
    Posts
    1,393
    Post Thanks / Like
    Likes (Given)
    43
    Likes (Received)
    96

    Default how to detect active post / turret index ?

    hello please, is it possible to detect active turret position / index ? lb3000ex2, osp300

    is there a system variable for turret index ? or for turret angle ?

    are there signals for each post ?

    as shown in attached image ( auto > display change > axis data ) , RAPA for T axis shows active turret post; can i read this value ? kindly !
    Attached Thumbnails Attached Thumbnails copy-05-okm.png  

  2. #2
    Join Date
    Jun 2012
    Location
    Michigan
    Posts
    4,458
    Post Thanks / Like
    Likes (Given)
    4048
    Likes (Received)
    2634

    Default

    You should be able to use a variable

  3. #3
    Join Date
    Jun 2013
    Location
    Pennsylvania
    Posts
    17
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    10

    Default

    If you're looking for the active turret station number, try using the system variable VTIMN. I haven't tried it on a machine yet, but the manual description is "turret index number".


    Sent from my iPad using Tapatalk

  4. #4
    Join Date
    Aug 2016
    Country
    ALAND ISLANDS
    Posts
    1,393
    Post Thanks / Like
    Likes (Given)
    43
    Likes (Received)
    96

    Default

    Quote Originally Posted by Mtndew View Post
    You should be able to use a variable
    hy Mtndew what variable ?

    Quote Originally Posted by grdnanthy View Post
    If you're looking for the active turret station number, try using the system variable VTIMN. I haven't tried it on a machine yet, but the manual description is "turret index number"
    hy grdnanthy i just tried it : 2203-01 alarm-b program direct system variable

    like you said, manual describes it as "turret index number", but it may not be for my cnc ...

    thank you anyhow

    i tried before a lot of variables, as included in the folowing lists, including VTIMN, but no one worked :

    Code:
    V1=VASTP
    V1=VATAT
    V1=VATNO
    V1=VATNT
    V1=VAUXT
    V1=VBNCT
    V1=VCEJM
    V1=VCKRL
    V1=VCNGB
    V1=VDGID
    V1=VDGSL
    V1=VDGTP
    V1=VECWM
    V1=TN00
    V1=VETLP
    V1=VGINB
    V1=VGRA1
    V1=VGRA2
    V1=VGRAG
    V1=VGRD
    V1=VGRFB
    V1=VGRFN
    V1=VGRIB
    V1=VGRID
    V1=VGRIN
    V1=VGRL
    V1=VGRLF
    V1=VGRND
    V1=VGRNR
    V1=VGRPA
    V1=VGRPB
    V1=VGRSL
    V1=VGRTP
    V1=VIMPB
    V1=VKND1
    V1=VKND2
    V1=VMTTL
    V1=VMTTR
    V1=VNXTL
    V1=VRUST
    V1=VSHDR
    V1=VSSNO
    V1=VTAOR
    V1=VTIDA
    V1=VTIMN
    V1=VTINW
    V1=VTLGN
    V1=VTLIB
    V1=VTLPA
    V1=VTLPB
    V1=VTNUM
    V1=VTSPC
    V1=VTTLN
    V1=VXMAB
    V1=VXMAD
    V1=VXMBD
    V1=VXMPO
    V1=VXMTG
    Code:
    V1=VASTP[1]
    V1=VATAT[1]
    V1=VATNO[1]
    V1=VATNT[1]
    V1=VAUXT[1]
    V1=VBNCT[1]
    V1=VCEJM[1]
    V1=VCKRL[1]
    V1=VCNGB[1]
    V1=VDGID[1]
    V1=VDGSL[1]
    V1=VDGTP[1]
    V1=VECWM[1]
    V1=TN00[1]
    V1=VETLP[1]
    V1=VGINB[1]
    V1=VGRA1[1]
    V1=VGRA2[1]
    V1=VGRAG[1]
    V1=VGRD[1]
    V1=VGRFB[1]
    V1=VGRFN[1]
    V1=VGRIB[1]
    V1=VGRID[1]
    V1=VGRIN[1]
    V1=VGRL[1]
    V1=VGRLF[1]
    V1=VGRND[1]
    V1=VGRNR[1]
    V1=VGRPA[1]
    V1=VGRPB[1]
    V1=VGRSL[1]
    V1=VGRTP[1]
    V1=VIMPB[1]
    V1=VKND1[1]
    V1=VKND2[1]
    V1=VMTTL[1]
    V1=VMTTR[1]
    V1=VNXTL[1]
    V1=VRUST[1]
    V1=VSHDR[1]
    V1=VSSNO[1]
    V1=VTAOR[1]
    V1=VTIDA[1]
    V1=VTIMN[1]
    V1=VTINW[1]
    V1=VTLGN[1]
    V1=VTLIB[1]
    V1=VTLPA[1]
    V1=VTLPB[1]
    V1=VTNUM[1]
    V1=VTSPC[1]
    V1=VTTLN[1]
    V1=VXMAB[1]
    V1=VXMAD[1]
    V1=VXMBD[1]
    V1=VXMPO[1]
    V1=VXMTG[1]

  5. #5
    Join Date
    Jun 2012
    Location
    Michigan
    Posts
    4,458
    Post Thanks / Like
    Likes (Given)
    4048
    Likes (Received)
    2634

    Default

    How are you using it? And what do you want to accomplish?
    V1=VTIMN
    V1=V1+330.149

    I haven't used variables in a long time, so I might be a little rusty.

  6. #6
    Join Date
    Aug 2016
    Country
    ALAND ISLANDS
    Posts
    1,393
    Post Thanks / Like
    Likes (Given)
    43
    Likes (Received)
    96

    Default

    i need this to avoid M203 if turret is where it should

  7. #7
    Join Date
    Jun 2012
    Location
    Michigan
    Posts
    4,458
    Post Thanks / Like
    Likes (Given)
    4048
    Likes (Received)
    2634

    Default

    Could you use an IF/THEN statement to do what you want?
    IF VTIMN EQ (whatever you want here) GOTO N100
    IF VTIMN NE (whatever you want here) GOTO N200
    N100 M203
    N200 (program)

  8. #8
    Join Date
    Aug 2016
    Country
    ALAND ISLANDS
    Posts
    1,393
    Post Thanks / Like
    Likes (Given)
    43
    Likes (Received)
    96

    Default

    sunshine, VTIMN does not work on my cnc

  9. #9
    Join Date
    Jun 2012
    Location
    Michigan
    Posts
    4,458
    Post Thanks / Like
    Likes (Given)
    4048
    Likes (Received)
    2634

    Default

    Quote Originally Posted by deadlykitten View Post
    sunshine, VTIMN does not work on my cnc
    I'd call your local tech support for Okuma and ask them which variable to use for that.

  10. #10
    Join Date
    Apr 2015
    Country
    CANADA
    State/Province
    British Columbia
    Posts
    48
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    10

    Default

    Use VETLN to track the active tool number and VETON to track the current tool offset.

  11. #11
    Join Date
    Aug 2016
    Country
    ALAND ISLANDS
    Posts
    1,393
    Post Thanks / Like
    Likes (Given)
    43
    Likes (Received)
    96

    Default

    Use VETLN to track the active tool number and VETON to track the current tool offset
    hy i would like to read turret index / post / angle / something without tool corections; just like after a reset

    those variables work after a T comand; i need to read before the T comand / kindly !


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •