...
- aka (just) state
- Defines the maximum allowed beam rates for a combination of fault states
- Rate names are hard-coded in edu.stanford.slac.mps.jdbc.logic.Rate
- Characterized by a state number
- A negative state number has a predefined meaning (see method getMacroState() in the class edu.stanford.slac.mps.jdbc.logic.LogicDB in MPS Config)
- A non-negative state number limits beam rates
- The binary representation of the (non-negative) state number reflects the states of the corresponding faults; example for 2 faults: A (position=0) and B (position=1):
State Number
Binary Representation
B
A
Rate Limits at 4 Locations
0
00
F 0 F
0
0Hz 10Hz 0Hz 0Hz
1
01
F 0
T 1
0Hz 10Hz 120Hz 120Hz
2
10
T 1
F 0
120Hz 10Hz 0Hz 0Hz
3
11
T 1 T
1
120Hz 10Hz 120Hz 120Hz
- Instead of 1, you may also see T (for True); instead of 0, you may also see F (for False)
- Current state numbers of every macro are stored in IOC:BSY0:MP01:TTBLST.VALA
...