Changing Motion Limits

From Wiki

Occasionally gantry robots are set up with custom axis lengths. For the standard XYZ of 2 and 3 axis gantries and external axes this is easy to do in iRC/CPRog. For other robot types (e.g. SCARAs) the motion limits must be changed manually in the Robot Configuration File.

Changing the XYZ Axis Lengths

Gantry axis configuration in iRC
  1. To change the X, Y or Z axis length open the gantry configuration in iRC: Click "File" -> "Configure Robot" -> "Gantry".
  2. In the first row enter the total length of the axis, end-to-end ignoring the carriage. This is used for the 3D visualization only and does not need to be precise.
  3. In the second row enter how far the carriage may move - i.e. the total axis length minus the length of the carriage.
  4. Click "Apply" and test your changes.


Changing the External Axis Lengths

External axis configuration in iRC

Standard gantries do not come with external axes but for completeness here is how to change their motion limits.

  1. Open the external axis configuration in iRC: Click "File" -> "Configure Project" -> "External Axis".
  2. Enter the motion limits min and max in mm (or degrees or user defined units). If you enter 0 for both the motion will be unlimited.
  3. Click "Apply" and test your changes.


Changing other Robot Axes

For other robot types there is no graphical configuration since generally axis limits should not be changed.

  1. Load the robot configuration file from the robot to your PC: In iRC click "File" -> "Access Remote Configuration", in section "Robot Configuration" click "Load...", save the configuration file somewhere.
  2. Load the file in a basic text editor like Notepad.
  3. Find the line starting with "<SoftwareMinMax" and change the minimum and maximum values (in mm or degrees) as desired.
  4. Save the file, then load it back to the robot via the "Write" button in the "Access Remote Configuration" section in iRC
  5. Open "File" -> "Shutdown and Restart", then click "Restart Software" to restart the robot control and reload the configuration. Alternatively you can turn off the power shortly.