Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
Use of the Birmingham superconducting magnet controller. SETUP In the config editor in the "Motor and Counter Device Configuration" page (hit "D") create a motor controller like follows: MOTORS DEVICE ADDR <>MODE NUM <>TYPE YES BIRMSM - 1 Macro Motors Then create the macro motor: Number: <>Controller 0: MAC_MOT It is advisable to set the backlash for the macro motors to 0. ATTENTION The file birmingham_magnet.mac havs to be read in. | ||||||
Macros:
Usage: BIRMSMdebug toggle debug mode for the present macros. BIRMSM_info Usage: BIRMSM_info toggle info mode for the present macros. __BIRMSM_simuf Usage: __BIRMSM_simuf(cmd) toggle info mode for the present macros. BIRMSM_simu Usage: BIRMSM_simu toggle debug mode for the present macros. BIRMSM_command Usage: BIRMSM_command [output|voltage|heater|ramprate|units|target|persistent|ready|getstatus] miscellaneous calls to the controller BIRMSM_heater Usage: BIRMSM_heater miscellaneous calls to the controller | ||||||
Internal Macros: | ||||||
Usage: _birmsm__set_serial_parameters (serialline, parity, speed) Setting serial line parameters BIRMSM_config Usage: BIRMSM_config(mnum,type,unit,mod,chan) Called by spec, BIRMSM_cmd Usage: BIRMSM_cmd(mnum, cmd, p1, p2, p3) Called by spec __BIRMSM_io Usage: __BIRMSM_io (addr, cmd) Called by spec, write command to controller and read answer. __BIRMSM_put Usage: __BIRMSM_put (addr, cmd) Called by spec, write command to controller, no answer expected. return .error. in case of error __BIRMSM_get Usage: __BIRMSM_get (addr) Called by spec, read an answer | ||||||
|