Hello,
You can use a routine:
PROC zero_robtarget(VAR robtarget p)
p.trans:=[0,0,0];
p.rot:=[1,0,0,0];
p.robconf:=[-1,0,0,0];
p.extax:=[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09];
ENDPROC
And you need use like this:
zero_robtarget(p10);
Hello,
You can use a routine:
PROC zero_robtarget(VAR robtarget p)
p.trans:=[0,0,0];
p.rot:=[1,0,0,0];
p.robconf:=[-1,0,0,0];
p.extax:=[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09];
ENDPROC
And you need use like this:
zero_robtarget(p10);
Hi everyone,
I want to address my I/O-s indirect in the RAPID program. I know that in the Fanuc environment I can easily address my I/O-s something like these:
GI[R[100]]. so if I change my register value to R[100]=5 it will refer to the GI[5] group input.
And in RAPID program i want something like this:
If I have I/O-s with this given name: gi_1,gi_2,gi_3,...gi_10
VAR num index
index:=1
gi_index
So with the index variable I can change the I/O number. Thank you for the help in advance.
Hi everyone,
I'm wondering if it is possible to map I/O-s in the RAPID program. I know I can modify cfg files with WriteCfgdata function, but is there a way to create new I/O-s in the program and not only in the configuration tab?
Thanks
I've already thought of this method to offset the workobject and then the points in the opposite direction, but i have circa 200 points, so it would be a lot of time. I defined the workobject in the wrong positon and I noticed that after i taught the points. So i need to move the work object in the right position, with the same points or define a new work object wit the same positons.
Hi everyone,
I have a question about work objects: Is it possible to copy one workobject points to an another workobject without Robotstudio or offset the existing workobject without modify the workobject points position?
Thank for the help.