MACHINE_MODE 
Logical Entity Name  Machine Mode 
Default Table Name  MACHINE_MODE 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner   
Definition 
Machine Mode: Configuration information for each device channel.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE MACHINE_MODE(
     DVC_ID                      VARCHAR2(50)     NOT NULL,
     APPR_DTE                    TIMESTAMP(6)     NOT NULL,
     CHANNEL_NBR                 NUMBER(3, 0)     NOT NULL,
     MPS_DVC_ID                  VARCHAR2(50),
     LOCKED_IND                  CHAR(1)          DEFAULT 'N' NOT NULL,
     MPS_IN                      RAW(1),
     FAST_PROTECT_AUTO_RESET     NUMBER(1, 0)     DEFAULT 'N',
     FAST_PROTECT_LATCH          NUMBER(1, 0),
     SW_JUMP                     CHAR(1)          DEFAULT 'N' NOT NULL,
     BEAM_OFF                    RAW(1),
     STANDBY                     RAW(1),
     MPS_TEST                    RAW(1),
     LIMIT                       NUMBER(3, 0),
     RATE                        NUMBER(3, 0),
     CHASSIS_CONFIG_SW_JMP       RAW(1)           NOT NULL,
     SRC_10US                    RAW(1),
     SRC_50US                    RAW(1),
     SRC_100US                   RAW(1),
     SRC_1MS                     RAW(1),
     SRC_FULLPWR                 RAW(1),
     DTL_10US                    RAW(1),
     DTL_50US                    RAW(1),
     DTL_100US                   RAW(1),
     DTL_2KW                     RAW(1),
     DTL_FULLPWR                 RAW(1),
     LDMP_10US                   RAW(1),
     LDMP_50US                   RAW(1),
     LDMP_100US                  RAW(1),
     LDMP_7_5KW                  RAW(1),
     LDMP_FULLPWR                RAW(1),
     IDMP_10US                   RAW(1),
     IDMP_50US                   RAW(1),
     IDMP_100US                  RAW(1),
     IDMP_1MS                    RAW(1),
     IDMP_FULLPWR                RAW(1),
     RING_10US                   RAW(1),
     RING_50US                   RAW(1),
     RING_100US                  RAW(1),
     RING_7_5MW                  RAW(1),
     RING_FULLPWR                RAW(1),
     EDMP_10US                   RAW(1),
     EDMP_50US                   RAW(1),
     EDMP_100US                  RAW(1),
     EDMP_7_5MW                  RAW(1),
     EDMP_FULLPWR                RAW(1),
     TARGET_10US                 RAW(1),
     TARGET_50US                 RAW(1),
     TARGET_100US                RAW(1),
     TARGET_1MS                  RAW(1),
     TARGET_FULLPWR              RAW(1),
     CONSTRAINT MACHINE_MODE_LIMIT_CK CHECK (<0 and <= 600),
     CONSTRAINT MACHINE_MODE_RATE_CK CHECK (>0 and <=600),
     CONSTRAINT MACHINE_MODE_PK PRIMARY KEY (DVC_ID, APPR_DTE, CHANNEL_NBR)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE OPER_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 50
                 ),
     CONSTRAINT MPS_SGNL_PARAM_MACH_MODE_RF FOREIGN KEY (DVC_ID, APPR_DTE)
     REFERENCES MPS_SGNL_PARAM(DVC_ID, APPR_DTE),
     CONSTRAINT RefDVC633 FOREIGN KEY (DVC_ID)
     REFERENCES DVC(DVC_ID),
     CONSTRAINT MPS_DVC_ID_DVC_FK FOREIGN KEY (MPS_DVC_ID)
     REFERENCES DVC(DVC_ID)
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE EPICS_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 50
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

MACHINE_MODE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
DVC_ID(PK)(FK)  Device Id  VARCHAR2(50)  NO 
The unique identifier for the device.  It is represented in the form of a bar code.  The identifier consists of the concatenation of the following fields:  System ID, Subsystem ID, Device Qualifier, Device Type and Device Instance.
 
APPR_DTE(PK)(FK)  Datetime  TIMESTAMP(6)  NO 
Approval Date
 
CHANNEL_NBR(PK)    NUMBER(3, 0)  NO 
Channel Number
 
MPS_DVC_ID(FK)  Device Id  VARCHAR2(50)  YES 
Device Identifier: The unique identifier for the device. The identifier consists of the concatenation of the following fields:  System ID, Subsystem ID, Device Qualifier, Device Type and Device Instance.
 
LOCKED_IND  Indicator  CHAR(1)  NO 
Locked Indicator
 
MPS_IN  Machine Mode Ind  RAW(1)  YES 
MPS In
 
FAST_PROTECT_AUTO_RESET    NUMBER(1, 0)  YES 
Auto Restore Indicator
 
FAST_PROTECT_LATCH    NUMBER(1, 0)  YES 
Fast Protect Latch
 
SW_JUMP  Indicator  CHAR(1)  NO 
Software Jumper
 
