neclib.devices.motor.cpz7204#

Aliases#

Motor

None

get_logger

Get logger instance which prints operation logs to console.

class CPZ7204[source]#

Bases: Motor

Pulse motion controller for NANTEN2 M4.

Notes

Configuration items for this device:

rsw_id{0, 1, …, 16} or {“0”, “1”, …, “9”, “A”, …, “F”}

Board identifier. This should be set to the same value as the rotary switch “RSW1” mounted on the side of the board. The board is shipped with default RSW1 setting of 0. This ID would be non-zero, when multiple PCI board of same model are mounted on a single FA (Factory Automation) controller.

See defaults setting file in neclib/defaults/config.toml.

Manufacturer: str = 'Interface'#
Model: str = 'CPZ7204'#
Identifier: ClassVar[Optional[str]] = 'rsw_id'#
set_step(position)[source]#

Drive to (maybe device-specific) absolute position.

Parameters:

position (str) –

Return type:

None

get_step()[source]#

Maybe device-specific absolute position.

Return type:

str

move(position)[source]#
Parameters:

position (str) –

Return type:

None

stop(mode)[source]#
Parameters:

mode (str) –

Return type:

None

finalize()[source]#
Return type:

None

set_speed(speed, axis)[source]#
Parameters:
  • speed (float) –

  • axis (str) –

Return type:

None

get_speed(axis)[source]#
Parameters:

axis (str) –

Return type:

Quantity