Versions Compared

Key

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

...

  • aka device, input, signal
  • Basic The basic event in the MPS, usually a PV
  • Has two states: OK (true or 1) and Faulted (false or 0)
  • Stored in the Config DB
  • 4 types: EPICS, LinkNode, LinkNodeChannel, LinkProcessor
  • Fault number is the key, fault names may be changed (manually)

...

  • aka Truth Table
  • Defines 2-4 MacroStates #MacroStates for 1-2 faults
    • The order of faults matters (there is a column "position" in the DB)
    • May need support for more than 2 faults in the future (currently not supported)
  • Some macros, called "ignoring macros", may ignore other
  • Stored in the Logic DB

MacroState

  • Defines the maximum allowed beam rates for the given a particular state of a 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

  • Stored in the Logic DB