Hello,
is it possible to send actual coordinates every ~0.5s to a PLC?
I tried so set up a new motion task for this but i guess this wont work..
Is there any kind of function or parameter that can monitor the coordinates?
best greetings
Hello,
is it possible to send actual coordinates every ~0.5s to a PLC?
I tried so set up a new motion task for this but i guess this wont work..
Is there any kind of function or parameter that can monitor the coordinates?
best greetings
Works better when using CRobT with an actual reference to Motion Task :#
t_actTarget_R:=CRobT(\TaskRef:=T_ROB_RID);
SetGO GO_x, Round((100*t_actTarget_R.trans.x)\Dec:=0);
SetGO GO_y, Round((100*t_actTarget_R.trans.y)\Dec:=0);
SetGO GO_z, Round((100*t_actTarget_R.trans.z)\Dec:=0);
Is a cleaner solution possible?
I don’t see anything wrong with that code.