Files
sics/site_ansto/instrument/kookaburra/config/anticollider/acscript.txt
2014-11-07 09:44:36 +11:00

10 lines
549 B
Plaintext

# Prevent m2om encoder from driving into sample holder.
forbid {10 inf} for m2om whenall {m2y in {-inf 200} m2om in {-inf 10}}
forbid {-inf 170} for m2om whenall {m2y in {-inf 200} m2om in {170 inf}}
forbid {-inf inf} for m2om whenall {m2y in {-inf 200} m2om in {11 169}}
forbid {-inf 200} for m2y when m2om in {10 170}
# Following two rules allow recovery if m2om position has crept above 10 or below 170
forbid {11 inf} for m2om whenall {m2y in {-inf 200} m2om in {10 11}}
forbid {-inf 169} for m2om whenall {m2y in {-inf 200} m2om in {169 170}}