Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
INCA.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Positioning | ||||||
Description:
| ||||||
Documentation:
This macro set allows you to define pseudo motors on inclined (45 degrees) analyser chi th stages. Since version 1.0 (Feb 2006) this macro file allows also to define new style calculation macro motors on inclined stages. To define new style macro motors you must define: an inca controller in config (one controller will work on one or more analyser stages): MOTORS DEVICE ADDR <>MODE NUM <>TYPE YES inca 6 Macro Motors motors in config referring to that controller. Channel assignment will decide on the motor role as follow: Channel 0 - chi 1 - theta Different pairs of inclined analyser stages can be defined by using additional module numbers in the motor unit/module/channel assignment. Config file The following motor parameters have to be associated in config file to the channel 0 of the controller/module. Example: MOT000 = MAXE:0/0 [...] achip2 MOT001 = MAXE:0/1 [...] athp2 MOT002 = MAXE:0/2 [...] achip3 MOT003 = MAXE:0/3 [...] athp3 MOT004 = MAXE:0/4 [...] achip4 MOT005 = MAXE:0/5 [...] athp4 MOT006 = MAC_MOT:0/0/0 [....] achi2 MOTPAR:xmot = achip2 MOTPAR:ymot = athp2 MOT007 = MAC_MOT:0/0/1 [....] ath2 MOT008 = MAC_MOT:0/0/0 [....] achi3 MOTPAR:xmot = achip3 MOTPAR:ymot = athp3 MOT009 = MAC_MOT:0/0/1 [....] ath3 MOT010 = MAC_MOT:0/0/0 [....] achi4 MOTPAR:xmot = achip4 MOTPAR:ymot = athp4 MOT011 = MAC_MOT:0/0/1 [....] ath4 | ||||||
Macros:
| ||||||
Internal Macros: | ||||||
Usage: inca_config(mne,type,unit,module,chan) inca_calc Usage: inca_calc(mne, mode) inca Usage: inca incasetup Usage: incasetup inca_add Usage: inca_add(name,achip,athp,motx,moty,radius) inca_on Usage: inca_on inca_off Usage: inca_off inca_unsetup Usage: inca_unsetup inca_move Usage: inca_move inca_get Usage: inca_get | ||||||
|