optional tecna internal discharge

This commit is contained in:
neo-dl 2023-08-09 11:32:49 +02:00
parent d17cf5b1c3
commit 1956a4da8d
4 changed files with 4 additions and 1 deletions

View File

@ -126,6 +126,7 @@ warning_img:
pid_mode: 0 # 0=FAST 1=MEDIUM 2=SLOW 4 = FIXED 5 = AUTOMATIC 6 = FLOW 7 = LEAK WITH FLOW
pid_level: 1
pid_speed: 1
tecna_discharge_enable: no
tempo_pre_riempimento: 0
pressione_pre_riempimento: 1000

View File

@ -39,6 +39,7 @@ pressione_di_test_delta_massimo: 30
tempo_svuotamento: 1
pressione_svuotamento: 100
canale_di_prova: 0
tecna_discharge_enable: yes
[autotest_leak]
enabled: true

View File

@ -39,6 +39,7 @@ pressione_di_test_delta_massimo: 30
tempo_svuotamento: 1
pressione_svuotamento: 100
canale_di_prova: 0
tecna_discharge_enable: yes
[autotest_leak]
enabled: true

View File

@ -300,7 +300,7 @@ class TecnaMarpossProvasetT3(ModbusComponent):
"PSQ - Next sequence program PSOUT mode": 0,
"RAMPS: T1 configuration": pid_ramps,
"PID: pressure correction": 100,
"Various flags": 0b0000000000000000
"Various flags": 0b0000000000000000 if self.config["recipes_defaults"]["tecna_discharge_enable"]=="yes" else 0b0000000000010000
}
if self.model == "t3p":