fix: Se corrige inversion de valor.
This commit is contained in:
+2
-2
@@ -149,9 +149,9 @@ FUNCTION "FC2000_ZC_ED" : Void
|
||||
bitOffset := "DB2000_ED".ED[#for_i].Config_DirEntradaBit);
|
||||
|
||||
IF NOT "DB2000_ED".ED[#for_i].Config_HabilitarInvertir THEN
|
||||
"DB2000_ED".ED[#for_i].Estado_EntradaCanal := NOT #t_ValorEntrada;
|
||||
ELSE
|
||||
"DB2000_ED".ED[#for_i].Estado_EntradaCanal := #t_ValorEntrada;
|
||||
ELSE
|
||||
"DB2000_ED".ED[#for_i].Estado_EntradaCanal := NOT #t_ValorEntrada;
|
||||
END_IF;
|
||||
|
||||
END_IF;
|
||||
|
||||
Reference in New Issue
Block a user