Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
SMARACT.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Positioning | ||||||
Description:
| ||||||
Documentation:
| ||||||
Macros:
Usage: smaract_setup Setup smaract controller (NOTE MP: utility of this macro ??????) smaract_unsetup Usage: smaract_unsetup Unsetup smaract controller (NOTE MP: utility of this macro ??????) | ||||||
Internal Macros: | ||||||
Usage: smaract_config (mne, type, unit, module, channel) smaract_par Usage: smaract_par (motnum, key, action, p1, p2) The smaract_par function is called when various motor parameters are set and when the motor_par() function is used to retrieve a user-defined parameter. smaract_cmd Usage: smaract_cmd (<motnum>, <cmd>, <p1>, <p2>) This function is called to control *hardware* macro_motors. <p1> and <p2> signification depends on cmd. _smaract_set Usage: _smaract_set(unit, comm) _smaract_gettype Usage: _smaract_gettype (code) Return a string corresponding to the encoder type hardcoded in the controller, no way to set its resolution _smaract_geterr Usage: _smaract_geterr (code) Return a string corresponding to the specified error code _smaract_checkerr Usage: _smaract_checkerr (answer) Return a non zero value if the controller answer contains an error and print out an explicit error message. _smaract_get Usage: _smaract_get(unit) _smaract_query Usage: _smaract_query(unit, comm) _smaract_perror Usage: _smaract_perror (string) _smaract_print Usage: _smaract_print (string) | ||||||
|