This tool implements a system for monitoring the status of the MPS Bypass PVs and bypass requests.
The RDB provides a list of MPS Bypasses for each machine mode. To determine the current state of each bypass, the tool connects to a mask and switch PV for each bypass and determines the current state. These states are explained below.
mask PV's name replaces it with _swmask,
switch PV's name replaces it with _sw_jump_status
Examples of the bypassed and bypassable pv names are Ring_Vac:SGV_AB:FPL_Ring_swmask, Ring_Vac:SGV_AB:FPL_Ring_sw_jump_status, Ring_Diag:BLM_A01:FPAR_Ring_swmask and Ring_Diag:BLM_A01:FPAR_Ring_sw_jump_status.
active=0 | active=1 | Disconnected | |
mask=0 | Non-bypassable | Bypassable | Disconnected |
mask=1 | Error | Bypassed | Disconnected |
Disconnected | Disconnected | Disconnected | Disconnected |
sw_jump_status = 0, _swmask = 0: Non-bypassable
The bypass cannot be enabled (no jumper), and Operators have not masked it (mask=0).
The MPS input is operational, it will trip the MPS.
sw_jump_status = 1, _swmask = 0: Bypassable
The jumper would allow the bypass to be enabled, but for now the MPS input
has not been masked by Operators (mask=0).
The MPS input is operational, it will trip the MPS.
This state is also known as Active Bypass Enable
because an active bypass could be enabled, but isn't at this time.
sw_jump_status = 1, _swmask = 1: Bypassed
The jumper allows the bypass to be enabled, and Operators masked this MPS
input (mask=1). The MPS input is bypassed, it will NOT trip the MPS.
This state is also known as Active Bypass because the bypass is active,
meaning that the MPS input is actually no longer active.
_sw_jump_status = 0, _swmask = 1: Error
This should not happen, it is the result of a configuration error. Cannot happen, it is not allowable in hardware. This causes the chassis to trip on a config error.
__sw_jump_status || _swmask = Disconnected: Disconnected
If either the _sw_jump_status or the _swmask pvs are Disconnected the result will be Disconnected.
The following color scheme is used for displaying MPS Bypass information, based on MPS bypass pv status and MPS bypass request status.
Bypass State | Bypass Request Status | Color Code | Status |
Bypassed | Requested | silver | OK/Mild |
Not Requested | orange | Attention Getter | |
Bypassable | Requested | lavender | Questionable |
Not Requested | orange | Attention Getter | |
Error | Requested | red | Should Never Happen |
Not Requested | red | Should Never Happen | |
Disconnected | Requested | gold | Worrisome |
Not Requested | blue | Good | |
Not Bypassable | Requested | gold | Worrisome |
Not Requested | blue | Good |