huber
borealis.controller.huber
Huber controller SMC.
Created on Tue Jan 10 21:17:12 2023.
@author: A. Vancraeyenest
HuberSMC(ip_address, port=1234, alias='')
Bases: Controller
Class to communicate with Huber controller.
Initialise the connection to the device.
Source code in borealis/controller/huber.py
20 21 22 23 24 25 26 27 28 29 | |
clean_axis_error(axis_id)
Clean axis related errors.
Source code in borealis/controller/huber.py
99 100 101 102 103 | |
decode_axis_position(pos_msg)
staticmethod
Decode single axis position message.
Source code in borealis/controller/huber.py
111 112 113 114 115 | |
decode_axis_status(sta_msg)
staticmethod
Decode single axis status message.
Source code in borealis/controller/huber.py
117 118 119 120 121 122 123 124 125 126 127 128 129 | |
get_axis_error(axis_id)
Get error message from a given axis.
Source code in borealis/controller/huber.py
90 91 92 93 94 95 96 97 | |
get_axis_position(axis_id)
Get the dial position for a single axis.
Source code in borealis/controller/huber.py
39 40 41 42 43 | |
is_axis_ready(axis_id)
Check that a given axis is ready (idle).
Source code in borealis/controller/huber.py
45 46 47 48 49 50 51 52 53 54 | |
is_limit_switch_activated(axis_id)
Check if limit switch is active for a given axis.
Source code in borealis/controller/huber.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
move_axis(axis_id, target=0)
Move a single axis to a target position.
Source code in borealis/controller/huber.py
32 33 34 35 36 37 | |
set_axis_to_zero(axis_id)
Set axis position to 0.
Source code in borealis/controller/huber.py
72 73 74 75 76 | |