mahos.inst.positioner.Suruga_DS102#
- class mahos.inst.positioner.Suruga_DS102(name, conf=None, prefix=None)#
Instrument for Suruga DS102 stepping motor controller.
- Parameters:
axis (int) – (default: 1) Axis identifier to control.
homed (bool) – (default: False) Since the controller don’t memorize whether homing (zeroing) has been performed, this class assumes non-homed initial state by default. By setting this True, already-homed state is assumed on start. Be careful setting this True because the position won’t be reproduced if the controller hasn’t actually performed zeroing yet.
range (tuple[float, float]) – (required) travel range. (lower, upper) bounds of the position.
- __init__(name, conf=None, prefix=None)#
Methods
__init__
(name[, conf, prefix])configure
(params[, label])Configure the instrument settings.
get
(key[, args, label])Get an instrument setting or measurement data.
get_all
()Get all important info about this device packed in a dict.
get_param_dict
([label])Get ParamDict for label.
get_param_dict_labels
()Get list of available ParamDict labels.
get_pos
()get_range
()get_status
()get_target
()home
()is_homed
()is_moving
()move
(pos)reset
([label])Perform homing of this device.
set
(key[, value, label])Set an instrument setting or commanding value.
stop
([label])Stop motion of this device.