You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Install the Python Package **requirementsDocuBuild.txt** from [itom](https://git
14
14
Update Plugin-Doc
15
15
-----------------
16
16
17
-
* Run script: ``../mainsite_hidden/update_plugindoc_source_plugins.py``. Skript will ask you for a folder. Select the ``itom/source`` folder. Script will update exsiting plugin's ``*.rst`` files.
17
+
* Run script: ``../mainsite_hidden/update_plugindoc_source_plugins.py``. Skript will ask you for a folder. Select the ``itomProject/plugins`` folder. Script will update exsiting plugin's ``*.rst`` files.
18
18
* Run Script: ``../mainsite_hidden/create_plugin_documentation.py``. This creates the plugin docu for the website.
@@ -22,9 +22,9 @@ The plugin implements the Motioncontroller Newport SMC100cc/pp. It can manage up
22
22
23
23
Initialization
24
24
==============
25
-
25
+
26
26
The following parameters are mandatory or optional for initializing an instance of this plugin:
27
-
27
+
28
28
.. plugininitparams::
29
29
:plugin: NewportSMC100
30
30
@@ -42,7 +42,7 @@ parameters can be changed using *setParam*.
42
42
**ctrlId**: {str}, read-only
43
43
device information string
44
44
**current_status**: {intArray}, read-only
45
-
This intArray stores the status of each controller. While no error occures, the controller should be
45
+
This intArray stores the status of each controller. While no error occurs, the controller should be
46
46
notReferenced (LED = orange)
47
47
Referenced (LED = green)
48
48
ConfigMode (LED = red [blinking])
@@ -51,18 +51,18 @@ parameters can be changed using *setParam*.
51
51
**async**: {int} [0,1]
52
52
Defines if the code continues while a controller is processing a task.
53
53
**accel**: {doubleArray}
54
-
Array of the accelerations of each axis. Notice that if the acceleration is too high, errors can occure because of physical boundaries. These boundaries might be changeable due the serialport. For further information refer to the datasheet.
54
+
Array of the accelerations of each axis. Notice that if the acceleration is too high, errors can occur because of physical boundaries. These boundaries might be changeable due the serialport. For further information refer to the data sheet.
55
55
**calib_mode**: {intArray} [0,4]
56
-
Defines the calibration mode, each axis performs when exec_calib is called with an 1 for the corresponding axis.
56
+
Defines the calibration mode, each axis performs when exec_calib is called with an 1 for the corresponding axis.
57
57
0 use MZ switch and encoder Index.
58
58
1 use current position as HOME.
59
59
2 use MZ switch only.
60
60
3 use EoR- switch and encoder Index.
61
61
4 use EoR- switch only.
62
62
**config_state**: {intArray} [0,1]
63
-
Defines wheather an axis switches to config mode. Notice that if an axis is in referenced state a reset is automatically performed to set the axis to notRef state and further into config state.
63
+
Defines whether an axis switches to config mode. Notice that if an axis is in referenced state a reset is automatically performed to set the axis to notRef state and further into config state.
64
64
**speed**: {doubleArray}
65
-
Array of the velocity of each axis.
65
+
Array of the velocity of each axis.
66
66
**exec_calib**: {intArray} [0,1]
67
67
By setting this parameter with either a 1 or a 0 for each axis, all axis marked with 1 are calibrated.
68
68
@@ -79,13 +79,13 @@ Create new Instance:
79
79
80
80
Switch acceleration, velocity and calib_mode
81
81
82
-
.. code-block:: python
82
+
.. code-block:: python
83
83
84
84
# switch 2 controller to config mode
85
85
plugin.setParam("config_state", [1,1])
86
-
# plugin.setParam("config_state", [1,0]) => switch ctrl0 to config and if ctrl1 is on config, leave config
86
+
# plugin.setParam("config_state", [1,0]) => switch ctrl0 to config and if ctrl1 is on config, leave config
87
87
88
-
# set velocity
88
+
# set velocity
89
89
plugin.setParam("speed", [5.0,7.0])
90
90
91
91
# set acceleration
@@ -101,8 +101,8 @@ Switch acceleration, velocity and calib_mode
101
101
plugin.calib(0,1) #calibrate first and second axis
102
102
103
103
# Controller calibrate and move to referenced state
104
-
104
+
105
105
Known Issues
106
106
============
107
107
108
-
In special cases an error occures that leaves the controller in notReferenced state with an error. The LED is constantly red. In this case you have to read the error buffer by sending xTE and xTS where x is the controller number. Notice that the hardware numbers from 1..32 not 0..31 as itom does. Afterwards you can switch into the config mode using xPW1. Choose another calibration mode xHTy, leave the config mode xPW0 and recalibrate the controller with xOR. Further you can send reset commands to the controller (xRS) or unplug the powersupply.
108
+
In special cases an error occurs that leaves the controller in notReferenced state with an error. The LED is constantly red. In this case you have to read the error buffer by sending xTE and xTS where x is the controller number. Notice that the hardware numbers from 1..32 not 0..31 as itom does. Afterwards you can switch into the config mode using xPW1. Choose another calibration mode xHTy, leave the config mode xPW0 and recalibrate the controller with xOR. Further you can send reset commands to the controller (xRS) or unplug the powersupply.
@@ -21,9 +21,9 @@ The plugin implements the controller 8SMC4-USB from STANDA.
21
21
22
22
Initialization
23
23
==============
24
-
24
+
25
25
The following parameters are mandatory or optional for initializing an instance of this plugin:
26
-
26
+
27
27
.. plugininitparams::
28
28
:plugin: Standa8SMC4USB
29
29
@@ -65,12 +65,14 @@ parameters can be changed using *setParam*.
65
65
Installation
66
66
============
67
67
68
-
Before using the motor you need to install the communcation driver that is requested once you plug the motor controller to the USB host.
69
-
You get this driver either by installing the software XILab from Standa or by directly downloading the driver's inf file (Windows only). For more information see
70
-
https://en.xisupport.com/projects/enxisupport/wiki/Software. The driver might require the Microsoft Visual C++ 2008 Redistributable package.
68
+
Before using the motor you need to install the communication driver that is requested once you plug the motor controller to the USB host.
69
+
You get this driver either by installing the software XILab from Standa or by directly downloading the driver's inf file (Windows only).
70
+
For more information see https://en.xisupport.com/projects/enxisupport/wiki/Software.
71
+
The driver might require the Microsoft Visual C++ 2008 Redistributable package.
71
72
72
73
Changelog
73
74
=========
74
75
75
76
* 2015-06-15: The XiLab SDK currently delivered with the source files of the itom plugin has the version 2.3.2.
76
-
* itom setup 4.1.0: plugin uses the XiLab SDK in version 2.3.2.
77
+
* itom setup 4.1.0: plugin uses the XiLab SDK in version 2.3.2.
78
+
* itom setup 4.3W.0: plugin uses the XiLab SDK in version 2.14.0.
*2 values required, Value range: [-15, -15], Default: [-15, -15]*
70
73
**name**: str, read-only
71
74
name of plugin
72
75
**numaxis**: int, read-only
73
76
number of axes (channels)
74
-
77
+
75
78
*Value range: [0, 100], Default: 2*
76
79
**serialNumber**: str, read-only
77
80
Serial number of the device
78
81
**timeout**: float
79
82
Timeout for positioning in seconds.
80
-
83
+
81
84
*Value range: [0, 200], Default: 5*
82
85
**velocity**: Sequence[float]
83
86
Velocity values for each axis in mm/s.
84
-
87
+
85
88
*2 values required, Value range: [0, 2.6], Default: [2.6, 2.6]*
86
89
87
90
88
91
Exemplary usage from Python
89
92
=======================================
90
93
91
-
In the following examples, it is shown how to use this Plugin in itom. The example shows a typical measurement routine. First the homing run is performed, then the stage moves to a start position and from there a certain range is rastered in both axes.
94
+
In the following examples, it is shown how to use this Plugin in itom. The example shows a typical measurement routine. First the homing run is performed,
95
+
then the stage moves to a start position and from there a certain range is rastered in both axes.
92
96
93
97
.. code-block:: python
94
98
@@ -99,6 +103,7 @@ In the following examples, it is shown how to use this Plugin in itom. The examp
99
103
mot = actuator("ThorlabsBDCServo")
100
104
101
105
# set some parameter
106
+
mot.setParam("enabled", [1,1])
102
107
mot.setParam("velocity", [2.6, 2.6])
103
108
mot.setParam("acceleration", [5.0,5.0])
104
109
mot.setParam("backlash", [0,0])
@@ -129,7 +134,7 @@ In the following examples, it is shown how to use this Plugin in itom. The examp
driver package in the same bit-version than itom (32/64bit).
152
159
It has been implemented using KINESIS version 1.14.32.
153
-
Then set the CMake variable **THORLABS_KINESIS_DIRECTORY** to the base directory of Kinesis (e.g. C:/Program Files/Thorlabs/Kinesis).
154
-
The required libraries from Kinesis will automatically be copied to the *lib* folder of itom. Do not use Kinesis 1.6.0 or below for compiling this plugin.
160
+
Then set the CMake variable **THORLABS_KINESIS_DIRECTORY** or the environment variable **THORLABS_KINESIS_ROOT**
161
+
to the base directory of Kinesis (e.g. C:/Program Files/Thorlabs/Kinesis).
162
+
The required libraries from Kinesis will automatically be copied to the *lib* folder of itom.
163
+
Do not use Kinesis 1.6.0 or below for compiling this plugin.
155
164
156
165
Kinesis 1.7.0 requires the Microsoft C++ Redistributable 2012.
157
166
158
167
Changelog
159
168
==========
160
169
170
+
* itom setup 4.0.0: This plugin has been compiled with Thorlabs Kinesis 1.14.23;
171
+
* itom setup 4.1.0: This plugin has been compiled with Thorlabs Kinesis 1.14.25.
172
+
* itom setup 4.2.0: This plugin has been compiled with Thorlabs Kinesis 1.14.28.
173
+
* Fix bug of timeout during ``setPosAbs``.* itom setup 4.3.0: This plugin has been compiled with Thorlabs Kinesis 1.14.35.
174
+
* itom setup 4.2.0: This plugin has been compiled with Thorlabs Kinesis 1.14.47.
0 commit comments