|
|
Beamline Instrument Software Support |
| CYLSLIT.MAC | ||||||
| [ source code | installed at | configured at ] | ||||||
| See other macros in category: Positioning | ||||||
Description:
| ||||||
Documentation:
This macro set allows you to define pseudo motor gap on cylinder slits.
Since version 2.0 (Feb 2006) this macro file allows also to
define new style calculation macro motors on cylinder slits.
To define new style macro motors you must define:#
a cylslit controller in config (one controller will work on one or
several cylinder slits modules):
MOTORS DEVICE ADDR <>MODE NUM <>TYPE
YES cylslit 2 Macro Motors
motors in config referring to that controller.
Different cylinder slits can be defined by using additional
module numbers in the motor unit/module/channel assignment.
Config file
The following parameters have to be associated in config
file to the macro motor.
Example:
MOT000 = MAXE:0/0 [...] roth
MOT001 = MAXE:0/1 [...] rotv
MOT002 = MAC_MOT:0/0/0 [....] chg
MOTPAR:theta = roth
MOTPAR:radius = 15
MOT003 = MAC_MOT:0/1/0 [....] cvg
MOTPAR:theta = rotv
MOTPAR:radius = 15
Calibration:
Theta set to 0 when beam is cut (gap is 0 too)
theta limits set to 0 and arcsin (maxgap/(2*radius)).
| ||||||
|
Macros:
| ||||||
| Internal Macros: | ||||||
Usage: cylslit_config(mne,type,unit,module,chan) cylslit_calc Usage: cylslit_calc(mne, mode) cylsetup Usage: cylsetup cylslits_add Usage: cylslits_add(name,hgap,vgap,hrot,vrot,hrd,vrd) cylon Usage: cylon cyloff Usage: cyloff cylunsetup Usage: cylunsetup cylslits_move Usage: cylslits_move cylslits_get Usage: cylslits_get cylslits_set Usage: cylslits_set in_degree Usage: in_degree(angle) in_radian Usage: in_radian(angle) | ||||||
|