Railway Interface Data Design
SESSION 7
* APPLICATION PROGRAM TEXT EDITOR
* FILE NAMING
* OPERATOR
SESSION 8
APPLICATION PROGRAM STRUCTURE
- BAMRA APPLICATION LOGIC – C1
- BAMRA APPLICATION LOGIC – C2
SESSION 9
APPLICATION PROGRAM STRUCTURE
- BAMRA APPLICATION LOGIC – C1
- BAMRA APPLICATION LOGIC – C2
SESSION 10
SYSTEM INITIATION LOGIC
- BAMRA APPLICATION LOGIC – C1
- BAMRA APPLICATION LOGIC – C2
SYSTEM INITIATION LOGIC:
ASSIGN ~DIG_ON * DIG_OFF
TO CPS.ENABLE;
ASSIGN CPS.STATUS * CPS.STATUS.ISI
TO CPS.STATUSJ2;
// STR 2 SEC
ASSIGN CPS.STATUSJ2 * ALSR_DN *
~SYSINITTMR TO CPSJR;
ASSIGN CPS.STATUS * (CPS.STATUS.ISI +
SYSINITTMR) TO SYSINITTMR;
// STP 130 SEC
ASSIGN SYSINITTMR TO SYSINITTMR1;
SESSION 11
SAMPLE INTERLOCKING LOGIC
- BAMRA APPLICATION LOGIC – C1
- BAMRA APPLICATION LOGIC – C2
ROUTE INITIATION LOGIC:
ASSIGN ~1ANRR * (1.C1ALSR + 1ANNR)
TO 1ANNR;
ASSIGN 1BNNR * 1CNNR * 7NNR * OV7NNR *
9NNR * OV2_9NNR * SH4ANNR *
SH4BNNR * SH4CNNR * SH4DNNR *
SH5NNR * SH7ANNR * SH9NNR *
C1ANNR * C1BNNR * C1CNNR *
(1GNR * UMUNR + 1ANRR) *
(~1GNR + ~EGGNR) * ~1.C1UYR4
TO 1ANRR;
POINT INITIATION LOGIC:
ASSIGN (CH1NR * (1TCPR * 4TCPR + (~1TCPR + ~4TCPR) * EWNR) * ~EW_N.R_CR * 16WLR * (16WR * WWNR + (~16WR + ~WWNR * ~WWRR) * 16WWR * ~EWNR * 16NLR) * ~16NWKR + 16WNR.ISO * (~16WLR + ~16RLR * (~WWRR + ~16WR + 16NLPR)) + ~16WNR.ISO * 16NWK1R.ISI * ~16RWK1R.ISI * CPSJR) * ~16WRR.ISO TO 16WNR.ISO;
ASSIGN (CH1NR * (1TCPR * 4TCPR + (~1TCPR + ~4TCPR) * EWNR) * ~EW_N.R_CR * 16WLR * (16WR * WWRR + (~16WR + ~WWNR * ~WWRR) * 16WWR * ~EWNR * 16RLR) * ~16RWKR + 16WRR.ISO * (~16WLR + ~16NLR * (~WWNR + ~16WR + 16RLPR)) + ~16WRR.ISO * 16RWK1R.ISI * ~16NWK1R.ISI * CPSJR) * ~16WNR.ISO TO 16WRR.ISO;
ROUTE SETTING LOGIC:
ASSIGN CH1NR * CH2NR * 21LXNR * (16NWKR *
(18NWKR * 26NWKR * 27NWKR * CH5NR
* 28LXNR * 1ANRR * ~1ANNR * OV5NRR
* ~OV5NNR + 18RWKR * 1BNRR *
~1BNNR * (OV1_9NRR * ~OV1_9NNR *
26NWKR + OV2_9NRR * ~OV2_9NNR *
26RWKR * 27NWKR * CH5NR * 28LXNR))
+ 16RWKR * 17RWKR * 25RWKR *
27RWKR * 19NWKR * 24NWKR * 18NWKR
* 26NWKR * 1CNRR * ~1CNNR * OV7NRR
* ~OV7NNR * CH3NR * CH4NR * CH5NR
* 20KTNR * 28LXNR) * ~C1UCR TO 1UCR;
ASSIGN ~1HR.ISO * ~1BUR.ISO * ~1CUR.ISO *
~1DR.ISO * ~1DECR.ISI * ~1HECR.ISI
* ~1UECR.ISI * ~1UCR * ~C1HR.ISO *
~C1HECR.ISI * ~C1UCR * (1T1PR.ISI
* 1T2PR.ISI * 1TCPR * (7TCPR +
16WRR.ISO) * (4TCPR + 16WNR.ISO) *
(1.C1UYR1 * 1.C1UYR2 * 1.C1UYR3 *
1.C1UYR4 * SYSINITTMR + 1.C1JSLR *
1.C1JR) + 1.C1ALSR) TO 1.C1ALSR;
SIGNAL CLEAR LOGIC
ASSIGN CH1NR * CH2NR * 21LXNR *
21.2GFRR.ISI * 1.C1TSR * ~1.C1ALSR
* 1.C1JBPR * ~1.C1UYR1 * ~1.C1UYR2
* ~1.C1UYR3 * ~1.C1UYR4 * 1UCR *
~C1COUR * 1T1PR.ISI * 1T2PR.ISI *
1TCPR * (16NWKLR * 7TCPR *
(18NWKLR * 26NWKLR * 27NWKLR *
UMTPR.ISI * 5TPR.ISI * 3TCPR *
CH5NR * 28LXNR * 28.2GFRR.ISI *
1ANRR * OV5NRR * ~OV5SR *
~1UECR.ISI * 5ECPR + 1BUR.ISO *
1UECR.ISI) + 1CUR.ISO * 1UECR.ISI)
* (~1GNR + 1HR.ISO) * ~C1HR.ISO TO 1HR.ISO;
SESSION 12
COMPILATION TECHNIQUES
TEXT EDITOR
FILE NAMING
File Title
Application Logic for C1 MLKII
BMB_C1_D01 Design Version
BMB_C1_T01 Factory and Site Testing Version
BMB_C1_S01 Service Version
Application Logic for C2 MLKII
BMB_C2_D01 Design Version
BMB_C2_T01 Factory and Site Testing Version
BMB_C2_S01 Service Version