Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
MICOS.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Positioning | ||||||
Description:
| ||||||
Documentation:
The macro set offers the possibility to set-up a Micos motor a SPEC "harware macro-motor". The macro-motor controller is called "micos_mot". Only one device can be configfured :( EXAMPLE | ||||||
Macros:
Usage: micos_mot_setup <motor_mnemonic> <device_name> Calls set-up of micos macro motor. _micos_mot_setup Usage: _micos_mot_setup (<motor_mnemonic> <device_name>) Set-up of micos macro motor. The given device is linked to the given mnemonic. micos_reset Usage: micos_reset Resets the micos controller (after a cut-off of air compressed for example). micos_mot_unsetup Usage: micos_mot_unsetup Removes globals. micos_show Usage: micos_show Prints information about configured micos device. micos_config Usage: micos_config [ motor_mnemonic ] Sets the acceleration and velocity of a motor. | ||||||
Internal Macros: | ||||||
Usage: micos_mot_config (<mot_num>, <type>, <unit>, <module>, <channel>) Macro motor configuration. micos_mot_cmd Usage: micos_mot_cmd(mot_num, what, p1, p2) Entry point of macro motor controller. Called with different keys to handle motor actions. | ||||||
|