# 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}