pid correction via config file tbt

This commit is contained in:
gg 2023-11-07 16:57:58 +01:00
parent ca2fffabfc
commit 936647379a
4 changed files with 6 additions and 5 deletions

View File

@ -125,6 +125,7 @@ pid_mode: 0 # 0=FAST 1=MEDIUM 2=SLOW 4 = FIXED 5 = AUTOMATIC 6 = FLOW 7 = LEAK W
pid_level: 1
pid_speed: 1
tester_discharge_enable: no
pid_pressure_correction: 110
tempo_pre_riempimento: 0
pressione_pre_riempimento: 1000

View File

@ -82,6 +82,7 @@ tempo_svuotamento_2: 1
pressione_svuotamento_2: 100
canale_di_prova_2: 2
modello_etichetta: EtichettaR5_Montaggio_1prova.prn
pid_pressure_correction: 110
[autotest_leak]
enabled: true

View File

@ -299,7 +299,7 @@ class TecnaMarpossProvasetT3(ModbusComponent):
"FSL - Discharge limit": step.spec["flush_pressure"],
"PSQ - Next sequence program PSOUT mode": 0,
"RAMPS: T1 configuration": pid_ramps,
"PID: pressure correction": 100,
"PID: pressure correction": int(self.config["recipes_defaults"]["pid_pressure_correction"]),
"Various flags": 0b0000000000010000 if self.config["recipes_defaults"]["tester_discharge_enable"] == "yes" else 0b0000000000000000
}

View File

@ -56,7 +56,6 @@ class USB_586x(Component):
self.info = self.DeviceInformation()
self.info.Description = self.id
# self.info.DeviceNumber = -1
self.info.DeviceMode = 1
self.info.ModuleIndex = 0