Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
ICE_SHUTTER.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The aim is to have a motor moving to two different positions depending on an incoming electrical signals. Typically, for a shutter, the two positions correspond to open and close positions of the shutter. The underlying IcePAP features used are the position lists and the tracking mechanism. | ||||||
Macros:
Usage: iceshutsetup motor pos_closed pos_open [velocity acctime] Defines the closed and open positions used when tracking the incoming signal. The positions are absolute and given in user units. Optionaly new velocity/acceleration can be used when the motor will be moving during tracking. The acceleration is giveng in ms. No action on motor is done, therefore it's still usable as any other motor. ex ID16b: iceshutsetup shutr 15 0 6000 2 iceshuton Usage: iceshuton motor Move the motor to the "closed" position and activate the tracking on the incoming signals. No check is done on the current incoming signal level. The current level MUST correspond to the "closed" position of the shutter. The motor velocity/acceleration will be changed to new values if they have been given on setup. iceshutoff Usage: iceshutoff motor Tracking incoming signal is des-activated. The motor can now be moved as any other motor. The velocity/acceleration are restored with the config values. | ||||||
Internal Macros: | ||||||
Usage: _iceshutsetup (motor, pos_closed, pos_open, velocity, acctime) If velocity/acctime are null, the values from the motor config will be used. _iceshutcheck Usage: _iceshutcheck _iceshuton Usage: _iceshuton (motor) _iceshutoff Usage: _iceshutoff (motor) _iceshut_sync Usage: _iceshut_sync (motor) | ||||||
|