Hello everyone ; )
I am a beginner in Robot Studio, because of COVID19 I found that the software now can be download for free so I really enjoy to play with it and create stuff. ; ) Previously I have experience with Fanuc CNC.
I like the interface of Robot Studio, but I do prefer to create programs by hand. So for all my programs until now I use only Rapid Editor. /Quartenons, XYZ coordinates /
The problem currently I am trying to solve is why rotation around X axes is difficult to make? Are there specific commands to control only one axis independently from others with rapid code and how? Is it depend on the tool that you’re using?
Here for example is my simple program of a square in which the head should rotate in 45 deg. angle. It always stops at the end of the line. I don’t have a notification for singularity.
What I would like to keep as constant is MoveL command, 45 deg rotation around X axes.
The robot I am using is IRB24000 12.5 kg.
MODULE Module1
LOCAL PERS tooldata rdktool[TRUE,[[126.616,0.079,183.273],[0.707106195,-0.001493302,0.707105791,0]],[2,[28.725,-34.208,130.111],[1,0,0,0],0,0,0]];
TASK PERS wobjdata Workobject_1:=[FALSE,TRUE,“”,[[1200,-50,900],[1,0,0,0]],[[0,0,0],[1,0,0,0]]];
PROC main()
ConfL \Off;
SingArea\LockAxis4;
MoveL [[-100,-100,100],[0.360597,0,0.932722,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1; ! normal problem
MoveL [[-50,-100,150],[0.360597,0,0.932722,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[-50,-100,150],[0.382683,-0.92388,0,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[50,-100,150],[0.382683,-0.92388,0,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1; ! head kink
MoveL [[50,-100,150],[0.382683,0,-0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1; ! head kink
MoveL [[100,-100,100],[0.382683,0,-0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[100,100,100],[0.382683,0,-0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[0,100,200],[0.382683,0,-0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[0,100,200],[0.382683,0,0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1; ! head kink
MoveL [[-100,100,100],[0.382683,0,0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
MoveL [[-100,-100,100],[0.382683,0,0.92388,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v20,Z0,rdktool\WObj:=Workobject_1;
ENDPROC
ENDMODULE
My name is Tanique, I am a girl from Slovakia : ))
If someone would like to give advice or help with my little program I would be happy.
Thank u ![]()



