Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

[Robcad][TCL] Access Instance Parameters

Hi,

 

is it possible to query instance parameters of a robot with a macrose-tcl-script? For example, Load datas, information on frames (if external) and so on.

4 REPLIES

Re: [Robcad][TCL] Access Instance Parameters

Hi.

 

Yes, generally you can do so.  You will need to use apGetProperty on the id of the robot.

 

Attached are 2 example programs that have been used in the field; as part of their process, they get or set information to a robot instance.

 

I think you can use the functions shown in them as a base for your own programs.

Re: [Robcad][TCL] Access Instance Parameters

Hi,

 

i know about the apGetProperty-method.

I meant if it is possible to access properties, that are usually defined in the teach pendant - for example Payload data.

 

Solution
Solution
Accepted by topic author MarkusH
‎09-04-2015 08:01 AM

Re: [Robcad][TCL] Access Instance Parameters

In this case, you would need to use apGetAttr on the robot instance. With the Attribute Editor, you can see the name of the attributes and their contents (but there is no documentation about how such information is stored).

Re: [Robcad][TCL] Access Instance Parameters

Hello,

 

thank you very much, Gilles!

It works now!