Difference between revisions of "Changing Robot Parameters"

From Wiki
m (Redirected page to Robot Configuration File)
Tag: New redirect
 
(22 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=
 
 
 
[[File:CPRog_RobotParameterFile.PNG|500px|thumb|Example robot-parameters-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 ","'''
 
(Why would anyone want to use a comma as decimal separator anyway? The answer is [https://en.wikipedia.org/wiki/Decimal_separator#Hindu%E2%80%93Arabic_numeral_system here].)
 
<br clear=all>
 
 
 
----
 
 
 
'''2. Joint velocity'''
 
 
 
Line 37 with the tag "JointVelocities" defines the maximum rotational velocitiy of each joint in °/s.
 
 
 
Pay attention to:
 
* 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
 
 
 
With the [[Config Software ModuleCtrl]] it is possible to adapt the joint modules parameter, either to set them higher, or to disable the error by setting to zero.
 
 
 
 
 
 
 
----
 
 
 
'''3. Joint min/max travel limits'''
 
 
 
Line 36 with the tag "SoftwareMinMax" defines the allowed motion ranges for the joints. It is not possible in CPRog to move the joint out of these limits.
 
 
 
Pay attention to:
 
* When increasing these limits collisions might occur that have been prevented before!
 
 
 
 
 
 
 
 
 
 
 
----
 
 
 
For questions or comments please [[Support Routes | get in contact with us]].
 
[[Category:CPRog]]
 

Latest revision as of 11:26, 16 August 2023