MACHINE_MODE 
Logical Entity Name  MACHINE_MODE 
Default Table Name  MACHINE_MODE 
Oracle Temporary Table  NO 
Physical Only  NO 
Do Not Generate  False 
Owner  EPICS 
Definition 
Machine Mode:
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE EPICS.MACHINE_MODE(
     DVC_ID                    VARCHAR2(40)     NOT NULL,
     APPR_DTE                  DATE             DEFAULT sysdate NOT NULL,
     CHANNEL_NBR               NUMBER(3, 0)     NOT NULL,
     LOCKED_IND                CHAR(1)          DEFAULT 'N' NOT NULL,
     SW_JUMP                   CHAR(1)          DEFAULT 'N' NOT NULL,
     LIMIT                     NUMBER(3, 0)     DEFAULT 60 NOT NULL,
     RATE                      NUMBER(3, 0)     DEFAULT 60 NOT NULL,
     BEAM_OFF                  RAW(1),
     STANDBY                   RAW(1),
     MPS_TEST                  RAW(1),
     MEBT_BS_10US              RAW(1),
     MEBT_BS_50US              RAW(1),
     MEBT_BS_100US             RAW(1),
     MEBT_BS_1MS               RAW(1),
     MEBT_BS_FULLPWR           RAW(1),
     CCL_BS_10US               RAW(1),
     CCL_BS_50US               RAW(1),
     CCL_BS_100US              RAW(1),
     CCL_BS_2KW                RAW(1),
     CCL_BS_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),
     CHASSIS_CONFIG_SW_JMP     RAW(1),
     MPS_DVC_ID                VARCHAR2(40),
     CHAN_IN_USE_IND           CHAR(1)          DEFAULT 'N' NOT NULL,
     CONSTRAINT MACHINE_MODE_PK PRIMARY KEY (DVC_ID, APPR_DTE, CHANNEL_NBR)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EPICS_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 BUFFER_POOL DEFAULT
                 ),
     CONSTRAINT MPS_DVC_ID_UNQ   UNIQUE (MPS_DVC_ID)
     USING INDEX
         PCTFREE 10
         INITRANS 2
         MAXTRANS 255
         TABLESPACE EPICS_INDEX_TS
         LOGGING
         STORAGE(INITIAL 64K
                 NEXT 64K
                 MINEXTENTS 1
                 MAXEXTENTS UNLIMITED
                 PCTINCREASE 0
                 FREELISTS 1
                 FREELIST GROUPS 1
                 BUFFER_POOL DEFAULT
                 ),
     CONSTRAINT MACHINE_MODE_DVC_FK FOREIGN KEY (MPS_DVC_ID)
     REFERENCES EPICS.DVC(DVC_ID),
     CONSTRAINT MPS_SGNL_PARAM_MACH_MODE_RF FOREIGN KEY (DVC_ID, APPR_DTE)
     REFERENCES EPICS.MPS_SGNL_PARAM(DVC_ID, APPR_DTE)
)
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
TABLESPACE EPICS_TS
LOGGING
NOPARALLEL
STORAGE(INITIAL 64K
         NEXT 64K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         FREELISTS 1
         FREELIST GROUPS 1
         BUFFER_POOL DEFAULT
         )
NOCACHE
NOCOMPRESS
;
 
PostSQL   

MACHINE_MODE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
DVC_ID(PK)(FK)    VARCHAR2(40)  NO 
Device Identifier: 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)    DATE  NO 
Approval Date:
 
CHANNEL_NBR(PK)    NUMBER(3, 0)  NO 
Channel Number:
 
LOCKED_IND    CHAR(1)  NO 
Locked Indicator
 
SW_JUMP    CHAR(1)  NO 
Software Jumper:
 
LIMIT    NUMBER(3, 0)  NO 
Limit: The number of allowable trips in "Rate" pulses before the beam is latched off.
 
RATE    NUMBER(3, 0)  NO 
Rate: The number of pulses used with the Limit value to determine if the beam is latched off.
 
BEAM_OFF    RAW(1)  YES 
Beam Off:  Indicates all systems are off.
 
STANDBY    RAW(1)  YES 
Standby:  Indicates the system is in warm standby mode.
 
MPS_TEST    RAW(1)  YES 
MPS Test:  MPS Test Mode Indicator
 
MEBT_BS_10US    RAW(1)  YES 
Source 10 US: SRC Only - Empty channels default to 1, Otherwise default = 0
 
MEBT_BS_50US    RAW(1)  YES 
Source 50 US:  SRC Only
 
MEBT_BS_100US    RAW(1)  YES 
Source 100 US:  SRC Only
 
