Автоматизированная система управления автономным водоснабжением
XIC(SAND_A_DP_SP.0)TON(SAND_A_DP_PROVE_TIMER,?,?);
THE TIMER KEEPS TRACK OF THE RUNTIME ON THE SAND FILTER, COMPARES IT TO THE TIME SETPOINT ENTERED FROM THE PANELVIEW TERMINAL, AND INITIATES A BACKWASH. THE TIMER IS RESET WHEN THE BACKWASH IS COMPLETED.
[[XIC(A_41_ZSO_7702A) RTO(TRAIN_A_SAND_RUN_TIMER,?,?) ,MUL(PV_SAND_A_BW_TIME,3600000,TRAIN_A_SAND_RUN_TIMER.PRE) ] ,XIC(FTW_SAND_A.DN)
RES(TRAIN_A_SAND_RUN_TIMER) ];
CHECK TO SEE IF IT IS OK TO BACKWASH THE SAND FILTER
[XIC(SAND_A_DP_PROVE_TIMER.DN) ,XIC(PV_SAND_A_BACKWASH.0) ,XIC(TRAIN_A_SAND_RUN_TIMER.DN) ]XIC(TRAIN_A_AUTO.0)LEQ(BACKWASH_COUNT,1)OTL(SAND_A_BACKWASH.0);
SAND FILTER BACKWASH DWELL THE DWELL TIME IN MINUTES IS ENTERED FROM THE PANELVIEW TERMINAL, MULTIPLIED BY 60000, AND MOVED INTO THE PRESET OF THE TIMER
[XIC(SAND_A_BACKWASH.0) XIO(RUNNING_CARBON_A.0) TON(BW_SAND_A_TIMER,?,?) ,MUL(PV_BW_SAND_A_TIMER_PRE,60000,BW_SAND_A_TIMER.PRE) ];
FILTER TO WASTE TIMER (SAND) UNLATCH THE BACKWASH ENABLE BIT AND LATCH THE FILTER TO WASTE BIT WHEN THE "FILTER TO WASTE" ROUTINE IS COMPLETE, RETURN TO SERVICE. THE DWELL TIME IS ENTERED FROM THE PANELVIEW TERMINAL
[[XIC(BW_SAND_A_TIMER.DN) ,XIC(FTW_SAND_A.TT) ] [OTU(SAND_A_BACKWASH.0) ,TON(FTW_SAND_A,?,?) ] ,MUL(PV_FTW_SAND_A_PRE,60000,FTW_SAND_A.PRE) ];
"RUNNING_SAND_x"THIS BIT IS USED FOR THE PANELVIEW DISPLAY AND FOR THE "BACKWASH_COUNT" SETUP LOGIC
[XIC(BW_SAND_A_TIMER.TT) ,XIC(FTW_SAND_A.TT) ]OTE(RUNNING_SAND_A.0);
BACKWASH OF CARBON FILTER THE SETPOINT IS ENTERED FROM THE PANELVIEW. THE BACKWASH CAN BE INITIATED BY THE FOLLOWING: DIFFERENTIAL PRESSURE TIME MANUALLY (PANELVIEW PUSHBUTTON)
XIO(RUNNING_CARBON_A.0)[TON(CARBON_A_DELAY_AFTER_BW,?,?) ,XIC(TRAIN_A_SERVICE) XIO(SAND_A_DELAY_AFTER_BW.TT) XIO(CARBON_A_DELAY_AFTER_BW.TT) GRT(A_41_DPT_7711A,PV_CARBON_A_DP_SP) OTE(CARBON_A_DP_SP.0) ];
CARBON FILTER DP DEBOUNCE TIMER ALLOW 1 MINUTE TO PROVE HI DP ON THE CARBON FILTER
XIC(CARBON_A_DP_SP.0)TON(CARBON_A_DP_PROVE_TIMER,?,?);
THE TIMER KEEPS TRACK OF THE RUNTIME ON THE CARBON FILTER, COMPARES IT TO THE TIME SETPOINT ENTERED FROM THE PANELVIEW TERMINAL, AND INITIATES A BACKWASH. THE TIMER IS RESET WHEN THE BACKWASH IS COMPLETED.
[[XIC(A_41_ZSO_7712A) RTO(TRAIN_A_CARB_RUN_TIMER,?,?) ,MUL(PV_CARB_A_BW_TIME,3600000,TRAIN_A_CARB_RUN_TIMER.PRE) ] ,XIC(FTW_CARB_A.DN) RES(TRAIN_A_CARB_RUN_TIMER) ];
CHECK TO SEE IF IT IS OK TO BACKWASH THE CARBON FILTER
XIC(TRAIN_A_AUTO.0)[XIC(CARBON_A_DP_PROVE_TIMER.DN) ,XIC(TRAIN_A_CARB_RUN_TIMER.DN) ,XIC(PV_CARBON_A_BACKWASH.0) ]XIO(RUNNING_SAND_A.0)XIO(SAND_A_DELAY_AFTER_BW.TT)LEQ(BACKWASH_COUNT,1)OTL(CARBON_A_BACKWASH.0);
CARBON FILTER BACKWASH TIMER THE DWELL TIME IS ENTERED FROM THE PANELVIEW TERMINAL
[XIC(CARBON_A_BACKWASH.0) XIO(RUNNING_SAND_A.0) TON(BW_CARB_A_TIMER,?,?) ,MUL(PV_BW_CARB_A_TIMER_PRE,60000,BW_CARB_A_TIMER.PRE) ];
FILTER TO WASTE TIMER (CARBON) WHEN THE "FILTER TO WASTE" ROUTINE IS COMPLETE, THE CARBON FILTER WILL RETURN TO SERVICE. THE DWELL TIME IS ENTERED FROM THE PANELVIEW TERMINAL
[[XIC(BW_CARB_A_TIMER.DN) ,XIC(FTW_CARB_A.TT) ] [OTU(CARBON_A_BACKWASH.0) ,TON(FTW_CARB_A,?,?) ] ,MUL(PV_FTW_CARB_A_PRE,60000,FTW_CARB_A.PRE) ];
"RUNNING_CARBON_x"THIS BIT IS USED FOR THE PANELVIEW DISPLAY AND FOR THE "BACKWASH_COUNT" SETUP LOGIC
[XIC(BW_CARB_A_TIMER.TT) ,XIC(FTW_CARB_A.TT) ]OTE(RUNNING_CARBON_A.0);
***** SOFTENER REGENERATION LOGIC ***** THE SOFTENER IS REGENERATED BASED ON: 1) VOLUME 2) TIME 3) OPERATOR
XIC(TOTAL_7721A_MATCH)OTE(VOL_LEV_REGEN_A.0);
THE TIMER KEEPS TRACK OF THE RUNTIME ON THE SOFTENER, COMPARES IT TO THE TIME SETPOINT ENTERED FROM THE PANELVIEW TERMINAL, AND INITIATES A BACKWASH. THE TIMER IS RESET WHEN THE BACKWASH IS COMPLETED.
[[XIC(A_41_ZSO_7722A) XIC(TRAIN_A_SERVICE) RTO(TRAIN_A_SOFT_RUN_TIMER,?,?) ,MUL(PV_SOFT_A_REGEN_TIME,3600000,TRAIN_A_SOFT_RUN_TIMER.PRE) ] ,XIC(SOFTENER_A_BACKWASH) RES(TRAIN_A_SOFT_RUN_TIMER) ];
CHECK TO SEE IF IT IS OK TO BACKWASH THE SOFTENER
XIC(TRAIN_A_AUTO.0)[XIC(VOL_LEV_REGEN_A.0) ,XIC(PV_SOFTENER_A_REGEN.0) ,XIC(TRAIN_A_SOFT_RUN_TIMER.DN) ]XIO(SOFTENER_B_REGEN)LEQ(BACKWASH_COUNT,1)XIC(A_41_LSH_7761)[OTL(SOFTENER_A_REGEN) ,OTL(SOFTENER_A_BACKWASH) ];
SOFTENER BACKWASH TIMER THE DWELL TIME IS ENTERED FROM THE PANELVIEW TERMINAL
[XIO(SOFTENER_A_BRINE) XIO(SOFT_A_SLOW_RINSE) XIO(SOFT_A_FAST_RINSE) XIC(SOFTENER_A_BACKWASH) TON(BW_SOFT_A_TIMER,?,?) ,MUL(PV_BW_SOFT_A_TIMER_PRE,60000,BW_SOFT_A_TIMER.PRE) ];
UNLATCH THE SOFTENER BACKWASH BIT AND SET THE BRINE BIT
XIC(BW_SOFT_A_TIMER.DN)[OTU(SOFTENER_A_BACKWASH) ,OTL(SOFTENER_A_BRINE) ];
UNLATCH THE SOFTENER BRINE BIT AND SET THE SLOW RINSE BIT
XIC(SOFTENER_A_BRINE)XIO(A_41_LSL_7761)[OTU(SOFTENER_A_BRINE) ,OTL(SOFT_A_SLOW_RINSE) ];
START THE SLOW RINSE TIMER THE DWELL TIME IS ENTERED FROM THE PANLEVIEW TERMINAL
[XIC(SOFT_A_SLOW_RINSE) TON(SLOW_RINSE_TIMER_A,?,?) ,MUL(PV_SLOW_RINSE_TIMER_A_PRE,60000,SLOW_RINSE_TIMER_A.PRE) ];
UNLATCH THE SLOW RINSE TIMER, AND START THE FAST RINSE
XIC(SLOW_RINSE_TIMER_A.DN)[OTU(SOFT_A_SLOW_RINSE) ,OTL(SOFT_A_FAST_RINSE) ];
WHEN THE FAST RINSE IS COMPLETE, RETURN THE TOWER TO SERVICE THE DWELL TIME IS ENTERED FROM THE PANELVIEW TERMINAL
[[XIC(SOFT_A_FAST_RINSE) TON(FAST_RINSE_TIMER_A,?,?) ,XIC(FAST_RINSE_TIMER_A.DN) [OTU(SOFT_A_FAST_RINSE) ,OTU(SOFTENER_A_REGEN) ] ] ,MUL(PV_FAST_RINSE_TIMER_A_PRE,60000,FAST_RINSE_TIMER_A.PRE) ];
DETERMINE THE STATUS OF THE SAND FILTER FOR PANELVIEW DISPLAY 0 = SERVICE 1 = BACKWASH 2 = FILTER TO WASTE
[XIO(BW_SAND_A_TIMER.EN) XIO(FTW_SAND_A.EN) MOV(0,SAND_A_STATUS) ,XIC(BW_SAND_A_TIMER.EN) XIO(FTW_SAND_A.EN) MOV(1,SAND_A_STATUS) ,XIO(BW_SAND_A_TIMER.EN) XIC(FTW_SAND_A.EN) MOV(2,SAND_A_STATUS) ];
DETERMINE THE STATUS OF THE CARBON FILTER FOR PANELVIEW DISPLAY 0 = SERVICE 1 = BACKWASH 2 = FILTER TO WASTE
[XIO(BW_CARB_A_TIMER.EN) XIO(FTW_CARB_A.EN) MOV(0,CARB_A_STATUS) ,XIC(BW_CARB_A_TIMER.TT) XIO(FTW_CARB_A.EN) MOV(1,CARB_A_STATUS) ,XIO(BW_CARB_A_TIMER.TT) XIC(FTW_CARB_A.EN) MOV(2,CARB_A_STATUS) ];
DETERMINE THE STATUS OF THE SOFTENER FOR PANELVIEW DISPLAY 0 = SERVICE 1 = BACKWASH 2 = BRINING 3 = SLOW RINSE 4 = FAST RINSE
[XIO(BW_SOFT_A_TIMER.TT) XIO(SOFTENER_A_BRINE) XIO(SOFT_A_SLOW_RINSE) XIO(SOFT_A_FAST_RINSE) MOV(0,SOFT_A_STATUS) ,XIC(BW_SOFT_A_TIMER.TT) XIO(SOFTENER_A_BRINE) XIO(SOFT_A_SLOW_RINSE) XIO(SOFT_A_FAST_RINSE) MOV(1,SOFT_A_STATUS) ,XIO(BW_SOFT_A_TIMER.TT) XIC(SOFTENER_A_BRINE) XIO(SOFT_A_SLOW_RINSE) XIO(SOFT_A_FAST_RINSE) MOV(2,SOFT_A_STATUS) ,XIO(BW_SOFT_A_TIMER.TT) XIO(SOFTENER_A_BRINE) XIC(SOFT_A_SLOW_RINSE) XIO(SOFT_A_FAST_RINSE) MOV(3,SOFT_A_STATUS) ,XIO(BW_SOFT_A_TIMER.TT) XIO(SOFTENER_A_BRINE) XIO(SOFT_A_SLOW_RINSE) XIC(SOFT_A_FAST_RINSE) MOV(4,SOFT_A_STATUS) ];
*** START VALVE CONTROL LOGIC *** BFV 7701A CLOSE NOTE: VALVES 7701A AND 7701B HAVE BEEN REMOVED FROM THE UNIT DESIGN. THE CONTROL LOGIC WILL REMAIN FOR FUTURE USE
Другие рефераты на тему «Программирование, компьютеры и кибернетика»:
Поиск рефератов
Последние рефераты раздела
- Основные этапы объектно-ориентированного проектирования
- Основные структуры языка Java
- Основные принципы разработки графического пользовательского интерфейса
- Основы дискретной математики
- Программное обеспечение системы принятия решений адаптивного робота
- Программное обеспечение
- Проблемы сохранности информации в процессе предпринимательской деятельности