Update precision_gas_mixer_H2_O2.asm
This commit is contained in:
parent
25b0907c89
commit
9de5f886cb
@ -32,55 +32,55 @@ alias CurrentH2Setting r5
|
|||||||
alias LowH2Setting r6
|
alias LowH2Setting r6
|
||||||
|
|
||||||
checkO2:
|
checkO2:
|
||||||
s d0 On 1
|
s H2o2Analyser On 1
|
||||||
l H2PumpSetting d2 Setting
|
l H2PumpSetting H2Pump Setting
|
||||||
mul CurrentO2Setting H2PumpSetting 0.75
|
mul CurrentO2Setting H2PumpSetting 0.75
|
||||||
s d1 Setting CurrentO2Setting
|
s O2Pump Setting CurrentO2Setting
|
||||||
l O2 d0 RatioOxygen
|
l O2 H2o2Analyser RatioOxygen
|
||||||
blt O2 O2Ratio o2PumpON
|
blt O2 O2Ratio o2PumpON
|
||||||
bgt O2 O2Ratio o2PumpOFF
|
bgt O2 O2Ratio o2PumpOFF
|
||||||
j checkH2
|
j checkH2
|
||||||
|
|
||||||
checkH2:
|
checkH2:
|
||||||
l Pres d0 Pressure
|
l Pres H2o2Analyser Pressure
|
||||||
bge Pres MinTransPres setLOW
|
bge Pres MinTransPres setLOW
|
||||||
blt Pres MinTransPres setHIGH
|
blt Pres MinTransPres setHIGH
|
||||||
resumePresCheck:
|
resumePresCheck:
|
||||||
l Pres d0 Pressure
|
l Pres H2o2Analyser Pressure
|
||||||
bge Pres MaxH2Pres h2PumpOFF
|
bge Pres MaxH2Pres h2PumpOFF
|
||||||
H2RatioCheck:
|
H2RatioCheck:
|
||||||
l H2 d0 RatioVolatiles
|
l H2 H2o2Analyser RatioVolatiles
|
||||||
blt H2 H2Ratio h2PumpON
|
blt H2 H2Ratio h2PumpON
|
||||||
bgt H2 H2Ratio h2PumpOFF
|
bgt H2 H2Ratio h2PumpOFF
|
||||||
j checkO2
|
j checkO2
|
||||||
|
|
||||||
o2PumpON:
|
o2PumpON:
|
||||||
s d1 On 1
|
s O2Pump On 1
|
||||||
j checkH2
|
j checkH2
|
||||||
|
|
||||||
o2PumpOFF:
|
o2PumpOFF:
|
||||||
s d1 On 0
|
s O2Pump On 0
|
||||||
j checkH2
|
j checkH2
|
||||||
|
|
||||||
h2PumpON:
|
h2PumpON:
|
||||||
s d2 On 1
|
s H2Pump On 1
|
||||||
j checkO2
|
j checkO2
|
||||||
|
|
||||||
h2PumpOFF:
|
h2PumpOFF:
|
||||||
s d2 On 0
|
s H2Pump On 0
|
||||||
j checkO2
|
j checkO2
|
||||||
|
|
||||||
pumpsOFF:
|
pumpsOFF:
|
||||||
s d1 On 0
|
s O2Pump On 0
|
||||||
s d2 On 0
|
s H2Pump On 0
|
||||||
j checkO2
|
j checkO2
|
||||||
|
|
||||||
setLOW:
|
setLOW:
|
||||||
abs CurrentH2Setting PumpHighSetting
|
abs CurrentH2Setting PumpHighSetting
|
||||||
mul LowH2Setting CurrentH2Setting 0.5
|
mul LowH2Setting CurrentH2Setting 0.5
|
||||||
s d2 Setting LowH2Setting
|
s H2Pump Setting LowH2Setting
|
||||||
j resumePresCheck
|
j resumePresCheck
|
||||||
|
|
||||||
setHIGH:
|
setHIGH:
|
||||||
s d2 Setting PumpHighSetting
|
s H2Pump Setting PumpHighSetting
|
||||||
j resumePresCheck
|
j resumePresCheck
|
Loading…
Reference in New Issue
Block a user