# API Reference v10.3.1 (Python)

## Response (data class)

Module: zaber_motion.ascii

Response message from the device.

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

### Properties

#### `device_address`

`response.device_address`

Type: `int`

Number of the device that sent the message.

#### `axis_number`

`response.axis_number`

Type: `int`

Number of the axis which the response applies to. Zero denotes device scope.

#### `reply_flag`

`response.reply_flag`

Type: `str`

The reply flag indicates if the request was accepted (OK) or rejected (RJ). Does not apply to info messages.

#### `status`

`response.status`

Type: `str`

The device status contains BUSY when the axis is moving and IDLE otherwise. Does not apply to info messages.

#### `warning_flag`

`response.warning_flag`

Type: `str`

The warning flag contains the highest priority warning currently active for the device or axis. Does not apply to info messages.

#### `data`

`response.data`

Type: `str`

Response data which varies depending on the request.

#### `message_type`

`response.message_type`

Type: [`MessageType`](https://software.zaber.com/motion-library/api/py/ascii/messagetype.md)

Type of the response received (only Reply or Info).
