Gantry Component

Example of what a multi-axis robot gantry looks like as a black and white illustration of an XX YY mechanical gantry.

The gantry component provides an API for coordinated control of one or more linear actuators.

If you have a physical gantry, that is a mechanical system of linear actuators used to hold and position an end effector, use a gantry component.

A 3D printer is an example of a three-axis gantry where each linear actuator can move the print head along one axis.

Gantry components can only be controlled in terms of linear motion (you cannot rotate them). Each gantry can only move in one axis within the limits of the length of the linear rail.

Configuration

To use a gantry, you need to add it to your machine’s configuration. Go to your machine’s CONFIGURE page, and add a model that supports your gantry.

The following list shows the available gantry models. For additional configuration information, click on the model name:

Model
Description

API

The gantry API supports the following methods:

Method NameDescription
GetPositionGet the current positions of the axis of the gantry (mm).
MoveToPositionMove the axes of the gantry to the desired positions (mm) at the requested speeds (mm/sec).
GetLengthsGet the lengths of the axes of the gantry (mm).
HomeRun the homing sequence of the gantry to re-calibrate the axes with respect to the limit switches.
IsMovingGet if the gantry is currently moving.
StopStop all motion of the gantry.
ReconfigureReconfigure this resource.
DoCommandExecute model-specific commands that are not otherwise defined by the component API.
GetResourceNameGet the ResourceName for this gantry with the given name.
CloseSafely shut down the resource and prevent further use.

Troubleshooting

If your gantry is not working as expected, follow these steps:

  1. Check your machine logs on the LOGS tab to check for errors.
  2. Review your gantry model’s documentation to ensure you have configured all required attributes.
  3. Click on the TEST panel on the CONFIGURE or CONTROL tab and test if you can use the gamtry there.

If none of these steps work, reach out to us on the Community Discord and we will be happy to help.

Next steps

For general configuration and development info, see:

You can also use the gantry component with the following services: