BR549, Actually a script that I can assign to a button would work fine for me. I built this robot to develop interest in robots with my grandchildren. I would like to be able to move all 6 axis into a position, press a button to record that position and append it to a g-file. Then move to a new spot and do the same thing all over. I have tried the following scrip with some decent results.
X = CInt (GetDRO (0))
Y = CInt (GetDRO (1))
Z = CInt (GetDRO (2))
A = CInt (GetDRO (3))
B = CInt (GetDRO (4))
C = CInt (GetDRO (5))
Com = InputBox ("Add Comment")
AppendTeachFile "Robot.tap"
Code "X" & X & " Y" & Y & " Z" & Z & " A" & A & " B" & B & " C" & C & " //" & Com
call LoadTeachFile()
It is not my script and some parts didn't work properly. It only gets the dro numbers to the left of the decimal point. I tried a few changes but have never played with scripts before so have lots to learn. I added a picture to flickr and linked to it but I'm not sure I did it right. Here is the flicker address.
https://www.flickr.com/gp/134164577@N03/QP61xM Thanks, Rick
