Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • aka (ignore) condition
  • Sort-of "meta"-macros that can ignore other macros
    • Useful, if e.g. the fault hardware misbehaves
    • Can be set active or inactive (by MPS engineers, not operators)
    • If active, it is important to know the minimum rate the MPS would allow, if the macro became inactive
    • Note: Some macros are always evaluated
  • Stored in the Logic DB

MacroState

  • aka state
  • Defines the maximum allowed beam rates given a particular state of the corresponding macro
    • Rate names are hard-coded in edu.stanford.slac.mps.jdbc.logic.Rate
  • The binary representation of the state number reflects the state of the corresponding faults; example for 2 faults: A (position=0) and B (position=1):

    State Number

    Binary Representation

    B

    A

    0

    00

    F

    F

    1

    01

    F

    T

    2

    10

    T

    F

    3

    11

    T

    T

  • Current state numbers for every macro number are stored in IOC:BSY0:MP01:TTBLST.VALA
  • Stored in the Logic DB