BEAM_OFF  Machine Mode Ind  RAW(1)  YES 
Beam Off:  Indicates all systems are off.
 
STANDBY  Machine Mode Ind  RAW(1)  YES 
Standby:  Indicates the system is in warm standby mode.
 
MPS_TEST  Machine Mode Ind  RAW(1)  YES 
MPS Test:  MPS Test Mode Indicator
 
LIMIT    NUMBER(3, 0)  YES 
Limit: The number of allowable trips in "Rate" pulses before the beam is latched off.
 
RATE    NUMBER(3, 0)  YES 
Rate: The number of pulses used with the Limit value to determine if the beam is latched off.
 
CHASSIS_CONFIG_SW_JMP    RAW(1)  NO 
Chassis Configuration SW Jumper:
 
SRC_10US  Machine Mode Ind  RAW(1)  YES 
Source 10 US: SRC Only - Empty channels default to 1, Otherwise default = 0

 
SRC_50US  Machine Mode Ind  RAW(1)  YES 
Source 50 US:  SRC Only

 
SRC_100US  Machine Mode Ind  RAW(1)  YES 
Source 100 US:  SRC Only

 
SRC_1MS  Machine Mode Ind  RAW(1)  YES 
Source 1ms:  SRC Only

 
SRC_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Source Full Power:  SRC Only

 
DTL_10US  Machine Mode Ind  RAW(1)  YES 
TL  10 US
 
DTL_50US  Machine Mode Ind  RAW(1)  YES 
TL 50 US
 
DTL_100US  Machine Mode Ind  RAW(1)  YES 
TL 100 US
 
DTL_2KW  Machine Mode Ind  RAW(1)  YES 
TL 2 KW
 
DTL_FULLPWR  Machine Mode Ind  RAW(1)  YES 
TL Full Power
 
LDMP_10US  Machine Mode Ind  RAW(1)  YES 
Linac Dump 10us:  Indicates a 10us beam to the Linac Dump.
 
LDMP_50US  Machine Mode Ind  RAW(1)  YES 
Linac Dump 50 US:  Indicates a50us beam to the Linac Dump.
 
LDMP_100US  Machine Mode Ind  RAW(1)  YES 
Linac Dump 100 US:  Indicates a 100us beam to the Linac Dump.
 
LDMP_7_5KW  Machine Mode Ind  RAW(1)  YES 
Linac Dump 7.5 KW:    Indicates a 7.5kw beam to the Linac Dump.
 
LDMP_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Linac Dump Full Power:   Indicates a full power beam to the Linac Dump.
 
IDMP_10US  Machine Mode Ind  RAW(1)  YES 
Injection Dump 10 US:   Indicates a 10us beam to the Injection Dump.
 
IDMP_50US  Machine Mode Ind  RAW(1)  YES 
Injection Dump 50 US:   Indicates a 50us beam to the Injection Dump.
 
IDMP_100US  Machine Mode Ind  RAW(1)  YES 
Injection Dump 100 US:   Indicates a 100us beam to the Injection Dump.
 
IDMP_1MS  Machine Mode Ind  RAW(1)  YES 
Injection Dump 1 MS:  Indicates a 1ms beam to the Injection Dump.
 
IDMP_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Injection Dump Full Power:   Indicates a full power beam to the Injection Dump.
 
RING_10US  Machine Mode Ind  RAW(1)  YES 
Ring Storage Mode 10 US:   Indicates a 10us ring storage mode.
 
RING_50US  Machine Mode Ind  RAW(1)  YES 
Ring Storage Mode 50 US: Indicates a 50us ring storage mode.
 
RING_100US  Machine Mode Ind  RAW(1)  YES 
Ring Storage Mode 100 US:  Indicates a 100us ring storage mode.
 
RING_7_5MW  Machine Mode Ind  RAW(1)  YES 
Ring Storage Mode  7.5 MW:  Indicates a 7.5 mw ring storage mode.
 
RING_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Ring Storage Mode  Full Power:  Indicates a full power ring storage mode.
 
EDMP_10US  Machine Mode Ind  RAW(1)  YES 
Extraction Dump 10 US:  Indicates a 10us beam to the extraction dump.
 
EDMP_50US  Machine Mode Ind  RAW(1)  YES 
Exctraction Dump 50 US:   Indicates a 50us beam to the extraction dump.
 
EDMP_100US  Machine Mode Ind  RAW(1)  YES 
Extraction Dump 100 US:  Indicates a 100us beam to the extraction dump.
 
EDMP_7_5MW  Machine Mode Ind  RAW(1)  YES 
Extraction Dump  7.5 MW:  Indicates a7.5mw beam to the extraction dump.
 
EDMP_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Extraction Dump Full Power:   Indicates a full power beam to the extraction dump.
 
TARGET_10US  Machine Mode Ind  RAW(1)  YES 
Target 10 US:   Indicates a 10us beam to the target.
 
