# Attocube ANC300 Motion Controller

class `pymeasure.instruments.attocube.anc300.``ANC300Controller`(host, axisnames, passwd, query_delay=0.05, **kwargs)

  Bases: `pymeasure.instruments.instrument.Instrument`

  Attocube ANC300 Piezo stage controller with several axes

  Parameters

    - host – host address of the instrument

    - axisnames – a list of axis names which will be used to create properties with these names

    - passwd – password for the attocube standard console

    - query_delay – delay between sending and reading (default 0.05 sec)

    - kwargs – Any valid key-word argument for TelnetAdapter

  property `controllerBoardVersion`

    Serial number of the controller board

  `ground_all`()

    Grounds all axis of the controller.

  `stop_all`()

    Stop all movements of the axis.

  property `version`

    Version number and instrument identification

class `pymeasure.instruments.attocube.anc300.``Axis`(controller, axis)

  Bases: `object`

  Represents a single open loop axis of the Attocube ANC350

  Parameters

    - axis – axis identifier, integer from 1 to 7

    - controller – ANC300Controller instance used for the communication

  property `capacity`

    Saved capacity value in nF of the axis.

  property `frequency`

    Frequency of the stepping motion in Hertz from 1 to 10000 Hz. This property can be set.

  `measure_capacity`()

    Obtains a new measurement of the capacity. The mode of the axis returns to ‘gnd’ after the measurement.

    Returns capacity

      the freshly measured capacity in nF.

  property `mode`

    Axis mode. This can be ‘gnd’, ‘inp’, ‘cap’, ‘stp’, ‘off’, ‘stp+’, ‘stp-‘. Available modes depend on the actual axis model

  `move`(steps, gnd=True)

    Move ‘steps’ steps in the direction given by the sign of the argument. This method will change the mode of the axis automatically and ground the axis on the end if ‘gnd’ is True. The method returns only when the movement is finished.

    Parameters

      - steps – finite integer value of steps to be performed. A positive sign corresponds to upwards steps, a negative sign to downwards steps.

      - gnd – bool, flag to decide if the axis should be grounded after completion of the movement

  property `offset_voltage`

    Offset voltage in Volts from 0 to 150 V. This property can be set.

  property `output_voltage`

    Output voltage in volts.

  property `pattern_down`

    step down pattern of the piezo drive. 256 values ranging from 0 to 255 representing the the sequence of output voltages within one step of the piezo drive. This property can be set, the set value needs to be an array with 256 integer values.

  property `pattern_up`

    step up pattern of the piezo drive. 256 values ranging from 0 to 255 representing the the sequence of output voltages within one step of the piezo drive. This property can be set, the set value needs to be an array with 256 integer values.

  property `serial_nr`

    Serial number of the axis

  property `stepd`

    Step downwards for N steps. Mode must be ‘stp’ and N must be positive.

  property `stepu`

    Step upwards for N steps. Mode must be ‘stp’ and N must be positive.

  `stop`()

    Stop any motion of the axis

  property `voltage`

    Amplitude of the stepping voltage in volts from 0 to 150 V. This property can be set.