neclib.devices.motor.cpz2724#

Aliases#

Motor

None

get_logger

Get logger instance which prints operation logs to console.

class CPZ2724[source]#

Bases: Motor

Digital I/O board for membrane opener of NANTEN2.

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 = 'CPZ2724'#
Identifier: ClassVar[Optional[str]] = 'rsw_id'#
set_speed(speed, axis)[source]#
Parameters:
  • speed (float) –

  • axis (str) –

get_speed(axis)[source]#
Parameters:

axis (str) –

Return type:

float

antenna_move(speed, axis)[source]#
Parameters:
  • speed (int) –

  • axis (str) –

Return type:

None

antenna_stop()[source]#
antenna_status()[source]#
Return type:

dict[str, str]

set_step(step, axis)[source]#

Drive to (maybe device-specific) absolute position.

Parameters:
  • step (int) –

  • axis (str) –

Return type:

None

get_step(axis)[source]#

Maybe device-specific absolute position.

Parameters:

axis (str) –

Return type:

int

dome_move(speed, turn)[source]#
Parameters:
  • speed (str) –

  • turn (str) –

dome_oc(pos)[source]#
Parameters:

pos (str) –

Return type:

None

dome_stop()[source]#
Return type:

None

dome_pose()[source]#
Return type:

None

dome_fan(fan)[source]#
Parameters:

fan (str) –

Return type:

None

dome_status()[source]#
dome_limit_check()[source]#
memb_oc(pos)[source]#
Parameters:

pos (str) –

Return type:

None

memb_pose()[source]#
Return type:

None

memb_status()[source]#
Return type:

list[str, str]

m2_move(dist)[source]#
Parameters:

dist (int) –

m2_status()[source]#
Return type:

list

um_to_puls(dist, status)[source]#
Parameters:
  • dist (int) –

  • status (list[int]) –

Return type:

int

MoveIndexFF(puls)[source]#
Parameters:

puls (int) –

Strobe()[source]#
drive_move(pos)[source]#
Return type:

None

contactor_move(pos)[source]#
Return type:

None

drive_contactor_status()[source]#
Return type:

list[str, str]

finalize()[source]#
Return type:

None