The nw_esp301 module¶
Module for Newport ESP301 motion controllers.
API¶
-
cmd_nw_esp301.
init_nw_esp301
(nw_esp301_id, conf_string)[source]¶ Initialize NW_ESP301 motion controller.
conf_string must contain:
- bus: conf_string of the underlying link module
- chan: 1, 2 or 3 for the channel of the axis
-
cmd_nw_esp301.
deinit_nw_esp301
(nw_esp301_id)[source]¶ Deinitialize and deregister nw_esp301 motion controller from the pool.
-
cmd_nw_esp301.
config_nw_esp301
(nw_esp301_id, pos_max, pos_min)[source]¶ Configure nw_esp301_id axis. pos_max and pos_min define the limits of excursion.
-
cmd_nw_esp301.
home_nw_esp301
(nw_esp301_id, direction, velocity)[source]¶ Reset axis nw_esp301_id by homing on direction at velocity.
-
cmd_nw_esp301.
reset_nw_esp301
(nw_esp301_id)[source]¶ Reset the controller of nw_esp301_id, not just the axis
-
cmd_nw_esp301.
go_min_nw_esp301
(nw_esp301_id, velocity, acceleration)[source]¶ Go to the minimum position as defined during the initalization of the axis
-
cmd_nw_esp301.
go_max_nw_esp301
(nw_esp301_id, velocity, acceleration)[source]¶ Go to the maximum position as defined during the initalization of the axis
-
cmd_nw_esp301.
move_nw_esp301
(nw_esp301_id, displacement, velocity, acceleration)[source]¶ Move by displacement units with the specified maximum velocity