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:
This macro file allows to define a piezo motor controlled by vscanner as pseudo-motors in SPEC. A VSCANNER box (defined by the parameter "dev") can drive up to two motors. SPEC parameter "step_size" is taking into account to transform miroV used by VSCANNER as unit in user unit. SPEC parameter "velocity" ("steady state rate" in edconf) is used to define speed used by piezo motor to move from one position to the other. If this parameter is set to 0, the motor will be move instantaneously. UNIT: "steps / mm" are microVolts/mm "steady state" rate is microV/s. DEPENDENCIES | ||||||
Macros:
Usage: vscanadd <mnemonic> <SPEC serial line dev.> <vscanner ch. num.> <sign> <offset> Add definitions for a piezo pseudomotor vscanoff Usage: vscanoff Deactivates definitions for piezo motors pseudomotors. vscanon Usage: vscanon Activates definitions for piezo motor pseudomotors. | ||||||
Internal Macros: | ||||||
Usage: vscanunsetup vscanshow Usage: vscanshow Shows current piezo pseudomotors definition. vscan_checkall Usage: vscan_checkall(dev) move pseudo motor vscan_getangles Usage: vscan_getangles(dev) Read pseudo motor position vscan_motorsrun Usage: vscan_motorsrun check if pseudo motors are moving. return 0 if moving 1 if stopped vscan_stop Usage: vscan_stop Stop movement on pseudo motor | ||||||
|