General design
- All SQL statements are stored in .properties files in corresponding packages
Glossary
Fault
- aka input
- Basic event in the MPS
...
- , usually a PV
- Has two states: OK (true) and Faulted (false)
- Stored in the Config DB
- 4 types: EPICS, LinkNode, LinkNodeChannel, LinkProcessor
- Classes in MPS Config edu.stanford.slac.mps.fault
- Fault number is the key, fault names may be changed (manually)
Macro
- aka Truth Table
- Defines 2-4 MacroStates for 1-2 faults
- May need support for more than 2 faults in the future (currently not supported)
- Stored in the Logic DB
MacroState
- Defines beam rates for the state of a macro
- The state number reflects the state of faults;
- Example for 2 fault A and B:
State Number
Binary Representation
B
A
0
00
F
F
1
01
F
T
2
10
T
F
3
11
T
T
- Example for 2 fault A and B: