Difference between revisions of "Changing Robot Parameters"

From Wiki
m (Redirected page to Robot Configuration File)
Tag: New redirect
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
CPRog uses different robot specific parameters, e.g. maximum allowable joint velocities or the minimum and maximum allowable joint motion. These parameter are defined in XML files and can be adapted to the specific needs.
+
#REDIRECT [[Robot Configuration File]]
 
 
[[file:caution.png|frameless|50px]]
 
'''!!!
 
Please be aware that changing these parameter might lead to collisions and other problems! Change the parameter with care and in small increments. Perform tests after the changes.
 
!!!'''
 
 
 
 
 
=Location of the parameter file=
 
 
 
The files containing the robot parameters are located in the robot directory in c:\CPRog\Data\Robots, e.g.:
 
C:\CPRog\Data\Robots\igus_5DOF_BV\igus_5DOF_BV.xml
 
To find out, which file you are using you can have a look at which file is referenced in your project file (see [[Robot Files and Project Files#Which project configuration file am I currently using?|Which project configuration file am I currently using?]]). To find out, which robot file you should be using based on your robot, have a look at [[Robot Files and Project Files]].
 
 
 
The robot file is written in XML format and can be opened with any text editor, such as [https://notepad-plus-plus.org/download Notepad++].
 
Changes take effect after changing the file and ''restarting CPRog''.
 
 
 
'''Attention: Use a dot "." as decimal separator, not a comma ","'''
 
(Who would normally want to use a comma as decimal separator? The answer is [https://en.wikipedia.org/wiki/Decimal_separator#Hindu%E2%80%93Arabic_numeral_system here]. Anyways. Use a ".")
 
 
 
=Joint velocity=
 
[[File:CPRog_RobotParameterFile.PNG|500px|thumb|Example robot-parameters-file]]
 
 
 
Line 37 in the image above with the tag "JointVelocities" defines the maximum rotational velocitiy of each joint in °/s.
 
 
 
* During manual jogging only 50% of this velocity is allowed. The full velocity is reached during replay with 100% in a program.
 
* When increasing the velocity, problems may occur:
 
** Overcurrent Error when the current consumption is too high.
 
** Position Lag Error when the joints PID controller cannot reach the set point commands fast enough
 
 
 
Using the [[Config Software ModuleCtrl]], it is possible to change the joint the module parameters, such as motor current.
 
 
 
=Joint min/max travel limits=
 
 
 
In line 36, the tag "SoftwareMinMax" defines the allowed motion ranges for the joints. It is not possible in CPRog to move the joint out of these (virtual) boundaries.
 
 
 
'''Note: When increasing these limits, collisions might occur that would have been prevented otherwise!'''
 
 
 
----
 
 
 
For questions or comments please [[Support Routes | get in contact with us]].
 
[[Category:CPRog]]
 

Latest revision as of 10:26, 16 August 2023