hello every one,
KSS 5.6.12
i want to:
1. reading coordinate in an special position (interrupt) by $POS_ACT that i renamed it "readed"
2. putting the Z readed coordinate to the E6POS
3. adding a fix value to the Z component of E6POS
4. going to the e6pos coordinate with desire Z in every cycle
Is it permissable to use E6POS and POS_ACT like below?
**************************************************
DEF test()
E6POS target
REAL readed
INI
.
.
.
PTP P3 Vel=100 % PDAT3 Tool[1] Base[0]
ptp $pos_act
readed=$pos_act
target={X 1230,Y 1200, readed.z, A 50, B 50, C 50}
LOOP
target.readed.z=target.readed.z+200
ptp target
ENDLOOP
END
***************************************************
thanks for any help