What's new
What's new

how to detect active post / turret index ?

deadlykitten

Banned
Joined
Aug 5, 2016
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 !
 

Attachments

  • Copy of 05 okm.PNG
    Copy of 05 okm.PNG
    3.7 KB · Views: 150
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
 
You should be able to use a variable

hy Mtndew :) what variable ?

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]
 
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.
 
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)
 
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 !
 








 
Back
Top