TARGET_50US  Machine Mode Ind  RAW(1)  YES 
Target 50 US:   Indicates a 50us beam to the target.
 
TARGET_100US  Machine Mode Ind  RAW(1)  YES 
Target 100 US:   Indicates a100us beam to the target.
 
TARGET_1MS  Machine Mode Ind  RAW(1)  YES 
Target 1MS:   Indicates a 1ms beam to the target.
 
TARGET_FULLPWR  Machine Mode Ind  RAW(1)  YES 
Target Full Power:   Indicates a full power beam to the target.
 

MACHINE_MODE Primary and Unique Keys 
Key Name  Key Type  Keys 
MACHINE_MODE_PK  PrimaryKey  DVC_ID, APPR_DTE, CHANNEL_NBR 

MACHINE_MODE Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
DVC  Identifying  One To Zero or More        DVC_ID  NO  NO  NO 
DVC  Non-Identifying  Zero or One to Zero or More  MPS_DVC_ID_DVC_FK      MPS_DVC_ID  NO  NO  NO 
MPS_SGNL_PARAM  Identifying  One To Zero or More  MPS_SGNL_PARAM_MACH_MODE_RF      DVC_ID, APPR_DTE  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
MPS_CHAN_AUDIT  Identifying  One To Zero or More  FK_MACHINE_MODE        NO  NO  NO 
MPS_BLM_PARAM  Identifying  One To Zero or More  FK_MBP_MACHINE_MODE        NO  NO  NO 

MACHINE_MODE Check Constraints 
Check Constraint Name  CheckConstraint 

MACHINE_MODE Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  EPICS_TS 
PctFree  10 
PCTUSED   40 
MinExtents 
MaxExtents  2147483645 
Initial  64 
Next  64 
PctIncrease  50 
InitTrans 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging   
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS   
FREELIST GROUPS   
Buffer Pool   
Table Compression  NO 
Row Movement  Disabled 

MACHINE_MODE Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

MACHINE_MODE Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 

MACHINE_MODE Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
MACHINE_MODE Security Types 
Name  Current Value 

MACHINE_MODE Bound Attachments 
Name  Current Value 

MACHINE_MODE Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
EPICS.Machine Mode 
NO       
ALARM_MYSQL (MySQL)
Does Not Exist 
NO       
ALARM_ORACLE (Oracle)
Does Not Exist 
NO       
BICS (Oracle)
Does Not Exist 
NO       
BLM (Oracle)
Does Not Exist 
NO       
BYPASS_REQ (Oracle)
Does Not Exist 
NO       
CHAN_ARCH (Oracle)
Does Not Exist 
NO       
CNMS_PRPSL (Oracle)
Does Not Exist 
NO       
DIAG (Oracle)
Does Not Exist 
NO       
DIAG_MPS (Oracle)
EPICS.MACHINE_MODE 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
EPICS.MACHINE_MODE 
NO       
EQUIP (Oracle)
Does Not Exist 
NO       
EXPRESS (Oracle)
Does Not Exist 
NO       
ICS_SFTW_APPL (Oracle)
Does Not Exist 
NO       
INSTR (Oracle)
Does Not Exist 
NO       
Instrument Logbook (Oracle)
Does Not Exist 
NO       
INVT (Oracle)
Does Not Exist 
NO       
IONSRC (Oracle)
Does Not Exist 
NO       
IONSRC1 (Oracle)
Does Not Exist 
NO       
IPTSv5 (Oracle)
Does Not Exist 
NO       
IRMISBase (Oracle)
Does Not Exist 
NO       
Logbook (Oracle)
Does Not Exist 
NO       
Magnet (Oracle)
Does Not Exist 
NO       
MPS (Oracle)
MACHINE_MODE 
NO       
NS_OPER (Oracle)
Does Not Exist 
NO       
OPER (Oracle)
Does Not Exist 
NO       
PART (Oracle)
Does Not Exist 
NO       
PRINT (Oracle)
Does Not Exist 
NO       
PROC (Oracle)
Does Not Exist 
NO       
PRPSL (Oracle)
Does Not Exist 
NO       
PUBL (Oracle)
Does Not Exist 
NO       
PUBL_V1 (Oracle)
Does Not Exist 
NO       
PV_LOGGER (Oracle)
Does Not Exist 
NO       
SCORE (Oracle)
Does Not Exist 
NO       
SICAT (Oracle)
Does Not Exist 
NO       
SMPL (Oracle)
Does Not Exist 
NO       
SMPLACT (Oracle)
Does Not Exist 
NO       
SURVEY (Oracle)
Does Not Exist 
NO       
Watchman (Oracle)
Does Not Exist 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

MACHINE_MODE Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Diagnostics MPS 
Logical  EPICS 
Logical  Machine Mode 
DIAG_MPS (Oracle)  Main Model 
EPICS (Oracle)  Main Model 
MPS (Oracle)  Main Model 

MACHINE_MODE Data Movement Rules 
Name  Type  Rule Text/Value