# API Reference v10.3.1 (Python)

## AxisDefinition (data class)

Module: zaber_motion.gcode

Defines an axis of the translator.

To use this type, add `from zaber_motion.gcode import AxisDefinition` to the top of your source code.

### Properties

#### `peripheral_id`

`axis_definition.peripheral_id`

Type: `int`

ID of the peripheral.

#### `microstep_resolution` (optional)

`axis_definition.microstep_resolution`

Type: `Optional[int]`

Microstep resolution of the axis. Can be obtained by reading the resolution setting. Leave empty if the axis does not have the setting.
