Files
sics/site_ansto/instrument/hrpd/config/anticollider/acscript.txt
Ferdi Franceschini 2ec6505ef8 Merged 2.4 branch
r2828 | ffr | 2009-11-25 09:56:49 +1100 (Wed, 25 Nov 2009) | 2 lines
2012-11-15 16:57:26 +11:00

26 lines
972 B
Plaintext

# This script is loaded automatically by anticollider.tcl when SICS is launched
# TODO Allow sequencing
# TODO Allow functional dependencies
#
# Examples
# for pcx forbid { {80 130} {10 20} }
# when stth in { {0 10} {20 30} } forbid { {10 20} {90 100} } for mtth
#
## The next example forbids movement when both schi and sx are in the given ranges
# forbid {0 10} for sphi whenall {schi in {10 15} sx {10 11} }
#-----------monochromator rotation---------------
for mom forbid {0 48}
#----------primary collimator translation--------
for pcx forbid {80 130}
#----------primary collimator rotation-----------
for pcr forbid {{3 177} {-177 -3}} when mom in {0 89}
for pcr forbid {{3 177} {-177 -3}} when pcx in {{-inf 68} {72 inf}}
#for pcr forbid {-inf inf} when mom in {45 50}
for stth forbid {160 167} when mtth in {87 88}
#for stth forbid {0 15} when mtth in {139.5 140.5}
for mtth forbid {87 100} when stth in {166 167}
for mtth forbid {130 140.5} when stth in {0 1}