MEBT_BS_1MS    RAW(1)  YES 
Source 1ms:  SRC Only
 
MEBT_BS_FULLPWR    RAW(1)  YES 
Source Full Power:  SRC Only
 
CCL_BS_10US    RAW(1)  YES 
TL  10 US:
 
CCL_BS_50US    RAW(1)  YES 
TL 50 US:
 
CCL_BS_100US    RAW(1)  YES 
TL 100 US:
 
CCL_BS_2KW    RAW(1)  YES 
TL 2 KW:
 
CCL_BS_FULLPWR    RAW(1)  YES 
TL Full Power:
 
LDMP_10US    RAW(1)  YES 
Linac Dump 10us:  Indicates a 10us beam to the Linac Dump.
 
LDMP_50US    RAW(1)  YES 
Linac Dump 50 US:  Indicates a50us beam to the Linac Dump.
 
LDMP_100US    RAW(1)  YES 
Linac Dump 100 US:  Indicates a 100us beam to the Linac Dump.
 
LDMP_7_5KW    RAW(1)  YES 
Linac Dump 7.5 KW:    Indicates a 7.5kw beam to the Linac Dump.
 
LDMP_FULLPWR    RAW(1)  YES 
Linac Dump Full Power:   Indicates a full power beam to the Linac Dump.
 
IDMP_10US    RAW(1)  YES 
Injection Dump 10 US:   Indicates a 10us beam to the Injection Dump.
 
IDMP_50US    RAW(1)  YES 
Injection Dump 50 US:   Indicates a 50us beam to the Injection Dump.
 
IDMP_100US    RAW(1)  YES 
Injection Dump 100 US:   Indicates a 100us beam to the Injection Dump.
 
IDMP_1MS    RAW(1)  YES 
Injection Dump 1 MS:  Indicates a 1ms beam to the Injection Dump.
 
IDMP_FULLPWR    RAW(1)  YES 
Injection Dump Full Power:   Indicates a full power beam to the Injection Dump.
 
RING_10US    RAW(1)  YES 
Ring Storage Mode 10 US:   Indicates a 10us ring storage mode.
 
RING_50US    RAW(1)  YES 
Ring Storage Mode 50 US: Indicates a 50us ring storage mode.
 
RING_100US    RAW(1)  YES 
Ring Storage Mode 100 US:  Indicates a 100us ring storage mode.
 
RING_7_5MW    RAW(1)  YES 
Ring Storage Mode  7.5 MW:  Indicates a 7.5 mw ring storage mode.
 
RING_FULLPWR    RAW(1)  YES 
Ring Storage Mode  Full Power:  Indicates a full power ring storage mode.
 
EDMP_10US    RAW(1)  YES 
Extraction Dump 10 US:  Indicates a 10us beam to the extraction dump.
 
EDMP_50US    RAW(1)  YES 
Exctraction Dump 50 US:   Indicates a 50us beam to the extraction dump.
 
EDMP_100US    RAW(1)  YES 
Extraction Dump 100 US:  Indicates a 100us beam to the extraction dump.
 
EDMP_7_5MW    RAW(1)  YES 
Extraction Dump  7.5 MW:  Indicates a7.5mw beam to the extraction dump.
 
EDMP_FULLPWR    RAW(1)  YES 
Extraction Dump Full Power:   Indicates a full power beam to the extraction dump.
 
TARGET_10US    RAW(1)  YES 
Target 10 US:   Indicates a 10us beam to the target.
 
TARGET_50US    RAW(1)  YES 
Target 50 US:   Indicates a 50us beam to the target.
 
TARGET_100US    RAW(1)  YES 
Target 100 US:   Indicates a100us beam to the target.
 
TARGET_1MS    RAW(1)  YES 
Target 1MS:   Indicates a 1ms beam to the target.
 
TARGET_FULLPWR    RAW(1)  YES 
Target Full Power:   Indicates a full power beam to the target.
 
CHASSIS_CONFIG_SW_JMP    RAW(1)  YES 
Chassis Configuration SW Jumper:
 
MPS_DVC_ID(FK)    VARCHAR2(40)  YES 
Machine Protection System Device Identifer: Device to which the MPS IOC is talking to on the channel.
 
CHAN_IN_USE_IND    CHAR(1)  NO 
Channel In Use Indicator: Indicates whether or not a channel is in active use even though a device has been assigned to the channel.
 

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  Non-Identifying  Zero or One to Zero or More  MACHINE_MODE_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 

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 
InitTrans 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging  Logged 
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS 
FREELIST GROUPS 
Buffer Pool  DEFAULT 
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  1604 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 
Average Row Size 

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