Files
sics/site_ansto/instrument/hrpd/config/anticollider/acscript.txt
Ferdi Franceschini b6ed01fc13 Merge changes made in-situ.
r2842 | ffr | 2009-12-10 14:57:53 +1100 (Thu, 10 Dec 2009) | 2 lines
2012-11-15 16:58:14 +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 43}
#----------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}