diff --git a/.gitignore b/.gitignore index 8561404..81cd00c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -.vci/ +PLC/.vci/ CommitReport/ \ No newline at end of file diff --git a/HMI/ZC_ESTANDAR_ALIMENTACION-0.0.1.zal18 b/HMI/ZC_ESTANDAR_ALIMENTACION-0.0.1.zal18 deleted file mode 100644 index 227e309..0000000 Binary files a/HMI/ZC_ESTANDAR_ALIMENTACION-0.0.1.zal18 and /dev/null differ diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2800_ED_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2800_ED_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2800_ED_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2800_ED_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2800_ED_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2800_ED_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2800_ED_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2800_ED_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2801_EA_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2801_EA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2801_EA_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2801_EA_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2801_EA_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2801_EA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2801_EA_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2801_EA_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2805_SD_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2805_SD_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2805_SD_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2805_SD_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2805_SD_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2805_SD_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2805_SD_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2805_SD_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2806_SA_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2806_SA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2806_SA_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2806_SA_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2806_SA_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2806_SA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2806_SA_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2806_SA_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2810_V_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2810_V_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2810_V_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2810_V_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2810_V_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2810_V_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2810_V_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2810_V_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2815_M_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2815_M_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2815_M_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2815_M_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2815_M_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2815_M_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2815_M_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2815_M_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2816_M_VF_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2816_M_VF_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2816_M_VF_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2816_M_VF_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2816_M_VF_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2816_M_VF_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2816_M_VF_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2816_M_VF_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2817_M_SINA_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2817_M_SINA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2817_M_SINA_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2817_M_SINA_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2817_M_SINA_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2817_M_SINA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2817_M_SINA_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2817_M_SINA_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2825_TOT_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2825_TOT_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2825_TOT_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2825_TOT_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2825_TOT_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2825_TOT_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2825_TOT_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2825_TOT_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2835_PID_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2835_PID_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2835_PID_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2835_PID_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2835_PID_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2835_PID_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2835_PID_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2835_PID_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2840_TQ_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2840_TQ_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2840_TQ_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2840_TQ_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2840_TQ_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2840_TQ_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2840_TQ_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2840_TQ_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2841_TQ_AE_MUX.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2841_TQ_AE_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2841_TQ_AE_MUX.s7dcl rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2841_TQ_AE_MUX.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2841_TQ_AE_MUX.s7res b/PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2841_TQ_AE_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2841_TQ_AE_MUX.s7res rename to PLC/Bloques de programa/2000_Dispositivos/2800_Multiplexado/DB2841_TQ_AE_MUX.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7dcl index 2e4d103..b625dcd 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7dcl @@ -42,6 +42,40 @@ DATA_BLOCK DB2000_ED "ED"[0].Tiempos_TiempoDes := 0; { S7_MLC := "MLC_3vw" } ED[0] := (); + { S7_MLC := "MLC_334" } + ED[1] := (); + { S7_MLC := "MLC_3BG" } + ED[2] := (); + { S7_MLC := "MLC_3s6" } + ED[3] := (); + { S7_MLC := "MLC_3W8" } + ED[4] := (); + { S7_MLC := "MLC_eA" } + ED[5] := (); + { S7_MLC := "MLC_54t" } + ED[6] := (); + { S7_MLC := "MLC_4Zq" } + ED[7] := (); + { S7_MLC := "MLC_mj" } + ED[8] := (); + { S7_MLC := "MLC_34w" } + ED[9] := (); + { S7_MLC := "MLC_MZ" } + ED[10] := (); + { S7_MLC := "MLC_3bd" } + ED[11] := (); + { S7_MLC := "MLC_3kF" } + ED[12] := (); + { S7_MLC := "MLC_4GK" } + ED[13] := (); + { S7_MLC := "MLC_dV" } + ED[14] := (); + { S7_MLC := "MLC_4qr" } + ED[15] := (); + { S7_MLC := "MLC_4eS" } + ED[16] := (); + { S7_MLC := "MLC_56B" } + ED[17] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7res index 4aaaa01..f173742 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2000_ED.s7res @@ -7,3 +7,37 @@ es-ES: . - id: MLC_3vw es-ES: NO SE USA + - id: MLC_334 + es-ES: DP-201 + - id: MLC_3BG + es-ES: DP-202 + - id: MLC_3s6 + es-ES: DP-203 + - id: MLC_3W8 + es-ES: DP-204 + - id: MLC_eA + es-ES: DP-205 + - id: MLC_54t + es-ES: DP-206 + - id: MLC_4Zq + es-ES: DP-207 + - id: MLC_mj + es-ES: DP-208 + - id: MLC_34w + es-ES: DP-209 + - id: MLC_MZ + es-ES: DP-210 + - id: MLC_3bd + es-ES: DP-211 + - id: MLC_3kF + es-ES: DP-212 + - id: MLC_4GK + es-ES: DP-213 + - id: MLC_dV + es-ES: DP-214 + - id: MLC_4qr + es-ES: DP-215 + - id: MLC_4eS + es-ES: LL-201 + - id: MLC_56B + es-ES: LL-202 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7dcl index 65a0cb0..f28c19c 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7dcl @@ -55,6 +55,36 @@ DATA_BLOCK DB2001_EA EA[0].Aux_Estado := 0; { S7_MLC := "MLC_3VM" } EA[0] := (); + { S7_MLC := "MLC_3T7" } + EA[1] := (); + { S7_MLC := "MLC_4zB" } + EA[2] := (); + { S7_MLC := "MLC_4ni" } + EA[3] := (); + { S7_MLC := "MLC_jP" } + EA[4] := (); + { S7_MLC := "MLC_3ah" } + EA[5] := (); + { S7_MLC := "MLC_3qt" } + EA[6] := (); + { S7_MLC := "MLC_4fH" } + EA[7] := (); + { S7_MLC := "MLC_4Xs" } + EA[8] := (); + { S7_MLC := "MLC_4hy" } + EA[9] := (); + { S7_MLC := "MLC_4hs" } + EA[10] := (); + { S7_MLC := "MLC_4WC" } + EA[11] := (); + { S7_MLC := "MLC_3xK" } + EA[12] := (); + { S7_MLC := "MLC_47u" } + EA[13] := (); + { S7_MLC := "MLC_3S5" } + EA[14] := (); + { S7_MLC := "MLC_3S7" } + EA[15] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7res index 2786b8c..2c13e9d 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2001_EA.s7res @@ -7,3 +7,33 @@ es-ES: . - id: MLC_3VM es-ES: NO SE USA + - id: MLC_3T7 + es-ES: LT-201 + - id: MLC_4zB + es-ES: CT-201 + - id: MLC_4ni + es-ES: FT-201 + - id: MLC_jP + es-ES: TTI-201 + - id: MLC_3ah + es-ES: TTI-202 + - id: MLC_3qt + es-ES: TTI-203 + - id: MLC_4fH + es-ES: TTI-204 + - id: MLC_4Xs + es-ES: TTI-205 + - id: MLC_4hy + es-ES: TTI-206 + - id: MLC_4hs + es-ES: PTI-201 + - id: MLC_4WC + es-ES: PTI-202 + - id: MLC_3xK + es-ES: PTI-203 + - id: MLC_47u + es-ES: PTI-204 + - id: MLC_3S5 + es-ES: PTI-205 + - id: MLC_3S7 + es-ES: PTI-206 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7dcl index 0fc6682..9e7f3e0 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7dcl @@ -44,6 +44,8 @@ DATA_BLOCK DB2005_SD SD[0].Tiempos_TiempoDes := 0; { S7_MLC := "MLC_5C3" } SD[0] := (); + { S7_MLC := "MLC_4Xv" } + SD[1] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7res index 0265a66..3fd2ea5 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2005_SD.s7res @@ -7,3 +7,5 @@ es-ES: . - id: MLC_5C3 es-ES: NO SE USA + - id: MLC_4Xv + es-ES: Alimentacion videoregistrador diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7dcl index 56f8b88..ee7aa5e 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7dcl @@ -53,6 +53,12 @@ DATA_BLOCK DB2006_SA SA[0].Aux_Estado := 0; { S7_MLC := "MLC_4Nk" } SA[0] := (); + { S7_MLC := "MLC_4VS" } + SA[1] := (); + { S7_MLC := "MLC_Rp" } + SA[2] := (); + { S7_MLC := "MLC_4DF" } + SA[3] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7res index fdd4a21..69c11a9 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2006_SA.s7res @@ -7,3 +7,9 @@ es-ES: . - id: MLC_4Nk es-ES: NO SE USA + - id: MLC_4VS + es-ES: VPCT-201 + - id: MLC_Rp + es-ES: VPCT-202 + - id: MLC_4DF + es-ES: VPCP-203 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7dcl index f51dd8a..0b17e95 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7dcl @@ -59,6 +59,24 @@ DATA_BLOCK DB2010_V V[0].Tiempos_Ciclos := 0; { S7_MLC := "MLC_k3" } V[0] := (); + { S7_MLC := "MLC_4aA" } + V[1] := (); + { S7_MLC := "MLC_3Rt" } + V[2] := (); + { S7_MLC := "MLC_3p7" } + V[3] := (); + { S7_MLC := "MLC_3xp" } + V[4] := (); + { S7_MLC := "MLC_gX" } + V[5] := (); + { S7_MLC := "MLC_qs" } + V[6] := (); + { S7_MLC := "MLC_4VU" } + V[7] := (); + { S7_MLC := "MLC_4SC" } + V[8] := (); + { S7_MLC := "MLC_Wt" } + V[9] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7res index bf48948..e7972fb 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2010_V.s7res @@ -7,3 +7,21 @@ es-ES: . - id: MLC_k3 es-ES: NO SE USA + - id: MLC_4aA + es-ES: VA-401 + - id: MLC_3Rt + es-ES: VA-402 + - id: MLC_3p7 + es-ES: VA3-403 + - id: MLC_3xp + es-ES: VA4-404 + - id: MLC_gX + es-ES: VA3-405 + - id: MLC_qs + es-ES: VA-406 + - id: MLC_4VU + es-ES: VD-401 + - id: MLC_4SC + es-ES: VD-402 + - id: MLC_Wt + es-ES: VCT-401 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7dcl index 29a59cd..b4c82f4 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7dcl @@ -67,6 +67,8 @@ DATA_BLOCK DB2016_M_VF M_VF[0].Tiempos_Mantenimiento := 0.0; { S7_MLC := "MLC_4u6" } M_VF[0] := (); + { S7_MLC := "MLC_3HZ" } + M_VF[1] := (); Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7res index 17b77db..e3ab0b9 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.s7res @@ -7,3 +7,5 @@ es-ES: . - id: MLC_4u6 es-ES: NO SE USA + - id: MLC_3HZ + es-ES: B-401 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7dcl index 8763e99..f9fbaad 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7dcl @@ -47,6 +47,10 @@ DATA_BLOCK DB2025_TOT TOT[0].Aux_TotalizadorMem := 0.0; { S7_MLC := "MLC_54a" } TOT[0] := (); + { S7_MLC := "MLC_4xm" } + TOT[1] := (); + { S7_MLC := "MLC_3Fp" } + TOT[2] := (); TiempoCiclo.Actual := 28.50767; TiempoCiclo."Min" := 150.0; TiempoCiclo."Max" := 0.0; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7res index 9b03669..88e2b66 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2025_TOT.s7res @@ -7,3 +7,7 @@ es-ES: . - id: MLC_54a es-ES: NO SE USA + - id: MLC_4xm + es-ES: FT-401 + - id: MLC_3Fp + es-ES: FT-402 diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7dcl b/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7dcl index c4cc212..dbfd6fe 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7dcl +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7dcl @@ -57,6 +57,8 @@ DATA_BLOCK DB2035_PID "PID"[0].Aux_oldTd := 0.0; { S7_MLC := "MLC_5CL" } PID[0] := (); + { S7_MLC := "MLC_4WT" } + PID[1] := (); Agrup[0].AlgunaEnManual := TRUE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7res b/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7res index 23b2de5..86c9831 100644 --- a/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7res +++ b/PLC/Bloques de programa/2000_Dispositivos/DB2035_PID.s7res @@ -7,3 +7,5 @@ es-ES: . - id: MLC_5CL es-ES: NO SE USA + - id: MLC_4WT + es-ES: Calentamiento diff --git a/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7dcl b/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7dcl index 41ceba8..65d272a 100644 --- a/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7dcl +++ b/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7dcl @@ -6,7 +6,10 @@ } DATA_BLOCK DB6_ENTIDAD VAR RETAIN - { S7_Setpoint := "False" } + { + S7_MLC := "MLC_4LL"; + S7_Setpoint := "False" + } ENT : Array[0.._.N_MAX_ENTIDAD] of _.UDT_ZC_PRO_ENTIDAD; END_VAR @@ -41,6 +44,8 @@ DATA_BLOCK DB6_ENTIDAD ENT[0].Alarma.R_Bool_8 := FALSE; ENT[0].Dispositivo[1].Tipo := 0; ENT[0].Dispositivo[1].Num := 0; + { S7_MLC := "MLC_3Kt" } + ENT[0] := (); ENT[1].Habilitar := TRUE; ENT[1]."ID" := 1; ENT[1].Asignacion := 0; diff --git a/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7res b/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7res new file mode 100644 index 0000000..bad48bf --- /dev/null +++ b/PLC/Bloques de programa/6_Entidades/DB6_ENTIDAD.s7res @@ -0,0 +1,5 @@ +MultiLingualTexts: + - id: MLC_4LL + es-ES: . + - id: MLC_3Kt + es-ES: NO SE USA diff --git a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7dcl b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7dcl new file mode 100644 index 0000000..a75b812 --- /dev/null +++ b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7dcl @@ -0,0 +1,526 @@ +{ + S7_BlockNumber := "9"; + S7_BlockTitle := "MLC_57G"; + S7_Optimized := "TRUE"; + S7_PreferredLanguage := "LAD"; + S7_Version := "0.1" +} +FUNCTION "FC9_DISPOSITIVOS" : Void + VAR_TEMP + for_i : Int; + t_N_MAX : Int; + END_VAR + + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3QX" + } + NETWORK + (* + ============================================================================ + ZEUS CONTROL, S.A. + (c)Copyright (2020) All Rights Reserved + ----------------------------------------------------------------------------- + + Software: TIA Portal 15.1 + Restricciones: PLC serie 1500 + + + Nombre: GESTOR DE DISPOSITIVOS + Descripcion: Bloque de gestion de llamadas a las funciones de dispositivos y enclavamientos + + Change log: + Version Fecha Tecnico a cargo + 01.00.00 15.10.2020 (ABH) Primera version + 01.00.01 20.04.2022 (ABH) Se cambian las llamadas a SCL para mejor gestion del tiempo de ciclo. + 01.00.01 20.04.2022 (HCR) Se quita enclavamiento. + ============================================================================ + *) + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_45A" + } + NETWORK + + // Traspaso de N_MAX a variable temporal para evitar fallos de compilacion + #t_N_MAX := "N_MAX_SCADA"; + + // Scada[x] - xxxxxxx + FOR #for_i := 1 TO #t_N_MAX DO + "DB2800_ED_MUX".Mux.Scada[#for_i].Habilitar := + "DB2801_EA_MUX".Mux.Scada[#for_i].Habilitar := + "DB2805_SD_MUX".Mux.Scada[#for_i].Habilitar := + "DB2806_SA_MUX".Mux.Scada[#for_i].Habilitar := + "DB2810_V_MUX".Mux.Scada[#for_i].Habilitar := + "DB2815_M_MUX".Mux.Scada[#for_i].Habilitar := + "DB2816_M_VF_MUX".Mux.Scada[#for_i].Habilitar := + "DB2817_M_SINA_MUX".Mux.Scada[#for_i].Habilitar := + "DB2825_TOT_MUX".Mux.Scada[#for_i].Habilitar := + "DB2835_PID_MUX".Mux.Scada[#for_i].Habilitar := + "DB2840_TQ_MUX".Mux.Scada[#for_i].Habilitar := + "DB2841_TQ_AE_MUX".Mux.Scada[#for_i].Habilitar := TRUE; + END_FOR; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4ba" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4Yf" + } + NETWORK + + // ========================================================================================================== + // Entrada Digital + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2000_ED".ED[TAG].Estado_EntradaCanal := %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_V3" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3iH" + } + NETWORK + + // ========================================================================================================== + // Entrada Analogica + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2001_EA".EA[TAG].Estado_Lectura := %IW100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4CS" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3ci" + } + NETWORK + + // ========================================================================================================== + // Salida Digital + // Traspaso de valores de salida de los dispositivos configurados con tipo de acceso directo. + // Ejemplo: %QW100.0 := "DB2005_SD".SD[TAG].Estado_Salida; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3hM" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_38F" + } + NETWORK + + // ========================================================================================================== + // Salida Analogica + // Traspaso de valores de seguridad individual para cada dispositivo. + // Ejemplo: "DB2006_SA"".SA[TAG].Estado_SeguridadOk := NOT %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3HP" + } + NETWORK + + // ========================================================================================================== + // Salida Analogica + // Traspaso de valores de salida de los dispositivos configurados con tipo de acceso directo. + // Ejemplo: %QW100.0 := "DB2006_SA".SA[TAG].Estado_ValorTarjeta; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_YM" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3Yw" + } + NETWORK + + // ========================================================================================================== + // Valvula + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2010_V".V[TAG].Estado_EntradaRetornoReposo := %IW100.0; + // Ejemplo: "DB2010_V".V[TAG].Estado_EntradaRetornoTrabajo := %IW100.1; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_36k" + } + NETWORK + + // ========================================================================================================== + // Valvula + // Traspaso de valores de seguridad individual para cada dispositivo. + // Ejemplo: "DB2010_V".V[TAG].Estado_SeguridadOk := NOT %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3UP" + } + NETWORK + + // ========================================================================================================== + // Valvula + // Traspaso de valores de salida de los dispositivos configurados con tipo de acceso directo. + // Ejemplo: %Q100.0 := "DB2010_V".V[TAG].Estado_Salida; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_xg" + } + NETWORK + + REGION TRASPASO_VALORES_ENTRADAS + + // Traspaso de valores de entradas solo a dispositivos configurados + + + END_REGION TRASPASO_VALORES_ENTRADAS + + + REGION SEGURIDADES + + // ==================================================================== + // SEGURIDADES + + END_REGION SEGURIDADES + + + + + + REGION TRASPASO_VALORES_SALIDAS + + // Traspaso de valores de salidas solo a dispositivos configurados + + + END_REGION + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4dQ" + } + NETWORK + + // ========================================================================================================== + // Motor + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2015_M".M[TAG].Estado_EntradaConfMarcha := %IW100.0; + // Ejemplo: "DB2015_M".M[TAG].Estado_EntradaTermico := %IW100.1; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_qM" + } + NETWORK + + // ========================================================================================================== + // Motor + // Traspaso de valores de seguridad individual para cada dispositivo. + // Ejemplo: "DB2015_M".M[TAG].Estado_SeguridadOk := NOT %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_gL" + } + NETWORK + + // ========================================================================================================== + // Motor + // Traspaso de valores de salida de los dispositivos configurados con tipo de acceso directo. + // Ejemplo: %Q100.0 := "DB2015_M".M[TAG].Estado_Salida; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_sr" + } + NETWORK + + REGION TRASPASO_VALORES_ENTRADAS + + // Traspaso de valores de entradas solo a dispositivos configurados + + + END_REGION TRASPASO_VALORES_ENTRADAS + + + REGION SEGURIDADES + + // ==================================================================== + // SEGURIDADES + + END_REGION SEGURIDADES + + + + + + REGION TRASPASO_VALORES_SALIDAS + + // Traspaso de valores de salidas solo a dispositivos configurados + + + END_REGION + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_Zs" + } + NETWORK + + // ========================================================================================================== + // Motor variador + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2016_M_VF".M_VF[TAG].Estado_EntradaRetornoReposo := %IW100.0; + // Ejemplo: "DB2016_M_VF".M_VF[TAG].Estado_EntradaRetornoTrabajo := %IW100.1; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_fF" + } + NETWORK + + // ========================================================================================================== + // Motor variador + // Traspaso de valores de seguridad individual para cada dispositivo. + // Ejemplo: "DB2016_M_VF".M_VF[TAG].Estado_SeguridadOk := NOT %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4sf" + } + NETWORK + + // ========================================================================================================== + // Motor variador + // Traspaso de valores de salida de los dispositivos configurados con tipo de acceso directo. + // Ejemplo: %Q100.0 := "DB2016_M_VF".M_VF[TAG].Estado_Salida; + // Ejemplo: %QW100 := "DB2016_M_VF".M_VF[1].Estado_ValorTarjeta; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3GK" + } + NETWORK + + REGION TRASPASO_VALORES_ENTRADAS + + // Traspaso de valores de entradas solo a dispositivos configurados + + + END_REGION TRASPASO_VALORES_ENTRADAS + + + REGION SEGURIDADES + + // ==================================================================== + // SEGURIDADES + + END_REGION SEGURIDADES + + + + + + REGION TRASPASO_VALORES_SALIDAS + + // Traspaso de valores de salidas solo a dispositivos configurados + + + END_REGION + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4cA" + } + NETWORK + + // ========================================================================================================== + // Motor sinamics + // Traspaso de valores de entradas a los dispositivos configurados con tipo de acceso directo. + // Ejemplo: "DB2017_M_SINA".M_SINA[TAG].Estado_RetornoTermico := %IW100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_49Q" + } + NETWORK + + // ========================================================================================================== + // Motor sinamics + // Traspaso de valores de seguridad individual para cada dispositivo. + // Ejemplo: "DB2017_M_SINA".M_SINA[TAG].Estado_SeguridadOk := NOT %I100.0; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4Eg" + } + NETWORK + + END_NETWORK + { + S7_Language := "LAD"; + S7_NetworkTitle := "MLC_3Jk" + } + NETWORK + RUNG wire#powerrail + END_RUNG + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_Ms" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4wV" + } + NETWORK + + // ========================================================================================================== + // Tanque + // Llamada a bloque de control de tanque individual + // Ejemplo: + // "FC2940_ZC_TQ_INDV"(Pulso1seg:="DB1_SYS".Pulso1seg, + // Arranque:="DB1_SYS".ARRANQUE, + // EstadoBocaHombre:="DB2000_ED".ED[1].Estado_Activado, + // EstadoNivelBajo:="DB2000_ED".ED[1].Estado_Activado, + // EstadoNivelAlto:="DB2000_ED".ED[1].Estado_Activado, + // EstadoComOK:=TRUE, + // ValorNivelPresion:="DB2001_EA".EA[1].Estado_ValorIngenieria, + // ValorTemperatura:="DB2001_EA".EA[1].Estado_ValorIngenieria, + // HisteresisAltoNivelAgitacion:=10.0, + // HisteresisBajoNivelAgitacion:=10.0, + // HisteresisAltoNivelTemp:=10.0, + // HisteresisBajoNivelTemp:=10.0, + // TiempoTanqueVacio:=10, + // TiempoTanqueLLeno:=5, + // HabilitarFrecAgitacion:=TRUE, + // NumeroTanque:=1); + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4vZ" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4Tu" + } + NETWORK + + // ========================================================================================================== + // Tanque aire esteril + // Traspaso de valores de entradas y configuracion. + // Ejemplo: + // "DB2041_TQ_AE".TQ_AE[TAG].Estado_ValorPresion := "DB2001_EA".EA[TAG].Estado_ValorIngenieria; + // "DB2041_TQ_AE".TQ_AE[TAG].Config_PresionMaxTrabajo := PReal[3].Valor; + // "DB2041_TQ_AE".TQ_AE[TAG].Config_PresionMinTrabajo := PReal[4].Valor; + // "DB2041_TQ_AE".TQ_AE[TAG].Config_PresionMaxAlarma := PReal[5].Valor; + // "DB2041_TQ_AE".TQ_AE[TAG].Config_PresionMinAlarma := PReal[6].Valor; + // "DB2041_TQ_AE".TQ_AE[TAG].Tiempos_SetPointAlarmaMaxPresion := PInt[9].Valor; + // "DB2041_TQ_AE".TQ_AE[TAG].Tiempos_SetPointAlarmaMinPresion := PInt[10].Valor; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4hx" + } + NETWORK + + // ========================================================================================================== + // Tanque aire esteril + // Traspaso de valores de salida. + // Ejemplo: + // IF "DB2041_TQ_AE".TQ_AE[TAG].Salida_ValvulaDucha THEN + // "DB2010_V".V[TAG].Orden_ActivarAuto := TRUE; + // END_IF; + // IF "DB2041_TQ_AE".TQ_AE[TAG].Salida_ValvulaEsteril THEN + // "DB2010_V".V[TAG].Orden_ActivarAuto := TRUE; + // END_IF; + // IF "DB2041_TQ_AE".TQ_AE[TAG].Salida_ValvulaVenteo THEN + // "DB2010_V".V[TAG].Orden_ActivarAuto := TRUE; + // END_IF; + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_34u" + } + NETWORK + + + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_4GY" + } + NETWORK + + + + + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_47v" + } + NETWORK + + + // ====================================================================================== + // PID01 - + + + + END_NETWORK +END_FUNCTION diff --git a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7res b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7res new file mode 100644 index 0000000..b420106 --- /dev/null +++ b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_DISPOSITIVOS.s7res @@ -0,0 +1,75 @@ +MultiLingualTexts: + - id: MLC_57G + es-ES: GESTOR DE DISPOSITIVOS + - id: MLC_3QX + es-ES: DESCRIPCION + - id: MLC_45A + es-ES: Configuracion multiplexado + - id: MLC_4ba + es-ES: =============== ENTRADA DIGITAL + - id: MLC_4Yf + es-ES: Traspaso valores entradas + - id: MLC_V3 + es-ES: =============== ENTRADA ANALOGICA + - id: MLC_3iH + es-ES: Traspaso valores entradas + - id: MLC_4CS + es-ES: =============== SALIDA DIGITAL + - id: MLC_3ci + es-ES: Traspaso valores salidas + - id: MLC_3hM + es-ES: =============== SALIDA ANALOGICA + - id: MLC_38F + es-ES: Seguridades + - id: MLC_3HP + es-ES: Traspaso valores salidas + - id: MLC_YM + es-ES: '=============== VALVULA ' + - id: MLC_3Yw + es-ES: Traspaso valores entradas + - id: MLC_36k + es-ES: Seguridades + - id: MLC_3UP + es-ES: Traspaso valores salidas + - id: MLC_xg + es-ES: '=============== MOTOR ' + - id: MLC_4dQ + es-ES: Traspaso valores entradas + - id: MLC_qM + es-ES: Seguridades + - id: MLC_gL + es-ES: Traspaso valores salidas + - id: MLC_sr + es-ES: =============== MOTOR VARIADOR + - id: MLC_Zs + es-ES: Traspaso valores entradas + - id: MLC_fF + es-ES: Seguridades + - id: MLC_4sf + es-ES: Traspaso valores salidas + - id: MLC_3GK + es-ES: =============== MOTOR SINAMICS + - id: MLC_4cA + es-ES: Traspaso valores entradas + - id: MLC_49Q + es-ES: Seguridades + - id: MLC_4Eg + es-ES: '=============== TQ ' + - id: MLC_3Jk + es-ES: Gestion paro control temperatura + - id: MLC_Ms + es-ES: Tiempo maximo en estado limpio + - id: MLC_4wV + es-ES: Llamadas a tanques individuales + - id: MLC_4vZ + es-ES: =============== TQ Aire Esteril + - id: MLC_4Tu + es-ES: Traspaso valores entradas + - id: MLC_4hx + es-ES: Traspaso valores salidas + - id: MLC_34u + es-ES: =============== TOTALIZADOR + - id: MLC_4GY + es-ES: =============== MEDIAS + - id: MLC_47v + es-ES: =============== GESTION PID diff --git a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7dcl b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7dcl deleted file mode 100644 index c11cb7b..0000000 --- a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7dcl +++ /dev/null @@ -1,564 +0,0 @@ -{ - S7_BlockNumber := "9"; - S7_BlockTitle := "MLC_57G"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "0.1" -} -FUNCTION "FC9_GESTOR_DISPOSITIVOS" : Void - VAR_TEMP - for_i : Int; - t_N_MAX : Int; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3QX" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2020) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 15.1 - Restricciones: PLC serie 1500 - - - Nombre: GESTOR DE DISPOSITIVOS - Descripcion: Bloque de gestion de llamadas a las funciones de dispositivos y enclavamientos - - Change log: - Version Fecha Tecnico a cargo - 01.00.00 15.10.2020 (ABH) Primera version - 01.00.01 20.04.2022 (ABH) Se cambian las llamadas a SCL para mejor gestion del tiempo de ciclo. - 01.00.01 20.04.2022 (HCR) Se quita enclavamiento. - ============================================================================ - *) - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_45A" - } - NETWORK - - // Traspaso de N_MAX a variable temporal para evitar fallos de compilacion - #t_N_MAX := "N_MAX_SCADA"; - - // Scada[1] - xxxxxxx - FOR #for_i := 1 TO #t_N_MAX DO - "DB2800_ED_MUX".Mux.Scada[#for_i].Habilitar := - "DB2801_EA_MUX".Mux.Scada[#for_i].Habilitar := - "DB2805_SD_MUX".Mux.Scada[#for_i].Habilitar := - "DB2806_SA_MUX".Mux.Scada[#for_i].Habilitar := - "DB2810_V_MUX".Mux.Scada[#for_i].Habilitar := - "DB2815_M_MUX".Mux.Scada[#for_i].Habilitar := - "DB2816_M_VF_MUX".Mux.Scada[#for_i].Habilitar := - "DB2817_M_SINA_MUX".Mux.Scada[#for_i].Habilitar := - "DB2825_TOT_MUX".Mux.Scada[#for_i].Habilitar := - "DB2835_PID_MUX".Mux.Scada[#for_i].Habilitar := - "DB2840_TQ_MUX".Mux.Scada[#for_i].Habilitar := - "DB2841_TQ_AE_MUX".Mux.Scada[#for_i].Habilitar := TRUE; - END_FOR; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4ba" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - REGION LLAMADA_ED - - // ==================================================================== - // LLAMADA A MULTIPLEXADO ENTRADA DIGITAL - "FC2800_ZC_ED_MUX"("DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL ENTRADA DIGITAL - "FC2000_ZC_ED"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_ED - - - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_V3" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION - - - REGION LLAMADA_EA - - // ==================================================================== - // LLAMADA A MULTIPLEXADO ENTRADA ANALOGICA - "FC2801_ZC_EA_MUX"("DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL ENTRADA ANALOGICA - "FC2001_ZC_EA"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - END_REGION LLAMADA_EA - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4CS" - } - NETWORK - - REGION LLAMADA_SD - - // ==================================================================== - // LLAMADA A MULTIPLEXADO SALIDA DIGITAL - "FC2805_ZC_SD_MUX"("DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL SALIDA DIGITAL - "FC2005_ZC_SD"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - END_REGION LLAMADA_SD - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3hM" - } - NETWORK - - REGION SEGURIDADES - - // ==================================================================== - // SEGURIDADES - - - END_REGION SEGURIDADES - - - REGION LLAMADA_SA - - // ==================================================================== - // LLAMADA A MULTIPLEXADO SALIDA ANALOGICA - "FC2806_ZC_SA_MUX"("DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL SALIDA ANALOGICA - "FC2006_ZC_SA"(Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_SA - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_SALIDAS - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_YM" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - - REGION SEGURIDADES - - // ==================================================================== - // SEGURIDADES - - END_REGION SEGURIDADES - - - REGION LLAMADA_V - - // ==================================================================== - // LLAMADA A MULTIPLEXADO VALVULA - "FC2810_ZC_V_MUX"(Arranque:="DB1_SYS".ARRANQUE, - SeguridadesOK:=TRUE); - - // ==================================================================== - // LLAMADA A CONTROL VALVULA - "FC2010_ZC_V"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_V - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_xg" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - - REGION SEGURIDADES - - // ==================================================================== - // SEGURIDADES - - END_REGION SEGURIDADES - - - REGION LLAMADA_M - - // ==================================================================== - // LLAMADA A MULTIPLEXADO MOTOR - "FC2815_ZC_M_MUX"(Arranque := "DB1_SYS".ARRANQUE, - SeguridadesOk := TRUE); - - // ==================================================================== - // LLAMADA A CONTROL MOTOR - "FC2015_ZC_M"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_M - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_sr" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - - REGION SEGURIDADES - - // ==================================================================== - // SEGURIDADES - - END_REGION SEGURIDADES - - - REGION LLAMADA_M_VF - - // ==================================================================== - // LLAMADA A MULTIPLEXADO MOTOR VARIADOR - "FC2816_ZC_M_VF_MUX"(Arranque := "DB1_SYS".ARRANQUE, - SeguridadesOK := TRUE); - - // ==================================================================== - // LLAMADA A CONTROL MOTOR VARIADOR - "FC2016_ZC_M_VF"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_M_VF - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3GK" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - - REGION SEGURIDADES - - // ==================================================================== - // SEGURIDADES - - END_REGION SEGURIDADES - - - REGION LLAMADA_M_SINA - - // ==================================================================== - // LLAMADA A MULTIPLEXADO MOTOR VARIADOR - "FC2817_ZC_M_SINA_MUX"(Arranque := "DB1_SYS".ARRANQUE, - SeguridadesOk := TRUE); - - // ==================================================================== - // LLAMADA A CONTROL MOTOR VARIADOR - "DB2717_INST_M_SINA"(Pulso1seg := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK, - SeguridadesOK := TRUE, - UsuarioActual:="DB1_SYS".Usuario.Actual, - FechaHoraActual:="DB1_SYS".FechaHoraActual); - - END_REGION LLAMADA_M_SINA - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Eg" - } - NETWORK - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3qV" - } - NETWORK - - // ==================================================================== - // LLAMADA A CONTROL TQ - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3TD" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Ts" - } - NETWORK - - // ==================================================================== - // TIEMPO MAXIMO ESTADO LIMPIO - - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_sQ" - } - NETWORK - - (* "FC2039_ZC_TQ"(Pulso1seg := "DB1_SYS".Pulso1seg, - Arranque := "DB1_SYS".ARRANQUE); *) - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4vZ" - } - NETWORK - - REGION TRASPASO_VALORES_ENTRADAS - - // Traspaso de valores de entradas solo a dispositivos configurados - - - END_REGION TRASPASO_VALORES_ENTRADAS - - - REGION LLAMADA_TQ_AE - - // ==================================================================== - // LLAMADA A MULTIPLEXADO TANQUE AIRE ESTERIL - "FC2841_ZC_TQ_AE_MUX"(Arranque := "DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL TANQUE AIRE ESTERIL - "FC2041_ZC_TQ_AE"(Pulso1seg := "DB1_SYS".Pulso1seg, - Arranque := "DB1_SYS".ARRANQUE, - Ack := "DB1_SYS".ACK); - - END_REGION LLAMADA_TQ_AE - - - REGION TRASPASO_VALORES_SALIDAS - - // Traspaso de valores de salidas solo a dispositivos configurados - - - END_REGION - - - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_34u" - } - NETWORK - - REGION LLAMADA_TOT - - // ==================================================================== - // LLAMADA A MULTIPLEXADO TANQUE AIRE ESTERIL - "FC2825_ZC_TOT_MUX"(Arranque := "DB1_SYS".ARRANQUE); - - // ==================================================================== - // LLAMADA A CONTROL TOTALIZADOR - "FC2025_ZC_TOT"(Pulso100ms := "DB1_SYS".Pulso1seg, - Simulacion := "DB1_SYS".SIM, - Arranque := "DB1_SYS".ARRANQUE); - - END_REGION LLAMADA_TOT - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3hX" - } - NETWORK - - - REGION LLAMADA_TEMP_FF - - // ==================================================================== - // LLAMADA A CONTROL FLIP FLOP - "FC2026_ZC_FF"("DB1_SYS".Pulso1seg); - - // ==================================================================== - // LLAMADA A CONTROL FLIP FLOP SECUENCIAL - "FC2027_ZC_FF_SEC"("DB1_SYS".Pulso1seg); - - // ==================================================================== - // LLAMADA A CONTROL TEMPORIZADORES - "FC2028_ZC_TEMP"("DB1_SYS".Pulso1seg); - - END_REGION LLAMADA_TEMP_FF - - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4GY" - } - NETWORK - - - REGION LLAMADA_MEDIA - - // ==================================================================== - // LLAMADA A MEDIA - "FC2037_ZC_MEDIA"(Pulso1seg:="DB1_SYS".Pulso1seg); - - // ==================================================================== - // LLAMADA A MEDIA VOLUMEN - "FC2038_ZC_MEDIA_VOL"(Pulso1seg := "DB1_SYS".Pulso1seg); - - END_REGION LLAMADA_MEDIA - - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_47v" - } - NETWORK - // ====================================================================================== - // Gestion multiplexado - "FC2835_ZC_PID_MUX"("DB1_SYS".ARRANQUE); - - // ====================================================================================== - // PID01 - - - - - END_NETWORK -END_FUNCTION diff --git a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7res b/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7res deleted file mode 100644 index aaedb9f..0000000 --- a/PLC/Bloques de programa/9_Gestor_Dispositivos/FC9_GESTOR_DISPOSITIVOS.s7res +++ /dev/null @@ -1,43 +0,0 @@ -MultiLingualTexts: - - id: MLC_57G - es-ES: GESTOR DE DISPOSITIVOS - - id: MLC_3QX - es-ES: DESCRIPCION - - id: MLC_45A - es-ES: Configuracion multiplexado - - id: MLC_4ba - es-ES: =============== ENTRADA DIGITAL - - id: MLC_V3 - es-ES: =============== ENTRADA ANALOGICA - - id: MLC_4CS - es-ES: =============== SALIDA DIGITAL - - id: MLC_3hM - es-ES: =============== SALIDA ANALOGICA - - id: MLC_YM - es-ES: '=============== VALVULA ' - - id: MLC_xg - es-ES: '=============== MOTOR ' - - id: MLC_sr - es-ES: =============== MOTOR VARIADOR - - id: MLC_3GK - es-ES: =============== MOTOR SINAMICS - - id: MLC_4Eg - es-ES: '=============== TQ ' - - id: MLC_3qV - es-ES: Estado Comunicaciones Ok - - id: MLC_3TD - es-ES: Gestion paro control temperatura en funcion del modo de trabajo del circuito de las camisas - - id: MLC_3Ts - es-ES: Tiempo maximo en estado limpio - - id: MLC_sQ - es-ES: Llamada a bloque de funcion - - id: MLC_4vZ - es-ES: =============== TQ Aire Esteril - - id: MLC_34u - es-ES: =============== TOTALIZADOR - - id: MLC_3hX - es-ES: =============== TEMPORIZADORES Y FLIP FLOP - - id: MLC_4GY - es-ES: =============== MEDIAS - - id: MLC_47v - es-ES: =============== GESTION PID diff --git a/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7dcl b/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7dcl new file mode 100644 index 0000000..2940502 --- /dev/null +++ b/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7dcl @@ -0,0 +1,32 @@ +{ + S7_Author := "ABH"; + S7_BlockNumber := "51"; + S7_Family := "ZeusControl"; + S7_IECCheck := "TRUE"; + S7_Optimized := "TRUE"; + S7_PreferredLanguage := "LAD"; + S7_Version := "1.0" +} +FUNCTION "FC55_PROGRAMA_USUARIO" : Void + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_3ZS" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_zw" + } + NETWORK + + END_NETWORK + { + S7_Language := "SCL"; + S7_NetworkTitle := "MLC_h6" + } + NETWORK + + END_NETWORK +END_FUNCTION diff --git a/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7res b/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7res new file mode 100644 index 0000000..e101ff6 --- /dev/null +++ b/PLC/Bloques de programa/FC55_PROGRAMA_USUARIO.s7res @@ -0,0 +1,7 @@ +MultiLingualTexts: + - id: MLC_3ZS + es-ES: DESCRIPCION + - id: MLC_zw + es-ES: LLAMADAS A PROCESOS + - id: MLC_h6 + es-ES: OTROS diff --git a/PLC/Bloques de programa/OB1_MAIN.s7dcl b/PLC/Bloques de programa/OB1_MAIN.s7dcl deleted file mode 100644 index 0de85ca..0000000 --- a/PLC/Bloques de programa/OB1_MAIN.s7dcl +++ /dev/null @@ -1,420 +0,0 @@ -{ - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "0.1" -} -ORGANIZATION_BLOCK "OB1_MAIN" - VAR_TEMP - t_TiempoSP : Int; - t_LitrosSP : Real; - for_i : Int; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_X4" - } - NETWORK - IF "_borrar".traza THEN - "FC8_ZC_TRZ_REGISTRO"(FechaHora:="DB1_SYS".FechaHoraActual, - Registrar:=1, - Categoria:="TRZ_CAT_32_USER", - User:="DB1_SYS".Usuario.Actual, - CodInt_1:="_borrar".codigo, - CodInt_2:=0, - CodInt_3:=0, - CodInt_4:=0, - CodInt_5:=0, - CodReal_1:=0.0, - CodReal_2:=0.0); - "_borrar".traza := false; - END_IF; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3UH" - } - NETWORK - - "FC1_ZC_SISTEMA"(CPU_MarcasCiclo := "Clock_Byte", - CPU_MarcasSistema := "System_Byte", - RedProfinet := "Local~PROFINET_IO-System"); - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3FX" - } - NETWORK - RUNG wire#powerrail - "FC5_ZC_PROCESO"( - Pulso1Seg := "DB1_SYS".Pulso1seg, - Usuario := "DB1_SYS".Usuario.Actual, - FechaHoraActual := "DB1_SYS".FechaHoraActual, - PrimerArranque := "DB1_SYS".ARRANQUE, - SeguridadOk := "_borrar".seguridadesok, - ComunicacionesOk := "_borrar".comunicacionesok, - HabilitacionErrores := TRUE, - HabilitacionErroresEntidades := TRUE, - HabilitacionErroresDispositivos := TRUE, - HabilitacionAbortarErrores := TRUE, - TiempoPulsadores := 2, - PRO := "_borrar".PROCESO - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4zA" - } - NETWORK - RUNG wire#powerrail - "FC9_GESTOR_DISPOSITIVOS"() - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Bx" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4W3" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.Finalizado ) - I_Contact( "_borrar".PROCESO.Estado.Enclavado ) - Contact( "_borrar".seguridadesok ) - Coil( "_borrar".PROCESO.Pulsadores.Marcha.Permiso ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XX" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.EnMarcha ) - Coil( "_borrar".PROCESO.Pulsadores.Pausa.Permiso ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_hs" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.Pausado ) - Coil( "_borrar".PROCESO.Pulsadores.Reanudar.Permiso ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4gi" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.Pausado ) - wire#w1 - Coil( "_borrar".PROCESO.Pulsadores.Paro.Permiso ) - END_RUNG - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.EnError ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ge" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.EnError ) - Coil( "_borrar".PROCESO.Pulsadores.ResetErrores.Permiso ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_RP" - } - NETWORK - - "_borrar".PROCESO.Enclavamiento.Usuario[1] := - "_borrar".PROCESO.Enclavamiento.Usuario[2] := - "_borrar".PROCESO.Enclavamiento.Usuario[3] := - "_borrar".PROCESO.Enclavamiento.Usuario[4] := - "_borrar".PROCESO.Enclavamiento.Usuario[5] := - "_borrar".PROCESO.Enclavamiento.Usuario[6] := - "_borrar".PROCESO.Enclavamiento.Usuario[7] := - "_borrar".PROCESO.Enclavamiento.Usuario[8] := FALSE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_rD" - } - NETWORK - RUNG wire#powerrail - Contact( "_borrar".PROCESO.Estado.Finalizado ) - I_Contact( "_borrar".Enclavamiento ) - S_Coil( "_borrar".PROCESO.Enclavamiento.Usuario[1] ) - Move( - in := 20001, - out1 => "_borrar".PROCESO.Enclavamiento.Codigo - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Fa" - } - NETWORK - - "_borrar".PROCESO.Error.Usuario[1] := - "_borrar".PROCESO.Error.Usuario[2] := - "_borrar".PROCESO.Error.Usuario[3] := - "_borrar".PROCESO.Error.Usuario[4] := - "_borrar".PROCESO.Error.Usuario[5] := - "_borrar".PROCESO.Error.Usuario[6] := - "_borrar".PROCESO.Error.Usuario[7] := - "_borrar".PROCESO.Error.Usuario[8] := FALSE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3tc" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := "_borrar".PROCESO.EtapaActual, - in2 := 5 - ) - Contact( "_borrar".Error ) - S_Coil( "_borrar".PROCESO.Error.Usuario[1] ) - Move( - in := 1, - out1 => "_borrar".PROCESO.Error.Codigo - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3En" - } - NETWORK - - "_borrar".PROCESO.Aviso.Usuario[1] := - "_borrar".PROCESO.Aviso.Usuario[2] := - "_borrar".PROCESO.Aviso.Usuario[3] := - "_borrar".PROCESO.Aviso.Usuario[4] := - "_borrar".PROCESO.Aviso.Usuario[5] := - "_borrar".PROCESO.Aviso.Usuario[6] := - "_borrar".PROCESO.Aviso.Usuario[7] := - "_borrar".PROCESO.Aviso.Usuario[8] := FALSE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4GD" - } - NETWORK - RUNG wire#powerrail - Contact( "DB1_SYS"."ON" ) - Contact( "_borrar".Aviso ) - S_Coil( "_borrar".PROCESO.Aviso.Usuario[1] ) - Move( - in := 10001, - out1 => "_borrar".PROCESO.Aviso.Codigo - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4LT" - } - NETWORK - - //===================================================================================== - // Reset ventana de aviso - "_borrar".PROCESO.VentanaAviso.Mostrar := FALSE; - - //===================================================================================== - // Nombre Proceso - //===================================================================================== - // ID Proceso - "_borrar".PROCESO.ID := 100; - - //===================================================================================== - // Configuración secuencia - CASE "_borrar".PROCESO.EtapaActual OF - - "FIN_PROCESO": - #t_TiempoSP := 1; - #t_LitrosSP := 0.0; - - 0: - #t_TiempoSP := 1; - #t_LitrosSP := 0.0; - - 1: // - #t_TiempoSP := 0; - #t_LitrosSP := 0.0; - - 5: // - #t_TiempoSP := 10; - #t_LitrosSP := 0.0; - - 10: // - #t_TiempoSP := 10; - #t_LitrosSP := 0.0; - - ELSE - #t_TiempoSP := 1; - #t_LitrosSP := 0.0; - "_borrar".PROCESO.SaltoEtapa.CambioPosible := FALSE; - END_CASE; - - - //===================================================================================== - // Tiempo etapa y litros etapa - "_borrar".PROCESO.TiempoEtapa.SP := #t_TiempoSP; - "_borrar".PROCESO.LitrosEtapa.SP := #t_LitrosSP; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_QE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := "_borrar".PROCESO.EtapaActual, - in2 := 1 - ) - Contact( "_borrar".PROCESO.Aux.ErroresComprobados ) - Contact( "_borrar".PROCESO.Aux.EntidadesCargadas ) - Move( - in := 5, - out1 => "_borrar".PROCESO.EtapaSiguiente - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3tR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := "_borrar".PROCESO.EtapaActual, - in2 := 5 - ) - wire#w1 - S_Coil( "_borrar".PROCESO.TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( "_borrar".PROCESO.TiempoEtapa.Cumplido ) - Move( - in := 10, - out1 => "_borrar".PROCESO.EtapaSiguiente - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Z8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := "_borrar".PROCESO.EtapaActual, - in2 := 10 - ) - wire#w1 - S_Coil( "_borrar".PROCESO.TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( "_borrar".PROCESO.TiempoEtapa.Cumplido ) - Move( - in := "FIN_PROCESO", - out1 => "_borrar".PROCESO.EtapaSiguiente - ) - END_RUNG - END_NETWORK - { S7_Language := "LAD" } - NETWORK - RUNG wire#powerrail - "FC15151_ZC_MARCHA_PARO_SEC"( - Pulso1Seg := "DB1_SYS".Pulso1seg, - Seguridad := "_borrar".Seguridad, - Marcha := "_borrar".Marcha, - MP_SEC := "_borrar".MP[0] - ) - END_RUNG - RUNG wire#powerrail - "FC15151_ZC_MARCHA_PARO_SEC"( - Pulso1Seg := "DB1_SYS".Pulso1seg, - Seguridad := "_borrar".Seguridad, - Marcha := "_borrar".Marcha, - MP_SEC := "_borrar".MP[1] - ) - END_RUNG - END_NETWORK - { S7_Language := "LAD" } - NETWORK - RUNG wire#powerrail - "FC2926_ZC_FF_INDV"( - Pulso1Seg := "DB1_SYS".Pulso1seg, - FF := "_borrar".FF_PARO - ) - END_RUNG - END_NETWORK - { S7_Language := "LAD" } - NETWORK - RUNG wire#powerrail - "FC2927_ZC_FF_SEC_INDV"( - Pulso1Seg := "DB1_SYS".Pulso1seg, - FF_SEC := "_borrar".FF_SEC - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Rg" - } - NETWORK - RUNG wire#powerrail - "FC15_ZC_GEST_PREAL"( - PrimerCiclo := "DB1_SYS".ARRANQUE, - FechaHora := "DB1_SYS".FechaHoraActual, - Usuario := "DB1_SYS".Usuario.Actual, - PReal := "_borrar".PReal, - IndexTraza := 0, - ValorAnterior := "_borrar".PReal_ValorAnterior - ) - "FC16_ZC_GEST_PINT"( - PrimerCiclo := "DB1_SYS".ARRANQUE, - FechaHora := "DB1_SYS".FechaHoraActual, - Usuario := "DB1_SYS".Usuario.Actual, - PInt := "_borrar".PInt, - IndexTraza := 0, - ValorAnterior := "_borrar".PInt_ValorAnterior - ) - END_RUNG - END_NETWORK - { S7_Language := "SCL" } - NETWORK - - "FC7_ZC_TRZ_GESTOR"("DB1_SYS".Pulso1seg); - END_NETWORK -END_ORGANIZATION_BLOCK diff --git a/PLC/Bloques de programa/OB1_MAIN.s7res b/PLC/Bloques de programa/OB1_MAIN.s7res deleted file mode 100644 index 1df8c3d..0000000 --- a/PLC/Bloques de programa/OB1_MAIN.s7res +++ /dev/null @@ -1,43 +0,0 @@ -MultiLingualTexts: - - id: MLC_X4 - es-ES: Prueba traza usuario - - id: MLC_3UH - es-ES: Sistema - - id: MLC_3FX - es-ES: Llamada a gestor de procesos - - id: MLC_4zA - es-ES: Gesto de dispositivos - - id: MLC_3Bx - es-ES: =============== Permisos - - id: MLC_4W3 - es-ES: Permiso Marcha - - id: MLC_XX - es-ES: Permiso Pausa - - id: MLC_hs - es-ES: Permiso Continuar - - id: MLC_4gi - es-ES: Permiso Paro - - id: MLC_4Ge - es-ES: Permiso Reset errores - - id: MLC_RP - es-ES: =============== Enclavamientos proceso - - id: MLC_rD - es-ES: 'Enclavamiento 1 - ' - - id: MLC_3Fa - es-ES: =============== Alarmas proceso - - id: MLC_3tc - es-ES: Error 1 - Numero máximo intentos bomba envio - - id: MLC_3En - es-ES: =============== Avisos - - id: MLC_4GD - es-ES: 'Aviso 1 - ' - - id: MLC_4LT - es-ES: Configuración secuencia - - id: MLC_QE - es-ES: =============== Etapa 1 - Iniciando - - id: MLC_3tR - es-ES: '=============== Etapa 5 - ' - - id: MLC_Z8 - es-ES: '=============== Etapa 10 - ' - - id: MLC_Rg - es-ES: Parametros diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7res deleted file mode 100644 index ed9f8b6..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_Vf - es-ES: OB121_ProgrammingError diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7res deleted file mode 100644 index 41a0a4c..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_4gR - es-ES: OB122_IOAccessError diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7res deleted file mode 100644 index 34db8a7..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_eF - es-ES: OB40_HardwareInterrupt diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7res deleted file mode 100644 index 237d0d4..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_4H3 - es-ES: OB80_TimeErrorInterrupt diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7dcl deleted file mode 100644 index cd62ca9..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7dcl +++ /dev/null @@ -1,16 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockTitle := "MLC_3EY"; - S7_Family := "ZeusControl"; - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -ORGANIZATION_BLOCK "OB82_DiagnosticErrorInterrupt" - { S7_Language := "LAD" } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK -END_ORGANIZATION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7res deleted file mode 100644 index 8767545..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB82_DiagnosticErrorInterrupt.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_3EY - es-ES: OB82_DiagnosticErrorInterrupt diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7res deleted file mode 100644 index 14fe1fa..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_4gu - es-ES: OB83_PullOrPlugOfModules diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7res deleted file mode 100644 index 30dd70d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7res +++ /dev/null @@ -1,3 +0,0 @@ -MultiLingualTexts: - - id: MLC_45M - es-ES: OB86_RackOrStationFailure diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB1_SYS.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB1_SYS.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB1_SYS.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB1_SYS.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB1_SYS.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB1_SYS.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB1_SYS.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB1_SYS.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB3_CHECKSUM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB3_CHECKSUM.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/DB3_CHECKSUM.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/DB3_CHECKSUM.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FB3_ZC_CHECKSUM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FB3_ZC_CHECKSUM.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FB3_ZC_CHECKSUM.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FB3_ZC_CHECKSUM.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FC1_ZC_SISTEMA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FC1_ZC_SISTEMA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FC1_ZC_SISTEMA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FC1_ZC_SISTEMA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FC1_ZC_SISTEMA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FC1_ZC_SISTEMA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DatosSistema/FC1_ZC_SISTEMA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Datos/FC1_ZC_SISTEMA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7dcl similarity index 62% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7dcl index 3c47937..e637f12 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7dcl @@ -1,15 +1,12 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_xQ"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB100_Startup" VAR_TEMP - t_DummyInt : Int; + t_dummyInt : Int; END_VAR { @@ -20,14 +17,9 @@ ORGANIZATION_BLOCK "OB100_Startup" RUNG wire#powerrail { S7_Templates := "date_type := DTL" } RD_LOC_T( - RET_VAL => #t_DummyInt, + RET_VAL => #t_dummyInt, OUT => "DB1_SYS".FechaHoraNuevaManual ) END_RUNG END_NETWORK - { S7_Language := "LAD" } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK END_ORGANIZATION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7res similarity index 75% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7res index 761faf7..eacebc2 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB100_Startup.s7res +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB100_Startup.s7res @@ -1,5 +1,3 @@ MultiLingualTexts: - - id: MLC_xQ - es-ES: OB100_Startup - id: MLC_3Ju es-ES: Al arrancar, actualizamos la fecha y hora nueva para editar desde HMI/SCADA diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB121_ProgrammingError.s7dcl similarity index 70% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB121_ProgrammingError.s7dcl index 88ff0dc..6a8ab86 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB121_ProgrammingError.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB121_ProgrammingError.s7dcl @@ -1,11 +1,8 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_Vf"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB121_ProgrammingError" { S7_Language := "LAD" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB122_IO_AccessError.s7dcl similarity index 59% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB122_IO_AccessError.s7dcl index 38a04bb..b3c23c2 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB122_IOAccessError.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB122_IO_AccessError.s7dcl @@ -1,13 +1,10 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_4gR"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } -ORGANIZATION_BLOCK "OB122_IOAccessError" +ORGANIZATION_BLOCK "OB122_IO_AccessError" { S7_Language := "LAD" } NETWORK RUNG wire#powerrail diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl similarity index 70% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl index 88dc245..1828f22 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB40_HardwareInterrupt.s7dcl @@ -1,11 +1,8 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_eF"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB40_HardwareInterrupt" { S7_Language := "LAD" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl similarity index 70% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl index 79d9229..0a814dd 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB80_TimeErrorInterrupt.s7dcl @@ -1,11 +1,8 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_4H3"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB80_TimeErrorInterrupt" { S7_Language := "LAD" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl similarity index 70% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl index 7cbcb05..7386176 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB83_PullOrPlugOfModules.s7dcl @@ -1,11 +1,8 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_4gu"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB83_PullOrPlugOfModules" { S7_Language := "LAD" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl similarity index 70% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl index f63a9ad..3239e1d 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema/000_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_DiagnosticoHardware/OB86_RackOrStationFailure.s7dcl @@ -1,11 +1,8 @@ { - S7_Author := "ABH"; - S7_BlockTitle := "MLC_45M"; - S7_Family := "ZeusControl"; S7_IECCheck := "TRUE"; S7_Optimized := "TRUE"; S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" + S7_Version := "0.1" } ORGANIZATION_BLOCK "OB86_RackOrStationFailure" { S7_Language := "LAD" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7dcl new file mode 100644 index 0000000..a014809 --- /dev/null +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7dcl @@ -0,0 +1,328 @@ +{ + S7_BlockNumber := "50"; + S7_EditorMode := "SCL"; + S7_IECCheck := "TRUE"; + S7_Optimized := "TRUE"; + S7_Version := "0.1" +} +FUNCTION "FC50_MAIN" : Void + VAR_INPUT + { S7_MLC := "MLC_3wR" } + CPU_MarcasCiclo : Byte; + { S7_MLC := "MLC_3Se" } + CPU_MarcasSistema : Byte; + { S7_MLC := "MLC_4gv" } + RedProfinet : HW_IOSYSTEM; + { S7_MLC := "MLC_45H" } + SegGeneralDisp : Bool; + END_VAR + + { S7_Language := "SCL" } + NETWORK + REGION DESCRIPCION + (* + ###### (C)Copyright ZeusControl 2026 - 2026 + + --- + ### Información del Sistema + | Hardware Compatible | Entorno de Ingeniería | + |---------------------|-----------------------| + | PLC serie 1200/1500 | TIA Portal 18 | + + --- + > **Restricciones:** Ninguna. + + --- + ### Descripción Funcional + + Función central para la organizacion de llamadas previas al programa de usuario. + + En ella se realizan las siguientes acciones: + + - Llamada a FC sistema. + - Llamada a gestor dispositivos + - Llamada a dispositivos + - Llamada a multiplexados + + --- + ### Dependencias Requeridas + | Tipo | Elementos | + |------|-----------| + | FC | - | + | FB | - | + | DB | - | + | UDT | - | + + --- + ### Historial de Cambios + | Versión | Fecha | Técnico | Cambios | + |----------|------------|---------|---------| + | 01.00.00 | 21.07.2026 | (ABH) | Primera version. | + *) + END_REGION DESCRIPCION + + + // ========================================================================================================== + REGION PRE_PROGRAMA + + // ========================================================================================================== + REGION SISTEMA + + "FC1_ZC_SISTEMA"(CPU_MarcasCiclo := "Clock_Byte", + CPU_MarcasSistema := "System_Byte", + RedProfinet := "Local~PROFINET_IO-System"); + + END_REGION SISTEMA + + + // ========================================================================================================== + REGION DISPOSITIVOS + + // ========================================================================================================== + REGION LLAMADA_GESTOR_DISPOSITIVOS + + // Gestor dispositivos + "FC9_DISPOSITIVOS"(); + + END_REGION LLAMADA_GESTOR_DISPOSITIVOS + + + // ========================================================================================================== + REGION LLAMADA_ED + + // Gestion multiplexado + "FC2800_ZC_ED_MUX"("DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2000_ZC_ED"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_ED + + + // ========================================================================================================== + REGION LLAMADA_EA + + // Gestion multiplexado + "FC2801_ZC_EA_MUX"("DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2001_ZC_EA"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + END_REGION LLAMADA_EA + + + // ========================================================================================================== + REGION LLAMADA_SD + + // Gestion multiplexado + "FC2805_ZC_SD_MUX"("DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2005_ZC_SD"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_SD + + + // ========================================================================================================== + REGION LLAMADA_SA + + // Gestion multiplexado + "FC2806_ZC_SA_MUX"("DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2006_ZC_SA"(Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_SA + + + // ========================================================================================================== + REGION LLAMADA_V + + // Gestion multiplexado + "FC2810_ZC_V_MUX"(Arranque := "DB1_SYS".ARRANQUE, + SeguridadesOK := TRUE); + + // Gestion dispositivo + "FC2010_ZC_V"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_V + + + // ========================================================================================================== + REGION LLAMADA_M + + // Gestion multiplexado + "FC2815_ZC_M_MUX"(Arranque := "DB1_SYS".ARRANQUE, + SeguridadesOk := TRUE); + + // Gestion dispositivo + "FC2015_ZC_M"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_M + + + // ========================================================================================================== + REGION LLAMADA_M_VF + + // Gestion multiplexado + "FC2816_ZC_M_VF_MUX"(Arranque := "DB1_SYS".ARRANQUE, + SeguridadesOK := TRUE); + + // Gestion dispositivo + "FC2016_ZC_M_VF"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_M_VF + + + // ========================================================================================================== + REGION LLAMADA_M_SINA + + // Gestion multiplexado + "FC2817_ZC_M_SINA_MUX"(Arranque := "DB1_SYS".ARRANQUE, + SeguridadesOk := TRUE); + + // Gestion dispositivo + "DB2717_INST_M_SINA"(Pulso1seg := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK, + SeguridadesOK := #SegGeneralDisp, + UsuarioActual := "DB1_SYS".Usuario.Actual, + FechaHoraActual := "DB1_SYS".FechaHoraActual); + + END_REGION LLAMADA_M_SINA + + + // ========================================================================================================== + REGION LLAMADA_TQ + + // Gestion multiplexado + "FC2840_ZC_TQ_MUX"("DB1_SYS".ARRANQUE); + + + END_REGION LLAMADA_TQ + + + // ========================================================================================================== + REGION LLAMADA_TQ_AE + + // Gestion multiplexado + "FC2841_ZC_TQ_AE_MUX"(Arranque := "DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2041_ZC_TQ_AE"(Pulso1seg := "DB1_SYS".Pulso1seg, + Arranque := "DB1_SYS".ARRANQUE, + Ack := "DB1_SYS".ACK); + + END_REGION LLAMADA_TQ_AE + + + // ========================================================================================================== + REGION LLAMADA_TOT + + // Gestion multiplexado + "FC2825_ZC_TOT_MUX"(Arranque := "DB1_SYS".ARRANQUE); + + // Gestion dispositivo + "FC2025_ZC_TOT"(Pulso100ms := "DB1_SYS".Pulso1seg, + Simulacion := "DB1_SYS".SIM, + Arranque := "DB1_SYS".ARRANQUE); + + END_REGION LLAMADA_TOT + + + // ========================================================================================================== + REGION LLAMADA_TEMP_FF + + // Gestion dispositivo + "FC2026_ZC_FF"("DB1_SYS".Pulso1seg); + + // Gestion dispositivo + "FC2027_ZC_FF_SEC"("DB1_SYS".Pulso1seg); + + // Gestion dispositivo + "FC2028_ZC_TEMP"("DB1_SYS".Pulso1seg); + + END_REGION LLAMADA_TEMP_FF + + + // ========================================================================================================== + REGION LLAMADA_MEDIAS + + // Gestion dispositivo + "FC2037_ZC_MEDIA"(Pulso1seg := "DB1_SYS".Pulso1seg); + + // Gestion dispositivo + "FC2038_ZC_MEDIA_VOL"(Pulso1seg := "DB1_SYS".Pulso1seg); + + END_REGION LLAMADA_MEDIAS + + + // ========================================================================================================== + REGION LLAMADA_PID + + // Gestion multiplexado + "FC2835_ZC_PID_MUX"("DB1_SYS".ARRANQUE); + + END_REGION LLAMADA_PID + + END_REGION DISPOSITIVOS + + END_REGION PRE_PROGRAMA + + + // ========================================================================================================== + REGION PROGRAMA_USUARIO + + "FC55_PROGRAMA_USUARIO"(); + + END_REGION PROGRAMA_USUARIO + + + // ========================================================================================================== + REGION POST_PROGRAMA + + + + + END_REGION POST_PROGRAMA + + + + + + END_NETWORK +END_FUNCTION diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7res new file mode 100644 index 0000000..0299e32 --- /dev/null +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/FC50_MAIN.s7res @@ -0,0 +1,9 @@ +MultiLingualTexts: + - id: MLC_3wR + es-ES: Byte Marca de ciclo CPU + - id: MLC_3Se + es-ES: Byte Marcas de sistema + - id: MLC_4gv + es-ES: ID Profinet IO System + - id: MLC_45H + es-ES: Seguridad general dispositivos diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7dcl new file mode 100644 index 0000000..cb10450 --- /dev/null +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7dcl @@ -0,0 +1,27 @@ +{ + S7_BlockTitle := "MLC_3ck"; + S7_IECCheck := "TRUE"; + S7_Optimized := "TRUE"; + S7_PreferredLanguage := "LAD"; + S7_Version := "0.1" +} +ORGANIZATION_BLOCK "OB1_MAIN" + VAR_TEMP + for_i : Int; + END_VAR + + { + S7_Language := "LAD"; + S7_NetworkTitle := "MLC_hY" + } + NETWORK + RUNG wire#powerrail + "FC50_MAIN"( + CPU_MarcasCiclo := "Clock_Byte", + CPU_MarcasSistema := "System_Byte", + RedProfinet := "Local~PROFINET_IO-System", + SegGeneralDisp := TRUE + ) + END_RUNG + END_NETWORK +END_ORGANIZATION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7res new file mode 100644 index 0000000..2ec9e2b --- /dev/null +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/000_Sistema_Gestor/OB1_MAIN.s7res @@ -0,0 +1,5 @@ +MultiLingualTexts: + - id: MLC_3ck + es-ES: PRINCIPAL + - id: MLC_hY + es-ES: ===================== MAIN diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7dcl deleted file mode 100644 index 6046d78..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7dcl +++ /dev/null @@ -1,192 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockComment := "MLC_Qe"; - S7_BlockNumber := "15105"; - S7_BlockTitle := "MLC_4rc"; - S7_EditorMode := "SCL"; - S7_Family := "ZeusControl"; - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15105_ZC_CALCULO_CURVA" - VAR_INPUT - { S7_MLC := "MLC_5Bz" } - ValorActual : Real; - { S7_MLC := "MLC_tn" } - NumeroPuntos : Int := 10; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3eH" } - Valor : Real; - END_VAR - VAR - s_ValorActual : Real; - s_Valor : Real; - s_NumeroPuntos : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4k7" } - s_PuntoX : Array[1..#MAX_PUNTOS] of Real := [ - 10.0, - 20.0, - 30.0, - 40.0, - 50.0, - 60.0, - 70.0, - 80.0, - 90.0, - 100.0 - ]; - { S7_MLC := "MLC_4Nw" } - s_PuntoY : Array[1..#MAX_PUNTOS] of Real := [ - 10.0, - 20.0, - 30.0, - 40.0, - 50.0, - 60.0, - 70.0, - 80.0, - 90.0, - 100.0 - ]; - END_VAR - VAR_TEMP - for_i : Int; - dx : Real; - dy : Real; - END_VAR - VAR CONSTANT - { S7_MLC := "MLC_WH" } - MAX_PUNTOS : Int := 10; - END_VAR - - { S7_Language := "SCL" } - NETWORK - REGION DESCRIPCION - //======================================================================= - // (C)Copyright ZeusControl 2023 - 2023 - //======================================================================= - (* - ### Información del Sistema - | Hardware Compatible | Entorno de Ingeniería | - |---------------------|-----------------------| - | PLC serie 1200/1500 | TIA Portal 18 | - - --- - ### Descripción Funcional - El bloque `FB15105_ZC_CALCULO_CURVA` implementa una función de interpolación lineal por tramos sobre una curva configurable de hasta `#MAX_PUNTOS` puntos `(X, Y)`. A partir de un valor de entrada `ValorActual`, devuelve el valor de salida interpolado `Valor`, permitiendo linealizar señales no lineales como sondas de nivel, curvas de bombas o perfiles de consigna. - - Funcionalidades principales: - - Validación del número de puntos activos: `#NumeroPuntos` se acota entre 2 (mínimo necesario para definir un segmento) y la constante de dimensionamiento `#MAX_PUNTOS`. - - Relleno automático: los puntos no utilizados por encima de `#s_NumeroPuntos` se rellenan con el último valor válido, manteniendo la coherencia del array para los cálculos posteriores. - - Corrección de monotonía: se fuerza la coordenada `X` a ser monótona creciente o igual hacia adelante, evitando inversiones de tramo que producirían divisiones por `dx` negativas o nulas. - - Saturación de entrada: si `#ValorActual` está por debajo del primer punto, la salida toma directamente el primer `Y`; si está por encima del último, toma el último `Y`, abortando el resto del escaneo para optimizar el tiempo de ciclo. - - Búsqueda del segmento activo: recorre los `#MAX_PUNTOS - 1` segmentos y detecta aquel en el que se encuentra el valor de entrada. - - Interpolación lineal: calcula los deltas `dx` y `dy` del segmento y aplica la ecuación `Y = (X - X1) * (dY / dX) + Y1`. En caso de `dx` nulo (tramo vertical o degenerado) se asigna directamente el `Y` del extremo inferior para evitar división por cero. - - Publicación del resultado en la salida `#Valor` una vez finalizado el cálculo. - - > **Restricciones:** Ninguna. - - --- - ### Dependencias Requeridas - | Tipo | Elementos | - |------|-----------| - | FC | - | - | FB | - | - | DB | - | - | UDT | - | - - --- - ### Historial de Cambios - | Versión | Fecha | Técnico | Cambios | - |----------|------------|---------|---------| - | 01.00.00 | 02.10.2023 | (ABH) | Primera versión. | - *) - END_REGION DESCRIPCION - - - // =============================================================================================================== - REGION LIMITES_VALORES - - #s_ValorActual := #ValorActual; - #s_NumeroPuntos := #NumeroPuntos; - - // Límite en configuración de número de puntos activos - IF #s_NumeroPuntos < 2 THEN - #s_NumeroPuntos := 2; // Una curva necesita mínimo 2 puntos (X1, Y1) a (X2, Y2) - ELSIF #s_NumeroPuntos > #MAX_PUNTOS THEN - #s_NumeroPuntos := #MAX_PUNTOS; - END_IF; - - // Relleno automático de los puntos no utilizados con el último valor válido - FOR #for_i := #s_NumeroPuntos TO #MAX_PUNTOS DO - #s_PuntoX[#for_i] := #s_PuntoX[#s_NumeroPuntos]; - #s_PuntoY[#for_i] := #s_PuntoY[#s_NumeroPuntos]; - END_FOR; - - // Corrección de monotonía (Asegurar que X siempre sea creciente o igual) - FOR #for_i := #MAX_PUNTOS TO 2 BY -1 DO - IF #s_PuntoX[#for_i] < #s_PuntoX[#for_i - 1] THEN - #s_PuntoX[#for_i] := #s_PuntoX[#for_i - 1]; - END_IF; - END_FOR; - - // Saturación del valor de entrada a los extremos de la curva configurada - IF #s_ValorActual <= #s_PuntoX[1] THEN - #s_ValorActual := #s_PuntoX[1]; - #s_Valor := #s_PuntoY[1]; - #Valor := #s_Valor; - RETURN; // Si está por debajo, asignamos y abortamos scan (Optimización) - - ELSIF #s_ValorActual >= #s_PuntoX[#MAX_PUNTOS] THEN - #s_ValorActual := #s_PuntoX[#MAX_PUNTOS]; - #s_Valor := #s_PuntoY[#MAX_PUNTOS]; - #Valor := #s_Valor; - RETURN; // Si está por encima, asignamos y abortamos scan - END_IF; - - END_REGION LIMITES_VALORES - - - // =============================================================================================================== - REGION CALCULO_SALIDA - - // Búsqueda del segmento activo e interpolación lineal - FOR #for_i := 1 TO (#MAX_PUNTOS - 1) DO - - IF (#s_ValorActual >= #s_PuntoX[#for_i]) AND (#s_ValorActual <= #s_PuntoX[#for_i + 1]) THEN - - // Cálculo de deltas - #dx := #s_PuntoX[#for_i + 1] - #s_PuntoX[#for_i]; - #dy := #s_PuntoY[#for_i + 1] - #s_PuntoY[#for_i]; - - // Proteccion por división por Cero - IF #dx <= 0.0 THEN - #s_Valor := #s_PuntoY[#for_i]; // Tramo vertical o nulo - ELSE - // Ecuación de la recta: Y = (X - X1) * (dY / dX) + Y1 - #s_Valor := ((#s_ValorActual - #s_PuntoX[#for_i]) * (#dy / #dx)) + #s_PuntoY[#for_i]; - END_IF; - - // Segmento encontrado y calculado. Cortamos el bucle inmediatamente. - EXIT; - END_IF; - - END_FOR; - - END_REGION CALCULO_SALIDA - - - // =============================================================================================================== - REGION SALIDA - - #Valor := #s_Valor; - - END_REGION SALIDA - - - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7res deleted file mode 100644 index 54fe936..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15105_ZC_CALCULO_CURVA.s7res +++ /dev/null @@ -1,17 +0,0 @@ -MultiLingualTexts: - - id: MLC_4rc - es-ES: FB15105_ZC_CALCULO_CURVA - - id: MLC_Qe - es-ES: Bloque de funcion para calculo curva de 10 puntos maximo. - - id: MLC_5Bz - es-ES: Valor actual - - id: MLC_tn - es-ES: Numero de puntos - - id: MLC_3eH - es-ES: Valor resultante curva - - id: MLC_4k7 - es-ES: Valor X - - id: MLC_4Nw - es-ES: Valor Y - - id: MLC_WH - es-ES: Numero maximo de puntos diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15102_ZC_CALCULO_FCV_UF.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15104_ZC_CALCULO_LIMP_2_MOD.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FB15106_ZC_CALCULO_LIMP_4_MOD.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FC15103_ZC_CALCULO_RAMPA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FC15103_ZC_CALCULO_RAMPA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FC15103_ZC_CALCULO_RAMPA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FC15103_ZC_CALCULO_RAMPA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FC15103_ZC_CALCULO_RAMPA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FC15103_ZC_CALCULO_RAMPA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Calculos/FC15103_ZC_CALCULO_RAMPA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Calculos/FC15103_ZC_CALCULO_RAMPA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15025_ZC_CONTADOR_TIEMPO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Contadores/FC15027_ZC_CONTADOR_MINUTOS.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15000_ZC_INT_TO_TIME.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15000_ZC_INT_TO_TIME.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15000_ZC_INT_TO_TIME.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15000_ZC_INT_TO_TIME.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15000_ZC_INT_TO_TIME.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15000_ZC_INT_TO_TIME.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15000_ZC_INT_TO_TIME.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15000_ZC_INT_TO_TIME.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15001_ZC_INT_TO_STRING.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15001_ZC_INT_TO_STRING.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15001_ZC_INT_TO_STRING.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15001_ZC_INT_TO_STRING.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15001_ZC_INT_TO_STRING.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15001_ZC_INT_TO_STRING.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15001_ZC_INT_TO_STRING.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15001_ZC_INT_TO_STRING.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15003_ZC_REAL_TO_STRING.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15003_ZC_REAL_TO_STRING.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15003_ZC_REAL_TO_STRING.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15003_ZC_REAL_TO_STRING.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15003_ZC_REAL_TO_STRING.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15003_ZC_REAL_TO_STRING.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15003_ZC_REAL_TO_STRING.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15003_ZC_REAL_TO_STRING.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15005_ZC_DTL_TO_ZC_FECHA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15006_ZC_DTL_TO_STRING.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15006_ZC_DTL_TO_STRING.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15006_ZC_DTL_TO_STRING.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15006_ZC_DTL_TO_STRING.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15006_ZC_DTL_TO_STRING.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15006_ZC_DTL_TO_STRING.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Conversiones/FC15006_ZC_DTL_TO_STRING.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Conversiones/FC15006_ZC_DTL_TO_STRING.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Pulsadores/FC15026_ZC_PULSADOR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Pulsadores/FC15026_ZC_PULSADOR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Pulsadores/FC15026_ZC_PULSADOR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Pulsadores/FC15026_ZC_PULSADOR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Pulsadores/FC15026_ZC_PULSADOR.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Pulsadores/FC15026_ZC_PULSADOR.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades/100_Pulsadores/FC15026_ZC_PULSADOR.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/100_Utilidades_Pulsadores/FC15026_ZC_PULSADOR.s7res diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2717_INST_M_SINA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/DB2717_INST_M_SINA.s7dcl similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2717_INST_M_SINA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/DB2717_INST_M_SINA.s7dcl diff --git a/PLC/Bloques de programa/2000_Dispositivos/DB2717_INST_M_SINA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/DB2717_INST_M_SINA.s7res similarity index 100% rename from PLC/Bloques de programa/2000_Dispositivos/DB2717_INST_M_SINA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/DB2717_INST_M_SINA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB15049_ZC_AIRE_ESTERIL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB15049_ZC_AIRE_ESTERIL.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB15049_ZC_AIRE_ESTERIL.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB15049_ZC_AIRE_ESTERIL.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB15049_ZC_AIRE_ESTERIL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB15049_ZC_AIRE_ESTERIL.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB15049_ZC_AIRE_ESTERIL.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB15049_ZC_AIRE_ESTERIL.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB2017_ZC_M_SINA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB2017_ZC_M_SINA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB2017_ZC_M_SINA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB2017_ZC_M_SINA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB2017_ZC_M_SINA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB2017_ZC_M_SINA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FB2017_ZC_M_SINA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FB2017_ZC_M_SINA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2000_ZC_ED.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2000_ZC_ED.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2000_ZC_ED.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2000_ZC_ED.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2000_ZC_ED.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2000_ZC_ED.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2000_ZC_ED.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2000_ZC_ED.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2001_ZC_EA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2001_ZC_EA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2001_ZC_EA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2001_ZC_EA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2001_ZC_EA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2001_ZC_EA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2001_ZC_EA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2001_ZC_EA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2005_ZC_SD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2005_ZC_SD.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2005_ZC_SD.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2005_ZC_SD.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2005_ZC_SD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2005_ZC_SD.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2005_ZC_SD.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2005_ZC_SD.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2006_ZC_SA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2006_ZC_SA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2006_ZC_SA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2006_ZC_SA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2006_ZC_SA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2006_ZC_SA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2006_ZC_SA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2006_ZC_SA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2010_ZC_V.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2010_ZC_V.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2010_ZC_V.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2010_ZC_V.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2010_ZC_V.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2010_ZC_V.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2010_ZC_V.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2010_ZC_V.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2015_ZC_M.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2015_ZC_M.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2015_ZC_M.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2015_ZC_M.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2015_ZC_M.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2015_ZC_M.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2015_ZC_M.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2015_ZC_M.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2016_ZC_M_VF.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2016_ZC_M_VF.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2016_ZC_M_VF.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2016_ZC_M_VF.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2016_ZC_M_VF.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2016_ZC_M_VF.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2016_ZC_M_VF.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2016_ZC_M_VF.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2025_ZC_TOT.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2025_ZC_TOT.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2025_ZC_TOT.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2025_ZC_TOT.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2025_ZC_TOT.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2025_ZC_TOT.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2025_ZC_TOT.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2025_ZC_TOT.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2026_ZC_FF.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2026_ZC_FF.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2026_ZC_FF.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2026_ZC_FF.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2026_ZC_FF.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2026_ZC_FF.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2026_ZC_FF.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2026_ZC_FF.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2027_ZC_FF_SEC.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2027_ZC_FF_SEC.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2027_ZC_FF_SEC.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2027_ZC_FF_SEC.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2027_ZC_FF_SEC.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2027_ZC_FF_SEC.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2027_ZC_FF_SEC.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2027_ZC_FF_SEC.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2028_ZC_TEMP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2028_ZC_TEMP.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2028_ZC_TEMP.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2028_ZC_TEMP.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2028_ZC_TEMP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2028_ZC_TEMP.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2028_ZC_TEMP.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2028_ZC_TEMP.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2037_ZC_MEDIA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2037_ZC_MEDIA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2037_ZC_MEDIA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2037_ZC_MEDIA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2037_ZC_MEDIA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2037_ZC_MEDIA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2037_ZC_MEDIA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2037_ZC_MEDIA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2038_ZC_MEDIA_VOL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2038_ZC_MEDIA_VOL.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2038_ZC_MEDIA_VOL.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2038_ZC_MEDIA_VOL.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2038_ZC_MEDIA_VOL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2038_ZC_MEDIA_VOL.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2038_ZC_MEDIA_VOL.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2038_ZC_MEDIA_VOL.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2041_ZC_TQ_AE.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2041_ZC_TQ_AE.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2041_ZC_TQ_AE.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2041_ZC_TQ_AE.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2041_ZC_TQ_AE.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2041_ZC_TQ_AE.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/FC2041_ZC_TQ_AE.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/FC2041_ZC_TQ_AE.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2926_ZC_FF_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2926_ZC_FF_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2926_ZC_FF_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2926_ZC_FF_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2926_ZC_FF_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2926_ZC_FF_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2926_ZC_FF_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2926_ZC_FF_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2927_ZC_FF_SEC_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2927_ZC_FF_SEC_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2927_ZC_FF_SEC_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2927_ZC_FF_SEC_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2927_ZC_FF_SEC_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2927_ZC_FF_SEC_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2927_ZC_FF_SEC_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2927_ZC_FF_SEC_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2928_ZC_TON_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2928_ZC_TON_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2928_ZC_TON_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2928_ZC_TON_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2928_ZC_TON_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2928_ZC_TON_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2928_ZC_TON_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2928_ZC_TON_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2929_ZC_TOF_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2929_ZC_TOF_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2929_ZC_TOF_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2929_ZC_TOF_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2929_ZC_TOF_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2929_ZC_TOF_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2929_ZC_TOF_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2929_ZC_TOF_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2930_ZC_TONR_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2930_ZC_TONR_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2930_ZC_TONR_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2930_ZC_TONR_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2930_ZC_TONR_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2930_ZC_TONR_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2930_ZC_TONR_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2930_ZC_TONR_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2931_ZC_TP_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2931_ZC_TP_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2931_ZC_TP_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2931_ZC_TP_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2931_ZC_TP_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2931_ZC_TP_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2931_ZC_TP_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2931_ZC_TP_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2935_ZC_PID_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2935_ZC_PID_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2935_ZC_PID_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2935_ZC_PID_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2935_ZC_PID_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2935_ZC_PID_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2935_ZC_PID_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2935_ZC_PID_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2937_ZC_MEDIA_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2937_ZC_MEDIA_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2937_ZC_MEDIA_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2937_ZC_MEDIA_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2937_ZC_MEDIA_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2937_ZC_MEDIA_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2937_ZC_MEDIA_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2937_ZC_MEDIA_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2938_ZC_MEDIA_VOL_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2940_ZC_TQ_INDV.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2940_ZC_TQ_INDV.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2940_ZC_TQ_INDV.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2940_ZC_TQ_INDV.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2940_ZC_TQ_INDV.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2940_ZC_TQ_INDV.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Individuales/FC2940_ZC_TQ_INDV.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Individuales/FC2940_ZC_TQ_INDV.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2800_ZC_ED_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2800_ZC_ED_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2800_ZC_ED_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2800_ZC_ED_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2800_ZC_ED_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2800_ZC_ED_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2800_ZC_ED_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2800_ZC_ED_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2801_ZC_EA_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2801_ZC_EA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2801_ZC_EA_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2801_ZC_EA_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2801_ZC_EA_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2801_ZC_EA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2801_ZC_EA_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2801_ZC_EA_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2805_ZC_SD_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2805_ZC_SD_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2805_ZC_SD_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2805_ZC_SD_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2805_ZC_SD_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2805_ZC_SD_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2805_ZC_SD_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2805_ZC_SD_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2806_ZC_SA_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2806_ZC_SA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2806_ZC_SA_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2806_ZC_SA_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2806_ZC_SA_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2806_ZC_SA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2806_ZC_SA_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2806_ZC_SA_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2810_ZC_V_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2810_ZC_V_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2810_ZC_V_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2810_ZC_V_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2810_ZC_V_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2810_ZC_V_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2810_ZC_V_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2810_ZC_V_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2815_ZC_M_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2815_ZC_M_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2815_ZC_M_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2815_ZC_M_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2815_ZC_M_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2815_ZC_M_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2815_ZC_M_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2815_ZC_M_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2816_ZC_M_VF_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2816_ZC_M_VF_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2816_ZC_M_VF_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2816_ZC_M_VF_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2816_ZC_M_VF_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2816_ZC_M_VF_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2816_ZC_M_VF_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2816_ZC_M_VF_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2817_ZC_M_SINA_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2817_ZC_M_SINA_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2817_ZC_M_SINA_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2817_ZC_M_SINA_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2817_ZC_M_SINA_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2817_ZC_M_SINA_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2817_ZC_M_SINA_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2817_ZC_M_SINA_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2825_ZC_TOT_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2825_ZC_TOT_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2825_ZC_TOT_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2825_ZC_TOT_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2825_ZC_TOT_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2825_ZC_TOT_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2825_ZC_TOT_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2825_ZC_TOT_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2835_ZC_PID_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2835_ZC_PID_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2835_ZC_PID_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2835_ZC_PID_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2835_ZC_PID_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2835_ZC_PID_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2835_ZC_PID_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2835_ZC_PID_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2840_ZC_TQ_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2840_ZC_TQ_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2840_ZC_TQ_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2840_ZC_TQ_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2840_ZC_TQ_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2840_ZC_TQ_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2840_ZC_TQ_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2840_ZC_TQ_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/FC2841_ZC_TQ_AE_MUX.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7dcl deleted file mode 100644 index 48b93cb..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7dcl +++ /dev/null @@ -1,250 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockComment := "MLC_5BV"; - S7_BlockNumber := "15153"; - S7_BlockTitle := "MLC_32s"; - S7_EditorMode := "SCL"; - S7_Family := "ZeusControl"; - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15153_ZC_MARCHA_SEC_B_MEM" - VAR_INPUT - { S7_MLC := "MLC_3iY" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_3J6" } - MarchaSecuencia : Bool; - { S7_MLC := "MLC_mu" } - EstadoBombaPresionVF : Bool; - { S7_MLC := "MLC_3rD" } - EstadoBombaPresion : Bool; - { S7_MLC := "MLC_57A" } - TiempoEntreBombas : Int := 10; - { S7_MLC := "MLC_3TH" } - NumeroBombasPresion : Int := 2; - { S7_MLC := "MLC_4hK" } - NumeroModulos : Int := 6; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_48x" } - MarchaBombaPresionVF : Bool; - { S7_MLC := "MLC_LX" } - MarchaBombaPresion : Bool; - { S7_MLC := "MLC_3Df" } - MarchaBombaModulo : Array[1..#N_MAX] of Bool; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TonPresion : Array[1..2] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3uF" } - (), - { S7_MLC := "MLC_3Ch" } - () - ]; - { S7_Setpoint := "False" } - s_TonModulos : Array[1..#N_MAX] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_nG" } - (), - { S7_MLC := "MLC_ME" } - (), - { S7_MLC := "MLC_Qf" } - (), - { S7_MLC := "MLC_33H" } - (), - { S7_MLC := "MLC_4F6" } - (), - { S7_MLC := "MLC_47K" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - { S7_MLC := "MLC_ij" } - t_NumBombasPresion : Int; - { S7_MLC := "MLC_43n" } - t_NumModulos : Int; - { S7_MLC := "MLC_xL" } - t_BombasPresionOk : Bool; - END_VAR - VAR CONSTANT - N_MAX : Int := 6; - END_VAR - - { S7_Language := "SCL" } - NETWORK - REGION DESCRIPCION - (* - ###### (C)Copyright ZeusControl 2023 - 2026 - - --- - ### Información del Sistema - | Hardware Compatible | Entorno de Ingeniería | - |---------------------|-----------------------| - | PLC serie 1200/1500 | TIA Portal 18 | - - --- - > **Restricciones:** Ninguna. - - --- - ### Descripción Funcional - - Bloque de gestión de marcha secuencial de bombas de una máquina de membranas. Implementa el arranque escalonado, en cascada y temporizado, de las bombas de presión y de las bombas de los módulos de la máquina, respetando el número de bombas y módulos configurados y utilizando temporizadores individuales no retentivos. - - Acciones detalladas: - - Limita el número de bombas de presión activas (`t_NumBombasPresion`) al rango válido `1`–`2`, acotando la entrada `NumeroBombasPresion`. - - Limita el número de módulos activos (`t_NumModulos`) al rango válido `1`–`N_MAX`, acotando la entrada `NumeroModulos`. - - Traslada el setpoint de temporización `TiempoEntreBombas` a todos los temporizadores de bombas de presión (`s_TonPresion[1..2]`) y de módulos (`s_TonModulos[1..N_MAX]`). - - Gestiona el arranque de las bombas de presión mediante dos temporizadores en cascada: primero la bomba de variador (`s_TonPresion[1]`) y, tras su confirmación y solo si hay 2 bombas configuradas, la segunda bomba de presión (`s_TonPresion[2]`). - - Calcula el flag `t_BombasPresionOk`, que indica que el conjunto de bombas de presión requerido está en marcha: con 1 bomba exige confirmación del variador, con 2 bombas exige confirmación de ambas. - - Arranca el módulo 1 (`s_TonModulos[1]`) directamente cuando las bombas de presión están OK. - - Arranca los módulos `2` a `N_MAX` en cascada, de forma que cada módulo espera a la confirmación del módulo anterior y a las bombas de presión OK; los módulos no configurados se fuerzan a `FALSE` por seguridad. - - Ejecuta los temporizadores llamando a la `FC` de temporización individual, lo que permite disponer de un `SP`, una `IN`, una salida `Q` y un tiempo transcurrido independientes por instancia. - - Genera las salidas finales: `MarchaBombaPresionVF` (variador), `MarchaBombaPresion` (segunda bomba) y `MarchaBombaModulo[1..N_MAX]` a partir de las salidas `Q` de los temporizadores correspondientes. - - --- - ### Dependencias Requeridas - | Tipo | Elementos | - |------|-----------| - | FC | `FC2928_ZC_TON_INDV` | - | FB | - | - | DB | - | - | UDT | - | - - --- - ### Historial de Cambios - | Versión | Fecha | Técnico | Cambios | - |----------|------------|---------|---------| - | 01.00.00 | 09.05.2023 | (ABH) | Primera version. | - | 01.00.01 | 19.05.2023 | (ABH) | Se añade parámetro de entrada para límite de número de bombas de presión. | - | 01.00.02 | 02.10.2023 | (ABH) | Se añade `FC22028_TON_INV` para gestión de temporizadores. | - | 01.00.03 | 02.11.2023 | (ABH) | Se añade gestión para 6 módulos. | - | 01.00.03 | 06.07.2026 | (ABH) | Cambio a SCL. Se refactoriza numero de modulos.| - *) - END_REGION DESCRIPCION - - - // ========================================================================================================== - REGION LIMITES - - // Limite numero de bombas presion - #t_NumBombasPresion := #NumeroBombasPresion; - IF #t_NumBombasPresion < 1 THEN - #t_NumBombasPresion := 1; - END_IF; - IF #t_NumBombasPresion > 2 THEN - #t_NumBombasPresion := 2; - END_IF; - - // Limite numero de bombas modulos - #t_NumModulos := #NumeroModulos; - IF #t_NumModulos < 1 THEN - #t_NumModulos := 1; - END_IF; - IF #t_NumModulos > #N_MAX THEN - #t_NumModulos := #N_MAX; - END_IF; - - END_REGION LIMITES - - - // ========================================================================================================== - REGION TRASPASO_DE_PARAMETROS - - // Traspaso de tiempos bomba presion - FOR #for_i := 1 TO 2 DO - #s_TonPresion[#for_i].SP := #TiempoEntreBombas; - END_FOR; - - // Traspaso de tiempos bomba modulos - FOR #for_i := 1 TO #N_MAX DO - #s_TonModulos[#for_i].SP := #TiempoEntreBombas; - END_FOR; - - END_REGION TRASPASO_DE_PARAMETROS - - - // ========================================================================================================== - REGION GESTION_BOMBAS_PRESION - - // Temporizador bomba Presion (Variador) - #s_TonPresion[1].IN := #MarchaSecuencia; - - // Temporizador bomba Presion - #s_TonPresion[2].IN := - (#t_NumBombasPresion = 2) AND - #EstadoBombaPresionVF AND - #s_TonPresion[1].Q; - - // Bombas presion arrancadas Ok - IF #t_NumBombasPresion = 1 THEN - #t_BombasPresionOk := #EstadoBombaPresionVF AND #s_TonPresion[1].Q; - ELSE - #t_BombasPresionOk := #EstadoBombaPresion AND #s_TonPresion[2].Q; - END_IF; - - END_REGION GESTION_BOMBAS_PRESION - - - // ========================================================================================================== - REGION GESTION_BOMBAS_MODULOS - - // El modulo 1 arranca directamente si las bombas de presion estan OK - #s_TonModulos[1].IN := #t_BombasPresionOk; - - // Los modulos 2 a N_MAX arrancan en cascada - FOR #for_i := 2 TO #N_MAX DO - - IF #for_i <= #t_NumModulos THEN - - // Si el módulo está dentro de la configuración, evalúa la cascada (Módulo anterior Q + bombas presion Ok) - #s_TonModulos[#for_i].IN := #s_TonModulos[#for_i - 1].Q AND #t_BombasPresionOk; - - ELSE - - // Forzado de seguridad a FALSE para módulos no instalados/configurados en esta máquina - #s_TonModulos[#for_i].IN := FALSE; - - END_IF; - - END_FOR; - - END_REGION GESTION_BOMBAS_MODULOS - - - // ========================================================================================================== - REGION GESTION_TEMPORIZADORES - - // Temporizadores bombas presion - FOR #for_i := 1 TO 2 DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TonPresion[#for_i]); - END_FOR; - - // Temporizadores bombas modulos - FOR #for_i := 1 TO #N_MAX DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TonModulos[#for_i]); - END_FOR; - - END_REGION GESTION_TEMPORIZADORES - - - // ========================================================================================================== - REGION SALIDAS - - // Bombas presion - #MarchaBombaPresionVF := #s_TonPresion[1].Q; - #MarchaBombaPresion := #s_TonPresion[2].Q; - - // Bombas modulos - FOR #for_i := 1 TO #N_MAX DO - - #MarchaBombaModulo[#for_i] := #s_TonModulos[#for_i].Q; - - END_FOR; - - END_REGION SALIDAS - - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7res deleted file mode 100644 index ca881c0..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15153_ZC_MARCHA_SEC_B_MEM.s7res +++ /dev/null @@ -1,47 +0,0 @@ -MultiLingualTexts: - - id: MLC_32s - es-ES: FB15153_ZC_MARCHA_SEC_B_MEM - - id: MLC_5BV - es-ES: Bloque de funcion para la gestion de activacion de las bombas de de una maquina de membranas - - id: MLC_3iY - es-ES: Pulso de 1 segundo - - id: MLC_3J6 - es-ES: Orden de marcha secuencia - - id: MLC_mu - es-ES: Estado bomba Presion (Variador) - - id: MLC_3rD - es-ES: Estado bomba Presion - - id: MLC_57A - es-ES: SP Tiempo entre bombas - - id: MLC_3TH - es-ES: Numero de bombas presion (1 o 2) - - id: MLC_4hK - es-ES: Numero de modulos - - id: MLC_48x - es-ES: Activacion bomba Presion (Variador) - - id: MLC_LX - es-ES: Activacion bomba Presion - - id: MLC_3Df - es-ES: Activacion bomba Modulo - - id: MLC_3uF - es-ES: TON Bomba presion (vf) - - id: MLC_3Ch - es-ES: TON Bomba presion - - id: MLC_nG - es-ES: TON Bomba presion (vf) - - id: MLC_ME - es-ES: TON Bomba presion - - id: MLC_Qf - es-ES: TON Modulo 1 - - id: MLC_33H - es-ES: TON Modulo 2 - - id: MLC_4F6 - es-ES: TON Modulo 3 - - id: MLC_47K - es-ES: TON Modulo 4 - - id: MLC_ij - es-ES: Numero de bombas presion - - id: MLC_43n - es-ES: Numero de modulos - - id: MLC_xL - es-ES: Bombas presion arrancadas Ok diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15152_ZC_PARO_SEC.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FB15152_ZC_PARO_SEC.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15152_ZC_PARO_SEC.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FB15152_ZC_PARO_SEC.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15152_ZC_PARO_SEC.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FB15152_ZC_PARO_SEC.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FB15152_ZC_PARO_SEC.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FB15152_ZC_PARO_SEC.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Controles/FC15151_ZC_MARCHA_PARO_SEC.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC4_ZC_ENT_DISPONIBILIDAD.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC5_ZC_PROCESO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC5_ZC_PROCESO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC5_ZC_PROCESO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC5_ZC_PROCESO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC5_ZC_PROCESO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC5_ZC_PROCESO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC5_ZC_PROCESO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC5_ZC_PROCESO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC6_ZC_ENT_ESTADO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC6_ZC_ENT_ESTADO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC6_ZC_ENT_ESTADO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC6_ZC_ENT_ESTADO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC6_ZC_ENT_ESTADO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC6_ZC_ENT_ESTADO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos/300_Gestor/FC6_ZC_ENT_ESTADO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/300_Procesos_Gestor/FC6_ZC_ENT_ESTADO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7dcl deleted file mode 100644 index ee10d53..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7dcl +++ /dev/null @@ -1,86 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockComment := "MLC_4f2"; - S7_BlockNumber := "15170"; - S7_BlockTitle := "MLC_4gk"; - S7_Family := "ZeusControl"; - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15170_ZC_CIP_FASES" - VAR_INPUT - { S7_MLC := "MLC_4G4" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_3gc" } - Ack : Bool; - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3ry" } - Receta : _.UDT_ZC_RECETA_CIP; - END_VAR - VAR_OUTPUT - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_3LL"; - S7_Visibility := "Hidden := External" - } - Ordenes : _.UDT_ZC_CIP_FASES_ORDENES; - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_3dR"; - S7_Visibility := "Hidden := External" - } - Estados : _.UDT_ZC_CIP_FASES_ESTADOS; - END_VAR - VAR_IN_OUT - { S7_MLC := "MLC_4pN" } - DispTqAguaRecup : _.UDT_ZC_PRO_INTF_CIP_AGUA_RECUP; - { S7_MLC := "MLC_Yx" } - DispTqSosa : _.UDT_ZC_PRO_INTF_CIP_SOSA; - { S7_MLC := "MLC_387" } - DispTqAcido : _.UDT_ZC_PRO_INTF_CIP_ACIDO; - { S7_MLC := "MLC_3Mh" } - DispTqDesinf : _.UDT_ZC_PRO_INTF_CIP_DESINF; - { S7_MLC := "MLC_3pm" } - DispTqRechazos : _.UDT_ZC_PRO_INTF_CIP_RECHAZOS; - { S7_MLC := "MLC_4uV" } - DispTqEsterilizacion : _.UDT_ZC_PRO_INTF_CIP_ESTERIL; - { S7_MLC := "MLC_4PR" } - Linea : _.UDT_ZC_PRO_INTF_CIP_LINEA; - { S7_MLC := "MLC_si" } - ChequeoRutaActual : _.UDT_ZC_CIP_CHEQUEO_RUTA; - END_VAR - VAR - LimpiezaSosa : _.FB15160_ZC_CIP_SOSA_LIMP; - EnjuagueSosa : _.FB15161_ZC_CIP_SOSA_ENJ; - LimpiezaAcido : _.FB15162_ZC_CIP_ACIDO_LIMP; - EnjuagueAcido : _.FB15163_ZC_CIP_ACIDO_ENJ; - SoloEnjuague : _.FB15164_ZC_CIP_SOLO_ENJ; - LimpiezaDesinfectante : _.FB15165_ZC_CIP_DESINF_LIMP; - EnjuagueDesinfectante : _.FB15166_ZC_CIP_DESINF_ENJ; - Esterilizacion : _.FB15167_ZC_CIP_ESTERIL; - AguaRecuperada : _.FB15168_ZC_CIP_AGUA_RECUP; - Rechazos : _.FB15169_ZC_CIP_RECUP_RECHAZO; - END_VAR - - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wz" - } - NETWORK - RUNG wire#powerrail - #Rechazos( - Pulso1Seg := #Pulso1Seg, - Ack := #Ack, - EstadoEnMarcha := #EstadoEnMarcha, - ParametrosRechazos := #Receta.Parametros.Rechazos, - ParamComunes := #Receta.Parametros.Comunes, - Linea := #Linea, - ChequeRutaActual := #ChequeoRutaActual, - Orden => #Ordenes.Rechazos, - Estado => #Estados.Rechazos - ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7res deleted file mode 100644 index 0087ce3..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/FB15170_ZC_CIP_FASES.s7res +++ /dev/null @@ -1,33 +0,0 @@ -MultiLingualTexts: - - id: MLC_4gk - es-ES: FB15170_ZC_CIP_FASES - - id: MLC_4f2 - es-ES: Bloque de funcion de fases de una CIP - - id: MLC_4G4 - es-ES: Pulso de 1 segundo - - id: MLC_3gc - es-ES: Acuse general - - id: MLC_3ry - es-ES: Receta CIP - - id: MLC_3LL - es-ES: Ordenes fases - - id: MLC_3dR - es-ES: Estados fases - - id: MLC_4pN - es-ES: TQ Agua Recuperada - - id: MLC_Yx - es-ES: TQ Sosa - - id: MLC_387 - es-ES: TQ Acido - - id: MLC_3Mh - es-ES: TQ Desinfectante - - id: MLC_3pm - es-ES: TQ Rechazos - - id: MLC_4uV - es-ES: TQ Esterilizacion - - id: MLC_4PR - es-ES: Linea - - id: MLC_si - es-ES: Cheque ruta actual - - id: MLC_wz - es-ES: RECUPERACION RECHAZOS - FB Gestion diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7dcl deleted file mode 100644 index 521eca6..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7dcl +++ /dev/null @@ -1,949 +0,0 @@ -{ - S7_Author := "HCR"; - S7_BlockComment := "MLC_4Xe"; - S7_BlockNumber := "15154"; - S7_BlockTitle := "MLC_52K"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15154_ZC_DOSIF" - VAR_INPUT - { S7_MLC := "MLC_4qN" } - Pulso1Seg : Bool := FALSE; - { S7_MLC := "MLC_5AQ" } - OrdenMarcha : Bool := FALSE; - { S7_MLC := "MLC_b4" } - OrdenDosifManual : Bool := FALSE; - { S7_MLC := "MLC_4Zd" } - EstadoMarcha : Bool := FALSE; - { S7_MLC := "MLC_3tL" } - EtapaSecAuto : Bool := FALSE; - { S7_MLC := "MLC_4pM" } - EtapaSecMan : Bool := FALSE; - { S7_MLC := "MLC_53w" } - SiempreDosificar : Bool := TRUE; - END_VAR - VAR_INPUT RETAIN - { S7_MLC := "MLC_44h" } - NumeroDosifLarga : Int := 0; - { S7_MLC := "MLC_sC" } - NumeroDosifCorta : Int := 1; - { S7_MLC := "MLC_3hx" } - SP_TiempoAperturaCamino : Int := 2; - { S7_MLC := "MLC_Nb" } - SP_TiempoDosifLarga : Int := 10; - { S7_MLC := "MLC_4pR" } - SP_TiempoDosifCorta : Int := 7; - { S7_MLC := "MLC_34F" } - SP_TiempoEmpuje : Int := 5; - { S7_MLC := "MLC_3hW" } - SP_TiempoAclarado : Int := 3; - { S7_MLC := "MLC_4zh" } - SP_TiempoEntreDosif : Int := 10; - END_VAR - VAR_INPUT - { S7_MLC := "MLC_ex" } - SP_TiempoDrenajeInicial : Int; - END_VAR - VAR_INPUT RETAIN - { S7_MLC := "MLC_ME" } - SP_Conductividad : Real := 5.0; - { S7_MLC := "MLC_fy" } - SP_TiempoRetardoDosifManual : Time := T#90s; - { S7_MLC := "MLC_VL" } - ConductividadActual : Real := 0.0; - { S7_MLC := "MLC_3ZJ" } - EstadoBombaDosif : Bool := FALSE; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3h9" } - DosifAutoCompletada : Bool; - { S7_MLC := "MLC_3Qe" } - AperturaCamino : Bool := FALSE; - { S7_MLC := "MLC_3nw" } - Drenaje : Bool; - { S7_MLC := "MLC_4cW" } - Dosificacion : Bool := FALSE; - { S7_MLC := "MLC_cL" } - Empuje : Bool := FALSE; - { S7_MLC := "MLC_4P8" } - Aclarado : Bool := FALSE; - { S7_MLC := "MLC_UD" } - PermisoDosifManual : Bool := FALSE; - { S7_MLC := "MLC_4V5" } - TextoEtapa : String[80] := 'REPOSO'; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4zE" } - s_EtapaDosificacion : Int := 0; - { S7_MLC := "MLC_4N9" } - s_TipoDosificacionActual : Int := 0; - { S7_MLC := "MLC_54Y" } - s_DosifLargasRealizadas : Int := 0; - { S7_MLC := "MLC_jm" } - s_DosifCortasRealizadas : Int := 0; - { S7_MLC := "MLC_4aL" } - s_DosifLargaCompletada : Bool := FALSE; - { S7_MLC := "MLC_58h" } - s_DosifCortaCompletada : Bool := FALSE; - END_VAR - VAR - s_Pulsos : Array[0..7] of Bool; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TiempoEtapa : _.UDT_ZC_PRO_TIEMPO_ETAPA; - END_VAR - VAR - { - S7_MLC := "MLC_3Vn"; - S7_Setpoint := "False" - } - s_TON_FiltroCondBaja : _.UDT_ZC_DISP_TON; - { - S7_MLC := "MLC_x3"; - S7_Setpoint := "False" - } - s_TON_RetardoDosifManual : _.UDT_ZC_DISP_TON; - END_VAR - VAR_TEMP - { S7_MLC := "MLC_ff" } - t_TiempoDosificacion : Int; - END_VAR - VAR CONSTANT - ETAPA_REPOSO : Int := 0; - ETAPA_COMPROBACION_LARGA : Int := 5; - ETAPA_COMPROBACION_CORTA : Int := 10; - ETAPA_APERTURA_CAMINO : Int := 105; - ETAPA_DOSIFICACION : Int := 110; - ETAPA_EMPUJE : Int := 115; - ETAPA_ACLARADO : Int := 120; - ETAPA_ESPERA_ENTRE_DOSIF : Int := 125; - ETAPA_ESPERA_RECIR : Int := 500; - ETAPA_ESPERA_DOSIF_MANUAL : Int := 510; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3AM" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2023) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 16 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15154_ZC_DOSIF - Descripcion: Bloque de gestion de dosificacion de detergentes - - Dependencias: - FC: FC15001_ZC_INT_TO_STRING - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripcion - - 01.00.00 09.05.2023 (HCR) Primera version - 01.01.01 22.05.2023 (ABH) Cambio en nomenclatura de entradas/salidas del bloque. - Cambio en numero de etapas para estandarizacion. - Se eliminan temporizadores redundantes para optimizacion de bloque. - 01.00.02 28.05.2023 (ABH) Se cambia logica de etapas de la dosificacion. Se pasa por Input el numero - de dosificaciones largas y cortas que se quieren realizar, de esta manera el - bloque es mucho mas versatil. - 01.00.03 15.12.2023 (ABH) Se cambia tipo de dato s_TiempoEtapa de struct a ZC_TIEMPO_ETAPA - 01.00.04 16.10.2025 (ABH) Se añade parametro drenaje inicial y su gestion. - 01.00.05 31.10.2025 (ABH) Se cambia los temporizadores IEC por temporizadores ZC_TON. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4F8" - } - NETWORK - - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON_FiltroCondBaja); - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON_RetardoDosifManual); - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4MZ" - } - NETWORK - CASE #s_EtapaDosificacion OF - #ETAPA_REPOSO: - #TextoEtapa := 'REPOSO'; - #ETAPA_APERTURA_CAMINO: - #TextoEtapa := CONCAT_STRING(IN1 := 'APERTURA CAMINO - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - - #ETAPA_DOSIFICACION: - CASE #s_TipoDosificacionActual OF - 1: - - IF NOT #EstadoBombaDosif THEN - #TextoEtapa := 'DOSIFICACION - ESPERA BD'; - ELSE - IF #Dosificacion THEN - #TextoEtapa := CONCAT_STRING(IN1 := 'DOSIFICACION LARGA ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_DosifLargasRealizadas + 1), - IN3 := ' - ', - IN4 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN5 := ' s'); - ELSE - #TextoEtapa := CONCAT_STRING(IN1 := 'DRENAJE (DOSIFICACION LARGA) ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_DosifLargasRealizadas + 1), - IN3 := ' - ', - IN4 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN5 := ' s'); - END_IF; - END_IF; - 2: - IF #EtapaSecAuto THEN - IF NOT #EstadoBombaDosif THEN - #TextoEtapa := 'DOSIFICACION - ESPERA BD'; - ELSE - IF #Dosificacion THEN - #TextoEtapa := CONCAT_STRING(IN1 := 'DOSIFICACION CORTA ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_DosifCortasRealizadas + 1), - IN3 := ' - ', - IN4 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN5 := ' s'); - ELSE - #TextoEtapa := CONCAT_STRING(IN1 := 'DRENAJE (DOSIFICACION CORTA) ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_DosifLargasRealizadas + 1), - IN3 := ' - ', - IN4 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN5 := ' s'); - END_IF; - END_IF; - ELSE - IF NOT #EstadoBombaDosif THEN - #TextoEtapa := 'DOSIFICACION - ESPERA BD'; - ELSE - #TextoEtapa := CONCAT_STRING(IN1 := 'DOSIFICACION MANUAL - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - END_IF; - - END_IF; - - ELSE - IF NOT #EstadoBombaDosif THEN - #TextoEtapa := 'DOSIFICACION - ESPERA BD'; - ELSE - #TextoEtapa := 'DOSIFICACION'; - END_IF; - END_CASE; - #ETAPA_EMPUJE: - #TextoEtapa := CONCAT_STRING(IN1 := 'EMPUJE - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ACLARADO: - #TextoEtapa := CONCAT_STRING(IN1 := 'ACLARADO - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ESPERA_ENTRE_DOSIF: - #TextoEtapa := CONCAT_STRING(IN1 := 'ESPERA ENTRE DOSIFICACIONES - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ESPERA_RECIR: - #TextoEtapa := 'ESPERA PASO RECIRCULACION'; - #ETAPA_ESPERA_DOSIF_MANUAL: - IF NOT #s_TON_RetardoDosifManual.Q THEN - #TextoEtapa := 'COMPROBACION DOSIFICACION MANUAL'; - ELSE - #TextoEtapa := 'ESPERA DOSIFICACION MANUAL'; - END_IF; - ELSE - #TextoEtapa := 'FUERA DE PASO'; - END_CASE; - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - Move( - in := 2, - out1 => #s_TON_FiltroCondBaja.SP - ) - S_Coil( #s_TON_FiltroCondBaja.IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Kp" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapaSecAuto ) - I_Contact( #EtapaSecMan ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_ENTRE_DOSIF - ) - wire#w2 - Move( - in := #ETAPA_REPOSO, - out1 => #s_EtapaDosificacion - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_RECIR - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_DOSIF_MANUAL - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIFICACION - ) - Move( - in := #ETAPA_EMPUJE, - out1 => #s_EtapaDosificacion - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Pv" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_487" - } - NETWORK - CASE #s_TipoDosificacionActual OF - 1: // Dosificacion Larga - #t_TiempoDosificacion := #SP_TiempoDosifLarga; - 2: // Dosificacion corta - #t_TiempoDosificacion := #SP_TiempoDosifCorta; - ELSE - #t_TiempoDosificacion := #SP_TiempoDosifCorta; - END_CASE; - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Qu" - } - NETWORK - IF #s_EtapaDosificacion = #ETAPA_REPOSO THEN - - // ======================================================================================== - // En etapa dosificar automatico - IF #EtapaSecAuto AND #OrdenMarcha THEN - - // Si esta configurado dosificar siempre independientemente de la conductividad - IF #SiempreDosificar THEN - #s_EtapaDosificacion := #ETAPA_COMPROBACION_LARGA; - ELSE - // Si no esta configurado dosificar siempre, miramos la conductividad - IF #s_TON_FiltroCondBaja.Q THEN - #s_EtapaDosificacion := #ETAPA_COMPROBACION_LARGA; - ELSE - #s_EtapaDosificacion := #ETAPA_ESPERA_RECIR; - END_IF; - END_IF; - #s_TiempoEtapa.Actual := 0; - END_IF; - - // ======================================================================================== - // En etapa dosificar manual - IF #EtapaSecMan THEN - #s_EtapaDosificacion := #ETAPA_ESPERA_RECIR; - #s_TiempoEtapa.Actual := 0; - END_IF; - - // Reset de marcas de estado de dosificacion - #s_DosifLargasRealizadas := #s_DosifCortasRealizadas := #s_TipoDosificacionActual := 0; - #s_DosifLargaCompletada := #s_DosifCortaCompletada := #DosifAutoCompletada:= FALSE; - - END_IF; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_UG" - } - NETWORK - IF #s_EtapaDosificacion = #ETAPA_COMPROBACION_LARGA THEN - - // ======================================================================================== - // Comprobacion de dosificaciones largas, Ya ha dosificado todas. - IF #s_DosifLargasRealizadas >= #NumeroDosifLarga THEN - #s_EtapaDosificacion := #ETAPA_COMPROBACION_CORTA; - #s_TiempoEtapa.Actual := 0; - #s_DosifLargaCompletada := TRUE; - ELSE - #s_EtapaDosificacion := #ETAPA_APERTURA_CAMINO; - #s_TiempoEtapa.Actual := 0; - - END_IF; - #s_TipoDosificacionActual := 1; - END_IF; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_43a" - } - NETWORK - IF #s_EtapaDosificacion = #ETAPA_COMPROBACION_CORTA THEN - - // ======================================================================================== - // Comprobacion de dosificaciones largas, Ya ha dosificado todas. - IF #s_DosifCortasRealizadas >= #NumeroDosifCorta THEN - #s_EtapaDosificacion := #ETAPA_ESPERA_RECIR; - #s_TiempoEtapa.Actual := 0; - #s_DosifCortaCompletada := TRUE; - ELSE - #s_EtapaDosificacion := #ETAPA_APERTURA_CAMINO; - #s_TiempoEtapa.Actual := 0; - - END_IF; - #s_TipoDosificacionActual := 2; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3gn" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO - ) - wire#w1 - Move( - in := #SP_TiempoAperturaCamino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_DOSIFICACION, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Zb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIFICACION - ) - wire#w1 - Move( - in := #t_TiempoDosificacion, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaDosif ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_EMPUJE, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3W8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE - ) - wire#w1 - Move( - in := #SP_TiempoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_ACLARADO, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3NN" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO - ) - wire#w1 - Move( - in := #SP_TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_ESPERA_ENTRE_DOSIF, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4HH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_ENTRE_DOSIF - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_TipoDosificacionActual, - in2 := 1 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_DosifLargasRealizadas ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_TipoDosificacionActual, - in2 := 2 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_DosifCortasRealizadas ) - END_RUNG - RUNG wire#w1 - Move( - in := #SP_TiempoEntreDosif, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w3 - Contact( #s_TON_FiltroCondBaja.Q ) - wire#w4 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_TipoDosificacionActual, - in2 := 1 - ) - wire#w5 - I_Contact( #s_DosifLargaCompletada ) - Move( - in := #ETAPA_COMPROBACION_LARGA, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w5 - Contact( #s_DosifLargaCompletada ) - Move( - in := #ETAPA_COMPROBACION_CORTA, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w4 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_TipoDosificacionActual, - in2 := 2 - ) - wire#w6 - I_Contact( #s_DosifCortaCompletada ) - Move( - in := #ETAPA_COMPROBACION_CORTA, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w6 - Contact( #s_DosifCortaCompletada ) - Move( - in := #ETAPA_ESPERA_RECIR, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w3 - I_Contact( #s_TON_FiltroCondBaja.Q ) - Move( - in := #ETAPA_ESPERA_RECIR, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #EtapaSecMan ) - Move( - in := #ETAPA_ESPERA_RECIR, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_LZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_RECIR - ) - Contact( #EtapaSecMan ) - Move( - in := #ETAPA_ESPERA_DOSIF_MANUAL, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - S_Coil( #DosifAutoCompletada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3kt" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_DOSIF_MANUAL - ) - wire#w1 - Contact( #OrdenDosifManual ) - Move( - in := #ETAPA_APERTURA_CAMINO, - out1 => #s_EtapaDosificacion - ) - Move( - in := 2, - out1 => #s_TipoDosificacionActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapaSecMan ) - Move( - in := #ETAPA_REPOSO, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3AP" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3jZ" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.SP, - in2 := 32000 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Contact( #EtapaSecAuto ) - wire#w3 - Contact( #EstadoMarcha ) - wire#w4 - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w2 - Contact( #EtapaSecMan ) - END_RUNG wire#w3 - RUNG wire#w2 - I_Contact( #EtapaSecAuto ) - I_Contact( #EtapaSecMan ) - END_RUNG wire#w4 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Coil( #s_TiempoEtapa.Cumplido ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3fL" - } - NETWORK - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3B6" - } - NETWORK - RUNG wire#powerrail - Contact( #EstadoMarcha ) - wire#w1 - Contact( #EtapaSecAuto ) - wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO - ) - Coil( #AperturaCamino ) - END_RUNG - RUNG wire#w1 - Contact( #EtapaSecMan ) - END_RUNG wire#w2 - RUNG wire#powerrail - I_Contact( #EtapaSecAuto ) - I_Contact( #EtapaSecMan ) - END_RUNG wire#w2 - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIFICACION - ) - wire#w3 - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #SP_TiempoDrenajeInicial - ) - Coil( #Drenaje ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #SP_TiempoDrenajeInicial - ) - Coil( #Dosificacion ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE - ) - Coil( #Empuje ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO - ) - Coil( #Aclarado ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4HB" - } - NETWORK - RUNG wire#powerrail - Contact( #EtapaSecMan ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ESPERA_DOSIF_MANUAL - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - wire#w1 - Move( - in := #SP_TiempoRetardoDosifManual, - out1 => #s_TON_RetardoDosifManual.SP - ) - S_Coil( #s_TON_RetardoDosifManual.IN ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON_RetardoDosifManual.Q ) - Coil( #PermisoDosifManual ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7res deleted file mode 100644 index a1719ee..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15154_ZC_DOSIF.s7res +++ /dev/null @@ -1,123 +0,0 @@ -MultiLingualTexts: - - id: MLC_52K - es-ES: FB15154_ZC_DOSIF - - id: MLC_4Xe - es-ES: Bloque de funcion para la dosificacion de detergentes. - - id: MLC_4qN - es-ES: Pulso 1 Segundo - - id: MLC_5AQ - es-ES: Orden Marcha Secuencia - - id: MLC_b4 - es-ES: Orden de dosificacion manual - - id: MLC_4Zd - es-ES: Estado marcha proceso principal - - id: MLC_3tL - es-ES: Etapa de dosificación auto - - id: MLC_4pM - es-ES: Etapa de dosificación Manual - - id: MLC_53w - es-ES: Configuracion para dosificacion inicial - - id: MLC_44h - es-ES: Numero de dosificaciones largas - - id: MLC_sC - es-ES: Numero de dosificaciones cortas - - id: MLC_3hx - es-ES: Tiempo apertura de camino - - id: MLC_Nb - es-ES: Tiempo de Dosificacion Larga - - id: MLC_4pR - es-ES: Tiempo de Dosificacion Corta - - id: MLC_34F - es-ES: Tiempo Empuje con agua - - id: MLC_3hW - es-ES: Tiempo aclarado - - id: MLC_4zh - es-ES: Tiempo Entre Dosificaciones - - id: MLC_ex - es-ES: Tiempo de drenaje dosificacion - - id: MLC_ME - es-ES: Consigna de conductividad - - id: MLC_fy - es-ES: Tiempo de retardo Dosificacion Manual - - id: MLC_VL - es-ES: Lectura de Conductividad - - id: MLC_3ZJ - es-ES: Confirmacion de marcha BD - - id: MLC_3h9 - es-ES: Dosificacion automatica completada - - id: MLC_3Qe - es-ES: Orden de apertura de camino - - id: MLC_3nw - es-ES: Orden drenaje - - id: MLC_4cW - es-ES: Orden de dosificacion - - id: MLC_cL - es-ES: Orden de empuje - - id: MLC_4P8 - es-ES: Orden de aclarado - - id: MLC_UD - es-ES: Permiso de dosificacion manual - - id: MLC_4V5 - es-ES: Texto etapa actual - - id: MLC_4zE - es-ES: Etapa de Dosificación - - id: MLC_4N9 - es-ES: 1= Larga / 2= Corta - - id: MLC_54Y - es-ES: Numero de dosificaciones largas realizadas - - id: MLC_jm - es-ES: Numero de dosificaciones cortas realizadas - - id: MLC_4aL - es-ES: Dosificacion Larga Completada - - id: MLC_58h - es-ES: Dosificacion Corta Completada - - id: MLC_3Vn - es-ES: Temporizador para filtro de conductividad - - id: MLC_x3 - es-ES: Retardo para comprobacion de conductividad para dosificacion manual - - id: MLC_ff - es-ES: Tiempo de dosificacion en base a Corta/Larga - - id: MLC_3AM - es-ES: '@Change log' - - id: MLC_4F8 - es-ES: =============== Temporizadores - - id: MLC_4MZ - es-ES: =============== TEXTO ETAPA - - id: MLC_wA - es-ES: =============== RETARDO CONDUCTIVIDAD - - id: MLC_4Kp - es-ES: =============== PARO DE SECUENCIA - - id: MLC_4Pv - es-ES: =============== SECUENCIA - - id: MLC_487 - es-ES: Carga datos de tipo de dosificacion - - id: MLC_Qu - es-ES: 'Etapa 0: Espera orden de marcha' - - id: MLC_UG - es-ES: 'Etapa 5: Comprobar dosificacion larga' - - id: MLC_43a - es-ES: 'Etapa 10: Comprobar dosificacion corta' - - id: MLC_3gn - es-ES: 'Etapa 105: Apertura camino' - - id: MLC_4Zb - es-ES: 'Etapa 110: Dosificación' - - id: MLC_3W8 - es-ES: 'Etapa 115: Empuje' - - id: MLC_3NN - es-ES: 'Etapa 120: Aclarado' - - id: MLC_4HH - es-ES: 'Etapa 125: Espera entre dosificaciones' - - id: MLC_LZ - es-ES: 'Etapa 500: Espera paso recirculación' - - id: MLC_3kt - es-ES: 'Etapa 510: Espera dosificación manual' - - id: MLC_3AP - es-ES: =============== TIEMPO DE ETAPA - - id: MLC_3jZ - es-ES: Contador tiempo - - id: MLC_3fL - es-ES: =============== SALIDAS - - id: MLC_3B6 - es-ES: Orden de activacion - - id: MLC_4HB - es-ES: Permiso dosificacion manual diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7dcl deleted file mode 100644 index b9555ce..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7dcl +++ /dev/null @@ -1,852 +0,0 @@ -{ - S7_Author := "AketzaBarragues"; - S7_BlockComment := "MLC_3Tz"; - S7_BlockNumber := "15155"; - S7_BlockTitle := "MLC_iG"; - S7_Family := "ZeusControl"; - S7_GenerateENOforSCL := "TRUE"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15155_ZC_DOSIF_SI70_GARRAFAS" - VAR_INPUT - { S7_MLC := "MLC_3iD" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_f8" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_39K" } - EstadoMarcha : Bool; - { S7_MLC := "MLC_xU" } - EtapaSecAuto : Bool; - { S7_MLC := "MLC_3bV" } - BotonAceptar : Bool; - { S7_MLC := "MLC_4XJ" } - NumeroGarrafas : Int := 1; - { S7_MLC := "MLC_4T5" } - SP_TiempoAperturaCamino : Int := 2; - { S7_MLC := "MLC_3in" } - SP_TiempoDosifSI70 : Int; - { S7_MLC := "MLC_4uT" } - SP_TiempoEmpuje : Int; - { S7_MLC := "MLC_XA" } - SP_TiempoAclarado : Int; - { S7_MLC := "MLC_3Ce" } - EstadoBombaDosif : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_52Y" } - DosifCompletada : Bool; - { S7_MLC := "MLC_3XE" } - AperturaCamino : Bool := FALSE; - { S7_MLC := "MLC_3Lg" } - Dosificacion : Bool := FALSE; - { S7_MLC := "MLC_4JL" } - Empuje : Bool := FALSE; - { S7_MLC := "MLC_3U8" } - Aclarado : Bool := FALSE; - { S7_MLC := "MLC_3CA" } - VisibilidadGarrafa1 : Bool := FALSE; - { S7_MLC := "MLC_Mq" } - VisibilidadGarrafa2 : Bool := FALSE; - { S7_MLC := "MLC_3Mh" } - TextoEtapa : String[80] := 'REPOSO'; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3Sq" } - s_EtapaDosificacion : Int; - END_VAR - VAR - s_Pulsos : Array[0..7] of Bool; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_3ZH" } - Activar : Bool; - { S7_MLC := "MLC_RG" } - Cumplido : Bool; - { S7_MLC := "MLC_4Zm" } - Actual : Int; - { S7_MLC := "MLC_4f5" } - SP : Int; - { S7_MLC := "MLC_3SQ" } - Restante : Int; - END_STRUCT; - END_VAR - VAR CONSTANT - ETAPA_REPOSO : Int := 0; - ETAPA_ACEPTAR_GARRAFA_1 : Int := 5; - ETAPA_APERTURA_CAMINO_1 : Int := 10; - ETAPA_DOSIF_1 : Int := 15; - ETAPA_EMPUJE_1 : Int := 20; - ETAPA_ACLARADO_1 : Int := 25; - ETAPA_ACEPTAR_GARRAFA_2 : Int := 105; - ETAPA_APERTURA_CAMINO_2 : Int := 110; - ETAPA_DOSIF_2 : Int := 115; - ETAPA_EMPUJE_2 : Int := 120; - ETAPA_ACLARADO_2 : Int := 125; - ETAPA_FIN_DOSIF : Int := 500; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_uC" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2022) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 16 - Restricciones: PLC serie 1200/1500 - - - Nombre: ZC_STD_Dosificacion_SI70_Garragas - Descripcion: Bloque de gestion de dosificacion de detergentes SI-70 mediante garrafas - - Change log: - - Version Fecha Tecnico a cargo - - 01.00.00 19.05.2023 (ABH) Primera version - 01.00.01 23.06.2023 (ABH) Se modifica FB para añadir gestion de garrafas - 01.00.02 23.06.2023 (ABH) Se modifica FB para añadir salida apertura camino. - Se añade Texto etapa como output. - 01.00.03 29.10.2025 (ABH) Se añade tiempo restante a textos de etapa. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Ur" - } - NETWORK - CASE #s_EtapaDosificacion OF - #ETAPA_REPOSO: - #TextoEtapa := 'REPOSO'; - #ETAPA_ACEPTAR_GARRAFA_1: - #TextoEtapa := 'ESPERA ACEPTAR PRIMERA GARRAFA'; - #ETAPA_APERTURA_CAMINO_1: - #TextoEtapa := 'APERTURA CAMINO PRIMERA GARRAFA'; - #ETAPA_DOSIF_1: - #TextoEtapa := CONCAT_STRING(IN1 := 'DOSIFICACION SI-70 PRIMERA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_EMPUJE_1: - #TextoEtapa := CONCAT_STRING(IN1 := 'EMPUJE PRIMERA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ACLARADO_1: - #TextoEtapa := CONCAT_STRING(IN1 := 'ACLARADO PRIMERA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ACEPTAR_GARRAFA_2: - #TextoEtapa := 'ESPERA ACEPTAR SEGUNDA GARRAFA'; - #ETAPA_APERTURA_CAMINO_2: - #TextoEtapa := 'APERTURA CAMINO SEGUNDA GARRAFA'; - #ETAPA_DOSIF_2: - #TextoEtapa := CONCAT_STRING(IN1 := 'DOSIFICACION SI-70 SEGUNDA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_EMPUJE_2: - #TextoEtapa := CONCAT_STRING(IN1 := 'EMPUJE SEGUNDA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_ACLARADO_2: - #TextoEtapa := CONCAT_STRING(IN1 := 'ACLARADO SEGUNDA GARRAFA - ', - IN2 := "FC15001_ZC_INT_TO_STRING"(#s_TiempoEtapa.Restante), - IN3 := ' s'); - #ETAPA_FIN_DOSIF: - #TextoEtapa := 'FIN DOSIFICACION'; - - ELSE - #TextoEtapa := 'FUERA DE PASO'; - END_CASE; - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ue" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapaSecAuto ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_1 - ) - wire#w2 - Move( - in := 0, - out1 => #s_EtapaDosificacion - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_2 - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_FIN_DOSIF - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_1 - ) - wire#w3 - Move( - in := 15, - out1 => #s_EtapaDosificacion - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_2 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4QU" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_yh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_REPOSO - ) - Contact( #EtapaSecAuto ) - Contact( #OrdenMarcha ) - wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #SP_TiempoDosifSI70, - in2 := 0 - ) - Move( - in := #ETAPA_ACEPTAR_GARRAFA_1, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #SP_TiempoDosifSI70, - in2 := 0 - ) - Move( - in := #ETAPA_FIN_DOSIF, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tt" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_1 - ) - wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #BotonAceptar ) - Move( - in := #ETAPA_APERTURA_CAMINO_1, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO_1 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := #SP_TiempoAperturaCamino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_DOSIF_1, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Nh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_1 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #SP_TiempoDosifSI70, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaDosif ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_EMPUJE_1, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_uy" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE_1 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #SP_TiempoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_ACLARADO_1, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4sg" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO_1 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #SP_TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #NumeroGarrafas, - in2 := 1 - ) - Move( - in := #ETAPA_FIN_DOSIF, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #NumeroGarrafas, - in2 := 1 - ) - Move( - in := #ETAPA_ACEPTAR_GARRAFA_2, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ur" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_2 - ) - wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #BotonAceptar ) - Move( - in := #ETAPA_APERTURA_CAMINO_2, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4yF" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO_2 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #SP_TiempoAperturaCamino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_DOSIF_2, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58j" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_2 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #SP_TiempoDosifSI70, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaDosif ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_EMPUJE_2, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4gA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE_2 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := #SP_TiempoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_ACLARADO_2, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3wf" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO_2 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #SP_TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := #ETAPA_FIN_DOSIF, - out1 => #s_EtapaDosificacion - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4se" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := 500 - ) - Coil( #DosifCompletada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_59G" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4jS" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.SP, - in2 := 32000 - ) - Contact( #EstadoMarcha ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Coil( #s_TiempoEtapa.Cumplido ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Dc" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_54k" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaDosificacion, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaDosificacion, - in2 := 15 - ) - wire#w1 - Coil( #Dosificacion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaDosificacion, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaDosificacion, - in2 := 115 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ew" - } - NETWORK - RUNG wire#powerrail - Contact( #EstadoMarcha ) - Contact( #EtapaSecAuto ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO_1 - ) - wire#w2 - Coil( #AperturaCamino ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EstadoMarcha ) - I_Contact( #EtapaSecAuto ) - END_RUNG wire#w1 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_APERTURA_CAMINO_2 - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_1 - ) - wire#w3 - Coil( #Dosificacion ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_DOSIF_2 - ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE_1 - ) - wire#w4 - Coil( #Empuje ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_EMPUJE_2 - ) - END_RUNG wire#w4 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO_1 - ) - wire#w5 - Coil( #Aclarado ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACLARADO_2 - ) - END_RUNG wire#w5 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3K2" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_1 - ) - Coil( #VisibilidadGarrafa1 ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaDosificacion, - in2 := #ETAPA_ACEPTAR_GARRAFA_2 - ) - Coil( #VisibilidadGarrafa2 ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7res deleted file mode 100644 index c870a43..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15155_ZC_DOSIF_SI70_GARRAFAS.s7res +++ /dev/null @@ -1,99 +0,0 @@ -MultiLingualTexts: - - id: MLC_iG - es-ES: FB15155_ZC_DOSIF_SI70_GARRAFAS - - id: MLC_3Tz - es-ES: Bloque de funcion para la dosificacion de SI-70 mediante garrafas - - id: MLC_3iD - es-ES: Pulso 1 Segundo - - id: MLC_f8 - es-ES: Orden Marcha Secuencia - - id: MLC_39K - es-ES: Estado marcha proceso principal - - id: MLC_xU - es-ES: Etapa de dosificación auto - - id: MLC_3bV - es-ES: Boton aceptar garrafa - - id: MLC_4XJ - es-ES: 1 o 2 garrafas - - id: MLC_4T5 - es-ES: Tiempo apertura de camino - - id: MLC_3in - es-ES: Tiempo de Dosificacion SI-70 - - id: MLC_4uT - es-ES: Tiempo Empuje con agua - - id: MLC_XA - es-ES: Tiempo aclarado - - id: MLC_3Ce - es-ES: Confirmacion de marcha BD - - id: MLC_52Y - es-ES: Dosificacion completada - - id: MLC_3XE - es-ES: Orden de apertura de camino - - id: MLC_3Lg - es-ES: Orden de dosificacion - - id: MLC_4JL - es-ES: Orden de empuje - - id: MLC_3U8 - es-ES: Orden de aclarado - - id: MLC_3CA - es-ES: Visibilifad cartel Garrafa 1 - - id: MLC_Mq - es-ES: Visibilifad cartel Garrafa 2 - - id: MLC_3Mh - es-ES: Texto etapa actual - - id: MLC_3Sq - es-ES: Etapa de Dosificación - - id: MLC_3ZH - es-ES: Activar tiempo - - id: MLC_RG - es-ES: Tiempo de etapa cumplido - - id: MLC_4Zm - es-ES: Tiempo de etapa actual - - id: MLC_4f5 - es-ES: Set point tiempo etapa - - id: MLC_3SQ - es-ES: Tiempo de etapa restante - - id: MLC_uC - es-ES: '@Change log' - - id: MLC_4Ur - es-ES: =============== TEXTO ETAPA - - id: MLC_4Ue - es-ES: =============== PARO DE SECUENCIA - - id: MLC_4QU - es-ES: =============== SECUENCIA - - id: MLC_yh - es-ES: 'Etapa 0: Espera orden de marcha' - - id: MLC_4tt - es-ES: 'Etapa 5: Espera Aceptar primera Garrafa' - - id: MLC_4tG - es-ES: 'Etapa 10: Apertura camino' - - id: MLC_4Nh - es-ES: 'Etapa 15: Dosificación primera garrafa' - - id: MLC_uy - es-ES: 'Etapa 20: Empuje' - - id: MLC_4sg - es-ES: 'Etapa 25: Aclarado' - - id: MLC_4ur - es-ES: 'Etapa 105: Espera Aceptar sergunda Garrafa' - - id: MLC_4yF - es-ES: 'Etapa 110: Apertura camino' - - id: MLC_58j - es-ES: 'Etapa 115: Dosificación segunda garrafa' - - id: MLC_4gA - es-ES: 'Etapa 120: Empuje' - - id: MLC_3wf - es-ES: 'Etapa 125: Aclarado' - - id: MLC_4se - es-ES: 'Etapa 500: Fin dosificacion' - - id: MLC_59G - es-ES: =============== TIEMPO DE ETAPA - - id: MLC_4jS - es-ES: Contador tiempo - - id: MLC_4Dc - es-ES: =============== SALIDAS - - id: MLC_54k - es-ES: Orden de activacion - - id: MLC_4ew - es-ES: Orden de apertura de camino - - id: MLC_3K2 - es-ES: Visibilidad carteles garrafa diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7dcl deleted file mode 100644 index 1d35130..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7dcl +++ /dev/null @@ -1,317 +0,0 @@ -{ - S7_Author := "AketzaBarragues"; - S7_BlockComment := "MLC_MJ"; - S7_BlockNumber := "15156"; - S7_BlockTitle := "MLC_4Wx"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15156_ZC_DOSIF_SI100_CARTEL" - VAR_INPUT - { S7_MLC := "MLC_4uQ" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4Jj" } - EtapaRecirculacion : Bool; - { S7_MLC := "MLC_3H3" } - EstadoMarcha : Bool; - { S7_MLC := "MLC_457" } - Aceptar : Bool; - { S7_MLC := "MLC_4m8" } - TiempoEntreVentana : Int := 60; - { S7_MLC := "MLC_3QM" } - EstadoDetectorBTD : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_32f" } - MostrarCartel : Bool; - { S7_MLC := "MLC_57P" } - Finalizado : Bool; - END_VAR - VAR - { S7_MLC := "MLC_PR" } - s_Etapa : Int; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_3WU" } - Activar : Bool; - { S7_MLC := "MLC_4qd" } - Cumplido : Bool; - { S7_MLC := "MLC_gG" } - Actual : Int; - { S7_MLC := "MLC_55e" } - SP : Int; - { S7_MLC := "MLC_32m" } - Restante : Int; - END_STRUCT; - END_VAR - VAR CONSTANT - ETAPA_REPOSO : Int := 0; - ETAPA_MOSTRAR_VENTANA : Int := 5; - ETAPA_ESPERA_APERTURA : Int := 10; - ETAPA_ESPERA_CIERRE : Int := 15; - ETAPA_FIN : Int := 20; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4F4" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2023) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 16 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15156_DOSIF_SI100_CARTEL - Descripcion: Bloque de funcion para gestion de dosificacion SI-100 manual con cartel para confirmar. - - Change log: - - Version Fecha Tecnico a cargo - - 01.00.00 22.11.2022 (ABH) Primera version - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_32z" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapaRecirculacion ) - Move( - in := #ETAPA_REPOSO, - out1 => #s_Etapa - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Qu" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4KG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := #ETAPA_REPOSO - ) - Contact( #EtapaRecirculacion ) - Move( - in := #ETAPA_MOSTRAR_VENTANA, - out1 => #s_Etapa - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_bg" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := #ETAPA_MOSTRAR_VENTANA - ) - Contact( #EtapaRecirculacion ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #Aceptar ) - Move( - in := 10, - out1 => #s_Etapa - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3wc" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := #ETAPA_ESPERA_APERTURA - ) - Contact( #EtapaRecirculacion ) - wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #TiempoEntreVentana - ) - Move( - in := #ETAPA_MOSTRAR_VENTANA, - out1 => #s_Etapa - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoDetectorBTD ) - Move( - in := #ETAPA_ESPERA_CIERRE, - out1 => #s_Etapa - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_352" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := #ETAPA_ESPERA_CIERRE - ) - Contact( #EtapaRecirculacion ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDetectorBTD ) - Move( - in := #ETAPA_FIN, - out1 => #s_Etapa - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wb" - } - NETWORK - RUNG wire#powerrail - Contact( #EtapaRecirculacion ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := 20 - ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Coil( #Finalizado ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3nj" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4FZ" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.SP, - in2 := 32000 - ) - Contact( #EstadoMarcha ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Coil( #s_TiempoEtapa.Cumplido ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bQ" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3aK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_Etapa, - in2 := #ETAPA_MOSTRAR_VENTANA - ) - Contact( #EtapaRecirculacion ) - Coil( #MostrarCartel ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7res deleted file mode 100644 index 5cf2250..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15156_ZC_DOSIF_SI100_CARTEL.s7res +++ /dev/null @@ -1,57 +0,0 @@ -MultiLingualTexts: - - id: MLC_4Wx - es-ES: FB15156_ZC_DOSIF_SI100_CARTEL - - id: MLC_MJ - es-ES: Bloque de funcion para gestion de dosificacion SI-100 manual con cartel para confirmar. - - id: MLC_4uQ - es-ES: Pulso 1 Segundo - - id: MLC_4Jj - es-ES: Etapa de recirculacion - - id: MLC_3H3 - es-ES: EstadoMarcha - - id: MLC_457 - es-ES: Boton aceptar - - id: MLC_4m8 - es-ES: Tiempo entre ventanas - - id: MLC_3QM - es-ES: Detector BTD - - id: MLC_32f - es-ES: Mostrar cartel dosificacion SI-100 - - id: MLC_57P - es-ES: Dosificacion finalizada - - id: MLC_PR - es-ES: Etapa actual - - id: MLC_3WU - es-ES: Activar tiempo - - id: MLC_4qd - es-ES: Tiempo de etapa cumplido - - id: MLC_gG - es-ES: Tiempo de etapa actual - - id: MLC_55e - es-ES: Set point tiempo etapa - - id: MLC_32m - es-ES: Tiempo de etapa restante - - id: MLC_4F4 - es-ES: '@Change log' - - id: MLC_32z - es-ES: =============== PARO - - id: MLC_4Qu - es-ES: =============== SECUENCIA - - id: MLC_4KG - es-ES: Etapa 0 - Reposo - - id: MLC_bg - es-ES: Etapa 5 - Mostrar ventana - - id: MLC_3wc - es-ES: Etapa 10 - Esperar a detectar apertura de BTD - - id: MLC_352 - es-ES: Etapa 15 - Esperar a detectar cierre de BTD - - id: MLC_wb - es-ES: Etapa 20 - Finalizado - - id: MLC_3nj - es-ES: =============== TIEMPO DE ETAPA - - id: MLC_4FZ - es-ES: Contador tiempo - - id: MLC_4bQ - es-ES: =============== SALIDAS - - id: MLC_3aK - es-ES: Mostrar cartel diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7dcl deleted file mode 100644 index f31016d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7dcl +++ /dev/null @@ -1,723 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15159"; - S7_BlockTitle := "MLC_ry"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15159_ZC_CIP_DOSIF_PREP" - VAR_INPUT - { S7_MLC := "MLC_3QY" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_eM" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4yG" } - ResetNumeroDosificaciones : Bool; - { S7_MLC := "MLC_34k" } - EtapaDosificaciones : Bool; - { S7_MLC := "MLC_52N" } - SP_TiempoDosLarga : Int := 180; - { S7_MLC := "MLC_4pq" } - SP_TiempoDosCorta : Int := 60; - { S7_MLC := "MLC_tJ" } - SP_Empuje : Int := 10; - { S7_MLC := "MLC_54W" } - SP_Conductividad : Real; - { S7_MLC := "MLC_4ik" } - ConductividadActual : Real; - END_VAR - VAR_OUTPUT - Dosificación : Bool; - Empuje : Bool; - FinDosificacion : Bool; - NumeroDosificacionesActuales : Int; - END_VAR - VAR_IN_OUT - { S7_MLC := "MLC_4gy" } - OrdenDosificarLarga : Bool; - { S7_MLC := "MLC_59p" } - OrdenDosificarCorta : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_52J" } - s_EtapaActual : Int; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..50] of Bool; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_vP" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15159_ZC_CIP_DOSIF_PREP - Descripcion: Bloque de gestión de dosificacion preparacion CIP - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4WP" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3jg" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapaDosificaciones ) - wire#w1 - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w2 - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 35 - ) - Move( - in := 45, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_49W" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_g3" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w1 - Contact( #OrdenDosificarLarga ) - wire#w2 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - Move( - in := 5, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - R_Coil( #OrdenDosificarLarga ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - R_Coil( #OrdenDosificarLarga ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenDosificarCorta ) - wire#w3 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - Move( - in := 35, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - { S7_Templates := "DestType := Int" } - Inc( #NumeroDosificacionesActuales ) - R_Coil( #OrdenDosificarCorta ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #ConductividadActual, - in2 := #SP_Conductividad - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - R_Coil( #OrdenDosificarCorta ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42u" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 2, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4y7" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #SP_TiempoDosLarga, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 15, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3w4" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 15 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #SP_Empuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_57f" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3mQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 2, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 35, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3my" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 35 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := #SP_TiempoDosCorta, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3qJ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #SP_Empuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 45, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_My" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 45 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Nu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapaDosificaciones ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3m2" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_49J" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4rn" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_37e" - } - NETWORK - RUNG wire#powerrail - Contact( #ResetNumeroDosificaciones ) - Move( - in := 0, - out1 => #NumeroDosificacionesActuales - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4SS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_48p" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - Coil( #Dosificación ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 35 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_VU" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 15 - ) - wire#w1 - Coil( #Empuje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Yu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - Coil( #FinDosificacion ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7res deleted file mode 100644 index 304da30..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15159_ZC_CIP_DOSIF_PREP.s7res +++ /dev/null @@ -1,71 +0,0 @@ -MultiLingualTexts: - - id: MLC_ry - es-ES: FB15159_ZC_DOSIF_PREP - - id: MLC_3QY - es-ES: Pulso un segundo - - id: MLC_eM - es-ES: Estado proceso principal en marcha - - id: MLC_4yG - es-ES: Reset numero de dosificaciones - - id: MLC_34k - es-ES: Etapa dosificaciones proceso principal - - id: MLC_52N - es-ES: Tiempo de dosificación larga - - id: MLC_4pq - es-ES: Tiempo de dosificación corta - - id: MLC_tJ - es-ES: Empuje con agua - - id: MLC_54W - es-ES: Consigna de conductividad - - id: MLC_4ik - es-ES: Lectura de Conductividad - - id: MLC_4gy - es-ES: Orden dosificacion larga - - id: MLC_59p - es-ES: Orden dosificacion corta - - id: MLC_52J - es-ES: Etapa de dosificación - - id: MLC_vP - es-ES: '@Change log' - - id: MLC_4WP - es-ES: =============== Estado secuencia - - id: MLC_3jg - es-ES: Paro de secuencia - - id: MLC_49W - es-ES: =============== Secuencia - - id: MLC_g3 - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_42u - es-ES: Etapa 005 - Dosificacion Larga - Apertura camino - - id: MLC_4y7 - es-ES: Etapa 010 - Dosificacion Larga - Dosificacion - - id: MLC_3w4 - es-ES: Etapa 015 - Dosificacion Larga - Empuje - - id: MLC_57f - es-ES: Etapa 020 - Dosificacion Larga - Aclarado - - id: MLC_3mQ - es-ES: Etapa 030 - Dosificacion Corta - Apertura camino - - id: MLC_3my - es-ES: Etapa 035 - Dosificacion Corta - Dosificacion - - id: MLC_3qJ - es-ES: Etapa 040 - Dosificacion Corta - Empuje - - id: MLC_My - es-ES: Etapa 045 - Dosificacion Corta - Aclarado - - id: MLC_Nu - es-ES: Etapa 100 - Fin dosificacion - - id: MLC_3m2 - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_49J - es-ES: Contador tiempo - - id: MLC_4rn - es-ES: =============== Auxiliares - - id: MLC_37e - es-ES: Reset numero de dosificaciones - - id: MLC_4SS - es-ES: =============== Salidas - - id: MLC_48p - es-ES: Dosificación - - id: MLC_VU - es-ES: Empuje - - id: MLC_4Yu - es-ES: Fin dosificacion diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7dcl deleted file mode 100644 index ebaa15c..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7dcl +++ /dev/null @@ -1,1342 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15160"; - S7_BlockTitle := "MLC_3Hv"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15160_ZC_CIP_SOSA_LIMP" - VAR_INPUT - { S7_MLC := "MLC_4pg" } - NombreSecuencia : String := 'LIMPIEZA'; - { S7_MLC := "MLC_4CX" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4v3" } - Ack : Bool; - { S7_MLC := "MLC_4R3" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4NQ" } - OrdenPausa : Bool; - { S7_MLC := "MLC_577" } - EtapasLimpieza : Bool; - { S7_MLC := "MLC_X6" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_3Sa" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_4ZP" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_3Sf" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_4rf" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_Xp" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3KB" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_4S3" } - ParoTiempo : Bool; - { S7_MLC := "MLC_4vY" } - FinLimpieza : Bool; - { S7_MLC := "MLC_Rx" } - CT_Retorno : Real; - { S7_MLC := "MLC_XU" } - TT_Retorno : Real; - { S7_MLC := "MLC_3YG" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_4zT" } - Parametros : _.UDT_ZC_RECETA_CIP_SOSA_LIMP; - { S7_MLC := "MLC_3Hb" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_3hb" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_UM" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_59f" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_rg" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_3Ls" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4A6" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_3KQ" } - MarchaBombaRecirculacion : Bool; - { S7_MLC := "MLC_rC" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_3YL" } - AperturaValvulaSalidaTanque : Bool; - { S7_MLC := "MLC_39z" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_3Sk" } - AperturaValvulaRetornoTanque : Bool; - { S7_MLC := "MLC_3Z3" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_4qk" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_nr" } - FinSecuencia : Bool; - { S7_MLC := "MLC_4XN" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_3TT" } - CondicionesOk : Bool; - END_VAR - VAR_OUTPUT RETAIN - { S7_MLC := "MLC_4xi" } - TiempoLimpieza : Int; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3iu" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4Ma" } - s_EtapaActual : Int; - { S7_MLC := "MLC_wr" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_3xS" } - (), - { S7_MLC := "MLC_4Md" } - (), - { S7_MLC := "MLC_3LS" } - (), - { S7_MLC := "MLC_3vu" } - (), - { S7_MLC := "MLC_3em" } - (), - { S7_MLC := "MLC_y8" } - (), - { S7_MLC := "MLC_3RU" } - (), - { S7_MLC := "MLC_3r6" } - (), - 2(()), - { S7_MLC := "MLC_RV" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_Setpoint := "True" } - s_MemTiempoLimpieza : Int; - { S7_MLC := "MLC_4ji" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3WB" } - (), - { S7_MLC := "MLC_48N" } - (), - { S7_MLC := "MLC_4ks" } - (), - { S7_MLC := "MLC_pK" } - (), - { S7_MLC := "MLC_sA" } - (), - { S7_MLC := "MLC_ea" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_48r" } - (), - { S7_MLC := "MLC_3cL" } - (), - { S7_MLC := "MLC_58Z" } - (), - { S7_MLC := "MLC_53z" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_4pU" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_4Qt" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 4; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3VZ" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15160_ZC_CIP_SOSA_LIMP - Descripcion: Bloque de gestión de limpieza CIP fase SOSA - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Kr" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4PW" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_37A" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Az" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - LIMPIEZA'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RESERVA'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE LIMPIEZA'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vc" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3ap" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasLimpieza ) - Contact( #OrdenMarcha ) - Move( - in := 5, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3iH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3eS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #Parametros.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3t4" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #Parametros.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Wh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.TiempoEmpujeDestinoACCIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3s8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #Parametros.TiempoLimpieza, - out1 => #s_TiempoEtapa.SP, - out2 => #s_MemTiempoLimpieza - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - Contact( #EstadoRetorno ) - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - wire#w2 - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - END_RUNG wire#w2 - RUNG wire#w2 - Contact( #s_TON[2].Q ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w3 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w3 - RUNG wire#w1 - Move( - in := #s_TiempoEtapa.Actual, - out1 => #s_MemTiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_QZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Uy" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4by" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasLimpieza ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tc" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vC" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_5A3" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3eg" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_iJ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3w2" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_425" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_46n" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaRecirculacion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Bn" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Wm" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_568" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_47U" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3pR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4re" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 1, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #s_DrenajeLinea ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42i" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_eh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_36L" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3dp" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4zZ" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_MemTiempoLimpieza, - out1 => #TiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4RP" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - Contact( #s_TON[2].Q ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4MG" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Cs" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Dh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7res deleted file mode 100644 index 183c912..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15160_ZC_CIP_SOSA_LIMP.s7res +++ /dev/null @@ -1,203 +0,0 @@ -MultiLingualTexts: - - id: MLC_3Hv - es-ES: FB15160_ZC_CIP_SOSA_LIMP - - id: MLC_4pg - es-ES: Nombre de la secuencia - - id: MLC_4CX - es-ES: Pulso 1 segundo - - id: MLC_4v3 - es-ES: Acuse general - - id: MLC_4R3 - es-ES: Estado proceso principal en marcha - - id: MLC_4NQ - es-ES: Orden pausa adicional - - id: MLC_577 - es-ES: Proceso principal en etapas de limpieza - - id: MLC_X6 - es-ES: Orden marcha secuencia - - id: MLC_3Sa - es-ES: Habilitacion recuperacion agua - - id: MLC_4ZP - es-ES: Estado bomba de impulsion linea - - id: MLC_3Sf - es-ES: Estado CON retorno linea - - id: MLC_4rf - es-ES: Estado SIN retorno linea - - id: MLC_Xp - es-ES: Destino vacio - - id: MLC_3KB - es-ES: Orden paro bomba impulsion - - id: MLC_4S3 - es-ES: Orden paro tiempo limpieza - - id: MLC_4vY - es-ES: Orden fin limpieza - - id: MLC_Rx - es-ES: Conductividad retorno - - id: MLC_XU - es-ES: Temperatura retorno - - id: MLC_3YG - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_4zT - es-ES: Parametros - - id: MLC_3Hb - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_3hb - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_UM - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_59f - es-ES: Numero de intentos autocebado - - id: MLC_rg - es-ES: Estado Detector flujo intermedio - - id: MLC_3Ls - es-ES: Estado bomba intermedia - - id: MLC_4A6 - es-ES: Orden de marcha bomba impulsion - - id: MLC_3KQ - es-ES: Orden de marcha bomba Recirculacion - - id: MLC_rC - es-ES: Orden de marcha bomba Intermedia - - id: MLC_3YL - es-ES: Orden apertura valvula de salida - - id: MLC_39z - es-ES: Orden apertura valvula de envio - - id: MLC_3Sk - es-ES: Orden apertura valvula de retorno - - id: MLC_3Z3 - es-ES: Orden apertura valvula de drenaje linea - - id: MLC_4qk - es-ES: Secuencia iniciada - - id: MLC_nr - es-ES: Secuencia finalizada - - id: MLC_4XN - es-ES: Fallo autocebado bomba intermedia - - id: MLC_3TT - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4xi - es-ES: Tiempo de limpieza - - id: MLC_3iu - es-ES: Etapa actual - - id: MLC_4Ma - es-ES: Etapa actual - - id: MLC_wr - es-ES: Texto etapa - - id: MLC_3xS - es-ES: P_TRIG Etapa 5 - - id: MLC_4Md - es-ES: P_TRIG Etapa 10 - - id: MLC_3LS - es-ES: P_TRIG Etapa 20 - - id: MLC_3vu - es-ES: P_TRIG Etapa 30 - - id: MLC_3em - es-ES: P_TRIG Etapa 40 - - id: MLC_y8 - es-ES: P_TRIG Etapa 50 - - id: MLC_3RU - es-ES: P_TRIG Etapa 60 - - id: MLC_3r6 - es-ES: P_TRIG Etapa 70 - - id: MLC_RV - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_4ji - es-ES: Numero de intentos de autocebado - - id: MLC_3WB - es-ES: Retardo destino vacio - - id: MLC_48N - es-ES: Retardo condiciones limpieza - - id: MLC_4ks - es-ES: Pausa - - id: MLC_pK - es-ES: Continuar - - id: MLC_sA - es-ES: Retardo fin drenaje - - id: MLC_ea - es-ES: Retardo inicio drenaje - - id: MLC_48r - es-ES: Retardo desconexion valvula envio - - id: MLC_3cL - es-ES: Retardo desconexion valvula retorno - - id: MLC_58Z - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_53z - es-ES: Retardo desconexion valvula salida - - id: MLC_4pU - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_4Qt - es-ES: Bomba Intermedia - - id: MLC_3VZ - es-ES: '@Change log' - - id: MLC_4Kr - es-ES: =============== Estado secuencia - - id: MLC_4PW - es-ES: Pausa - - id: MLC_37A - es-ES: Paro de secuencia - - id: MLC_4Az - es-ES: Texto Etapa - - id: MLC_vc - es-ES: =============== Secuencia - - id: MLC_3ap - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3iH - es-ES: Etapa 005 - Paro bomba para apertura de caminos - - id: MLC_3eS - es-ES: Etapa 010 - Envio a destinos - - id: MLC_3t4 - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_Wh - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_3s8 - es-ES: Etapa 040 - Limpieza - - id: MLC_QZ - es-ES: Etapa 050 - Reserva - - id: MLC_4Uy - es-ES: Etapa 060 - Fin de limpieza - - id: MLC_4by - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_4tc - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_vC - es-ES: Contador tiempo - - id: MLC_5A3 - es-ES: Temporizadores - - id: MLC_3eg - es-ES: =============== Auxiliares - - id: MLC_iJ - es-ES: Gestion condiciones drenaje - - id: MLC_3w2 - es-ES: =============== Salidas - - id: MLC_425 - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_46n - es-ES: Bomba Recirculacion - Orden de marcha - - id: MLC_4Bn - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_3Wm - es-ES: Bomba Intermedia - FF con DF - - id: MLC_568 - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_47U - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_3pR - es-ES: Valvula de salida - Orden de activacion - - id: MLC_4re - es-ES: Valvula Drenaje - Orden de activacion - - id: MLC_42i - es-ES: Valvula Salida Tanque - Orden de activacion - - id: MLC_eh - es-ES: Valvula Retorno - Orden de activacion - - id: MLC_36L - es-ES: Secuencia iniciada - - id: MLC_3dp - es-ES: Fin secuencia - - id: MLC_4zZ - es-ES: Tiempo Limpieza - - id: MLC_4RP - es-ES: Condiciones ok - - id: MLC_4MG - es-ES: Etapa actual - - id: MLC_3Cs - es-ES: =============== Alarmas - - id: MLC_4Dh - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7dcl deleted file mode 100644 index c72e1d4..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7dcl +++ /dev/null @@ -1,1484 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15161"; - S7_BlockTitle := "MLC_4uu"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15161_ZC_CIP_SOSA_ENJ" - VAR_INPUT - { S7_MLC := "MLC_LU" } - NombreSecuencia : String := 'ENJUAGUE'; - { S7_MLC := "MLC_4zZ" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4k6" } - Ack : Bool; - { S7_MLC := "MLC_QG" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4An" } - OrdenPausa : Bool; - { S7_MLC := "MLC_4et" } - EtapasEnjuague : Bool; - { S7_MLC := "MLC_3rD" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4NN" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_3Yh" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_3iQ" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_3Fk" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_U2" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3Aw" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_56T" } - ParoTiempo : Bool; - { S7_MLC := "MLC_4Ey" } - FinLimpieza : Bool; - { S7_MLC := "MLC_37C" } - CT_Retorno : Real; - { S7_MLC := "MLC_4X8" } - TT_Retorno : Real; - { S7_MLC := "MLC_54s" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_3zM" } - HL_TQAguaRecup : Bool; - { S7_MLC := "MLC_37d" } - ParametrosEnjuague : _.UDT_ZC_RECETA_CIP_SOSA_ENJ; - { S7_MLC := "MLC_TF" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_4nx" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_n7" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_3xJ" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_3kU" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_4H2" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_nj" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_54Y" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_345" } - AperturaValvulaEnvioAgua : Bool; - { S7_MLC := "MLC_4g4" } - AperturaValvulaRetornoTqSosaAcidoParacetico : Bool; - { S7_MLC := "MLC_57R" } - AperturaValvulaRetornoTqAguaRecup : Bool; - { S7_MLC := "MLC_4fu" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_3GB" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_3wJ" } - AperturaValvulaDQO : Bool; - { S7_MLC := "MLC_Yu" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_4dX" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_Xa" } - FinSecuencia : Bool; - { S7_MLC := "MLC_4Jn" } - CondicionesOk : Bool; - { S7_MLC := "MLC_4s6" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4kw" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4Xr" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool := false; - s_AguaRecuperada : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_EnvioDQO : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_4kW" } - (), - { S7_MLC := "MLC_4Df" } - (), - { S7_MLC := "MLC_4kt" } - (), - { S7_MLC := "MLC_3rZ" } - (), - { S7_MLC := "MLC_3VW" } - (), - { S7_MLC := "MLC_Ys" } - (), - { S7_MLC := "MLC_Rc" } - (), - { S7_MLC := "MLC_3L5" } - (), - 2(()), - { S7_MLC := "MLC_Xx" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_3t7" } - s_TiempoConductividadCorrecta : Int; - { S7_MLC := "MLC_3jm" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_zw" } - (), - { S7_MLC := "MLC_3vP" } - (), - { S7_MLC := "MLC_4D5" } - (), - { S7_MLC := "MLC_42P" } - (), - { S7_MLC := "MLC_Lr" } - (), - { S7_MLC := "MLC_44T" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_3JL" } - (), - { S7_MLC := "MLC_33c" } - (), - { S7_MLC := "MLC_sc" } - (), - { S7_MLC := "MLC_Qs" } - (), - { S7_MLC := "MLC_3sa" } - (), - { S7_MLC := "MLC_4fq" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_3vk" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_3PZ" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - t_TiempoEnvioDQO : Int; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 6; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3eE" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15161_ZC_CIP_SOSA_ENJ - Descripcion: Bloque de gestión de enjuague CIP fase SOSA - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3r3" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_45u" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_nq" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3j5" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENJUAGUE'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE ENJUAGUE'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Wa" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34L" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasEnjuague ) - Contact( #OrdenMarcha ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3ZN" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_LK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_499" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_52Q" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_PS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #ParametrosEnjuague.TiempoMaxEnjuague, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - I_Contact( #s_Pausa_M ) - I_Contact( #ParoTiempo ) - Contact( #Pulso1Seg ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoConductividadCorrecta ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w2 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ConductividadEnjuagueOk, - in2 := 0.0 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #ParametrosEnjuague.TiempoEnjuagueConConductividad - ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3WA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_cL" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4YR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasEnjuague ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_38D" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_mh" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_NK" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3kz" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4C9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_jK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenajeAguaRecup - ) - I_Contact( #HL_TQAguaRecup ) - Coil( #s_AguaRecuperada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ts" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - R_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 0 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - wire#w2 - { - S7_Expression := "IN1 * IN3 / IN2"; - S7_Templates := "SrcType := Int" - } - Calculate( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 100.0, - in3 := #ParametrosEnjuague.ProcentajeEnvioDQO, - out => #t_TiempoEnvioDQO - ) - Sub( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := #t_TiempoEnvioDQO, - out => #t_TiempoEnvioDQO - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #t_TiempoEnvioDQO - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_kw" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3pd" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Cr" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w3 - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3nJ" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ec" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_VE" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3QR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - I_Contact( #ParoBombaImpulsion ) - Move( - in := 1, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_48t" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - I_Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4MG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTqSosaAcidoParacetico ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4SU" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #HabilitacionRecuperacion ) - Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaRetornoTqAguaRecup ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ns" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[6].SP - ) - Coil( #s_TOF[6].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[6].Q ) - Coil( #AperturaValvulaDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Rh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_57J" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Hb" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4P8" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3MJ" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42x" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7res deleted file mode 100644 index c8b0608..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15161_ZC_CIP_SOSA_ENJ.s7res +++ /dev/null @@ -1,215 +0,0 @@ -MultiLingualTexts: - - id: MLC_4uu - es-ES: FB15161_ZC_CIP_SOSA_ENJ - - id: MLC_LU - es-ES: Nombre de la secuencia - - id: MLC_4zZ - es-ES: Pulso 1 segundo - - id: MLC_4k6 - es-ES: Acuse general - - id: MLC_QG - es-ES: Estado proceso principal en marcha - - id: MLC_4An - es-ES: Orden pausa adicional - - id: MLC_4et - es-ES: Proceso principal en etapas de enjuague - - id: MLC_3rD - es-ES: Orden marcha secuencia - - id: MLC_4NN - es-ES: Habilitacion recuperacion agua - - id: MLC_3Yh - es-ES: Estado bomba de impulsion linea - - id: MLC_3iQ - es-ES: Estado CON retorno linea - - id: MLC_3Fk - es-ES: Estado SIN retorno linea - - id: MLC_U2 - es-ES: Destino vacio - - id: MLC_3Aw - es-ES: Orden paro bomba impulsion - - id: MLC_56T - es-ES: Orden paro tiempo limpieza - - id: MLC_4Ey - es-ES: Orden fin limpieza - - id: MLC_37C - es-ES: Conductividad retorno - - id: MLC_4X8 - es-ES: Temperatura retorno - - id: MLC_54s - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_3zM - es-ES: Detector HL Tanque agua recuperada - - id: MLC_37d - es-ES: Parametros - - id: MLC_TF - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_4nx - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_n7 - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_3xJ - es-ES: Numero de intentos autocebado - - id: MLC_3kU - es-ES: Estado Detector flujo intermedio - - id: MLC_4H2 - es-ES: Estado bomba intermedia - - id: MLC_nj - es-ES: Orden de marcha bomba impulsion - - id: MLC_54Y - es-ES: MarchaBombaIntermedia - - id: MLC_345 - es-ES: Orden apertura valvula de envio Agua - - id: MLC_4g4 - es-ES: Orden apertura valvula de retorno a TQ SOSA/ACIDO - - id: MLC_57R - es-ES: Orden apertura valvula de retorno a TQ Agua Recuperada - - id: MLC_4fu - es-ES: Orden apertura valvula de retorno - - id: MLC_3GB - es-ES: Orden apertura valvula envio CIP - - id: MLC_3wJ - es-ES: Orden apertura valvula envio a DQO - - id: MLC_Yu - es-ES: Secuencia iniciada - - id: MLC_4dX - es-ES: Fallo autocebado bomba intermedia - - id: MLC_Xa - es-ES: Secuencia finalizada - - id: MLC_4Jn - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4s6 - es-ES: Etapa actual - - id: MLC_4kw - es-ES: Etapa actual - - id: MLC_4Xr - es-ES: Texto etapa - - id: MLC_4kW - es-ES: P_TRIG Etapa 5 - - id: MLC_4Df - es-ES: P_TRIG Etapa 10 - - id: MLC_4kt - es-ES: P_TRIG Etapa 20 - - id: MLC_3rZ - es-ES: P_TRIG Etapa 30 - - id: MLC_3VW - es-ES: P_TRIG Etapa 40 - - id: MLC_Ys - es-ES: P_TRIG Etapa 50 - - id: MLC_Rc - es-ES: P_TRIG Etapa 60 - - id: MLC_3L5 - es-ES: P_TRIG Etapa 70 - - id: MLC_Xx - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_3t7 - es-ES: Tiempo para enjuague ok por conductividad - - id: MLC_3jm - es-ES: Numero de intentos de autocebado - - id: MLC_zw - es-ES: Retardo destino vacio 1 - - id: MLC_3vP - es-ES: Retardo destino vacio 2 - - id: MLC_4D5 - es-ES: Pausa - - id: MLC_42P - es-ES: Continuar - - id: MLC_Lr - es-ES: Retardo fin drenaje - - id: MLC_44T - es-ES: Retardo inicio drenaje - - id: MLC_3JL - es-ES: Retardo desconexion valvula envio - - id: MLC_33c - es-ES: Retardo desconexion valvula retorno tanque sosa/acido - - id: MLC_sc - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_Qs - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_3sa - es-ES: Retardo desconexion valvula salida - - id: MLC_4fq - es-ES: Retardo desconexion valvula DQO - - id: MLC_3vk - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_3PZ - es-ES: Bomba intermedia - - id: MLC_3eE - es-ES: '@Change log' - - id: MLC_3r3 - es-ES: =============== Estado secuencia - - id: MLC_45u - es-ES: Pausa - - id: MLC_nq - es-ES: Paro de secuencia - - id: MLC_3j5 - es-ES: Texto Etapa - - id: MLC_Wa - es-ES: =============== Secuencia - - id: MLC_34L - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3ZN - es-ES: Etapa 005 - Paro bomba para apertura de camino - - id: MLC_LK - es-ES: Etapa 010 - Envio a destinos - - id: MLC_499 - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_52Q - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_PS - es-ES: Etapa 040 - Enjuague - - id: MLC_3WA - es-ES: Etapa 050 - Vaciado de destinos - - id: MLC_cL - es-ES: Etapa 060 - Fin de enjuague - - id: MLC_4YR - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_38D - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_mh - es-ES: Contador tiempo - - id: MLC_NK - es-ES: Temporizadores - - id: MLC_3kz - es-ES: =============== Auxiliares - - id: MLC_4C9 - es-ES: Gestion condiciones drenaje - - id: MLC_jK - es-ES: Gestion condiciones agua recuperada - - id: MLC_3Ts - es-ES: Gestion envio a tanque DQO - - id: MLC_kw - es-ES: =============== Salidas - - id: MLC_3pd - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_3Cr - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_3nJ - es-ES: Bomba Intermedia - FF con DF - - id: MLC_3Ec - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_VE - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_3QR - es-ES: Valvula de salida - Orden de activacion - - id: MLC_3zC - es-ES: Valvula de envio agua - Orden de activacion - - id: MLC_48t - es-ES: Valvula Drenaje Linea - Orden de activacion - - id: MLC_4MG - es-ES: Valvula de retorno a TQ SOSA/ACIDO - Orden de activacion - - id: MLC_4SU - es-ES: Valvula de retorno a TQ Agua Recuperada - Orden de activacion - - id: MLC_ns - es-ES: Valvula de envio a DQO - Orden de activacion - - id: MLC_3Rh - es-ES: Secuencia iniciada - - id: MLC_57J - es-ES: Fin secuencia - - id: MLC_4Hb - es-ES: Condiciones ok - - id: MLC_4P8 - es-ES: Etapa actual - - id: MLC_3MJ - es-ES: =============== Alarmas - - id: MLC_42x - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7dcl deleted file mode 100644 index fc0137a..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7dcl +++ /dev/null @@ -1,1341 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15162"; - S7_BlockTitle := "MLC_44R"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15162_ZC_CIP_ACIDO_LIMP" - VAR_INPUT - { S7_MLC := "MLC_sx" } - NombreSecuencia : String := 'LIMPIEZA'; - { S7_MLC := "MLC_c4" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4Js" } - Ack : Bool; - { S7_MLC := "MLC_3V5" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3cH" } - OrdenPausa : Bool; - { S7_MLC := "MLC_bk" } - EtapasLimpieza : Bool; - { S7_MLC := "MLC_3GV" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4EN" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_42L" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_4XE" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_4J8" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_3m8" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3tq" } - CT_Retorno : Real; - { S7_MLC := "MLC_4fj" } - TT_Retorno : Real; - { S7_MLC := "MLC_Xw" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_Un" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_59x" } - ParoTiempo : Bool; - { S7_MLC := "MLC_3c3" } - FinLimpieza : Bool; - { S7_MLC := "MLC_T7" } - Parametros : _.UDT_ZC_RECETA_CIP_ACIDO_LIMP; - { S7_MLC := "MLC_39X" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_339" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_4PB" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_z2" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_4df" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_43B" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_pZ" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_3Xf" } - MarchaBombaRecirculacion : Bool; - { S7_MLC := "MLC_L8" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_y7" } - AperturaValvulaSalidaTanque : Bool; - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_WD" } - AperturaValvulaRetornoTanque : Bool; - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_3Px" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_a8" } - FinSecuencia : Bool; - { S7_MLC := "MLC_3bA" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_4s6" } - CondicionesOk : Bool; - END_VAR - VAR_OUTPUT RETAIN - { S7_MLC := "MLC_4nY" } - TiempoLimpieza : Int; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_Yu" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_59L" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4UX" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_3wm" } - (), - { S7_MLC := "MLC_53L" } - (), - { S7_MLC := "MLC_3FN" } - (), - { S7_MLC := "MLC_43D" } - (), - { S7_MLC := "MLC_43M" } - (), - { S7_MLC := "MLC_4m9" } - (), - { S7_MLC := "MLC_3QX" } - (), - { S7_MLC := "MLC_4iy" } - (), - 2(()), - { S7_MLC := "MLC_3VK" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_Setpoint := "True" } - s_MemTiempoLimpieza : Int; - { S7_Setpoint := "True" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4DZ" } - (), - { S7_MLC := "MLC_4wa" } - (), - { S7_MLC := "MLC_Ta" } - (), - { S7_MLC := "MLC_T8" } - (), - { S7_MLC := "MLC_5BN" } - (), - { S7_MLC := "MLC_4ME" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_3Xj" } - (), - { S7_MLC := "MLC_58v" } - (), - { S7_MLC := "MLC_4kU" } - (), - { S7_MLC := "MLC_4Qq" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_3AZ" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_4pJ" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 4; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Sp" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15162_ZC_CIP_ACIDO_LIMP - Descripcion: Bloque de gestión de limpieza CIP fase ACIDO - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3X7" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ph" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_567" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_ap" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - LIMPIEZA'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RESERVA'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE LIMPIEZA'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Vp" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4sq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasLimpieza ) - Contact( #OrdenMarcha ) - Move( - in := 5, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4vh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_fr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #Parametros.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_qr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #Parametros.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XP" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.TiempoEmpujeDestinoACCIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4FJ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #Parametros.TiempoLimpieza, - out1 => #s_TiempoEtapa.SP, - out2 => #s_MemTiempoLimpieza - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - Contact( #EstadoRetorno ) - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - wire#w2 - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - END_RUNG wire#w2 - RUNG wire#w2 - Contact( #s_TON[2].Q ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w3 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w3 - RUNG wire#w1 - Move( - in := #s_TiempoEtapa.Actual, - out1 => #s_MemTiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ev" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4sB" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_gh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasLimpieza ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_PY" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ux" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3NV" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ka" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4xk" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3KV" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4PJ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3CN" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaRecirculacion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Tf" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wL" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5CP" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42a" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_38t" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XT" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 1, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #s_DrenajeLinea ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ap" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Ks" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_MH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_354" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3uz" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_MemTiempoLimpieza, - out1 => #TiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4zx" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Retorno, - in2 := #Parametros.TemperaturaLimpiezaOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - Contact( #s_TON[2].Q ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3ZF" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4mg" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3H2" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7res deleted file mode 100644 index d25f999..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15162_ZC_CIP_ACIDO_LIMP.s7res +++ /dev/null @@ -1,197 +0,0 @@ -MultiLingualTexts: - - id: MLC_44R - es-ES: FB15162_ZC_CIP_ACIDO_LIMP - - id: MLC_sx - es-ES: Nombre de la secuencia - - id: MLC_c4 - es-ES: Pulso 1 segundo - - id: MLC_4Js - es-ES: Acuse general - - id: MLC_3V5 - es-ES: Estado proceso principal en marcha - - id: MLC_3cH - es-ES: Orden pausa adicional - - id: MLC_bk - es-ES: Proceso principal en etapas de limpieza - - id: MLC_3GV - es-ES: Orden marcha secuencia - - id: MLC_4EN - es-ES: Habilitacion recuperacion agua - - id: MLC_42L - es-ES: Estado bomba de impulsion linea - - id: MLC_4XE - es-ES: Estado CON retorno linea - - id: MLC_4J8 - es-ES: Estado SIN retorno linea - - id: MLC_3m8 - es-ES: Destino vacio - - id: MLC_3tq - es-ES: Conductividad retorno - - id: MLC_4fj - es-ES: Temperatura retorno - - id: MLC_Xw - es-ES: Orden paro bomba impulsion - - id: MLC_Un - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_59x - es-ES: Orden paro tiempo limpieza - - id: MLC_3c3 - es-ES: Orden fin limpieza - - id: MLC_T7 - es-ES: Parametros - - id: MLC_39X - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_339 - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_4PB - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_z2 - es-ES: Numero de intentos autocebado - - id: MLC_4df - es-ES: Estado Detector flujo intermedio - - id: MLC_43B - es-ES: Estado bomba intermedia - - id: MLC_pZ - es-ES: Orden de marcha bomba impulsion - - id: MLC_3Xf - es-ES: Orden de marcha bomba Recirculacion - - id: MLC_L8 - es-ES: Orden de marcha bomba Intermedia - - id: MLC_y7 - es-ES: Orden apertura valvula de envio - - id: MLC_WD - es-ES: Orden apertura valvula de retorno - - id: MLC_3Px - es-ES: Secuencia iniciada - - id: MLC_a8 - es-ES: Secuencia finalizada - - id: MLC_3bA - es-ES: Fallo autocebado bomba intermedia - - id: MLC_4s6 - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4nY - es-ES: Tiempo de limpieza - - id: MLC_Yu - es-ES: Etapa actual - - id: MLC_59L - es-ES: Etapa actual - - id: MLC_4UX - es-ES: Texto etapa - - id: MLC_3wm - es-ES: P_TRIG Etapa 5 - - id: MLC_53L - es-ES: P_TRIG Etapa 10 - - id: MLC_3FN - es-ES: P_TRIG Etapa 20 - - id: MLC_43D - es-ES: P_TRIG Etapa 30 - - id: MLC_43M - es-ES: P_TRIG Etapa 40 - - id: MLC_4m9 - es-ES: P_TRIG Etapa 50 - - id: MLC_3QX - es-ES: P_TRIG Etapa 60 - - id: MLC_4iy - es-ES: P_TRIG Etapa 70 - - id: MLC_3VK - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_4DZ - es-ES: Retardo destino vacio - - id: MLC_4wa - es-ES: Retardo condiciones limpieza - - id: MLC_Ta - es-ES: Pausa - - id: MLC_T8 - es-ES: Continuar - - id: MLC_5BN - es-ES: Retardo fin drenaje - - id: MLC_4ME - es-ES: Retardo inicio drenaje - - id: MLC_3Xj - es-ES: Retardo desconexion valvula envio - - id: MLC_58v - es-ES: Retardo desconexion valvula retorno - - id: MLC_4kU - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_4Qq - es-ES: Retardo desconexion valvula salida - - id: MLC_3AZ - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_4pJ - es-ES: Bomba Intermedia - - id: MLC_Sp - es-ES: '@Change log' - - id: MLC_3X7 - es-ES: =============== Estado secuencia - - id: MLC_4ph - es-ES: Pausa - - id: MLC_567 - es-ES: Paro de secuencia - - id: MLC_ap - es-ES: Texto Etapa - - id: MLC_Vp - es-ES: =============== Secuencia - - id: MLC_4sq - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_4vh - es-ES: Etapa 005 - Paro bomba para apertura de caminos - - id: MLC_fr - es-ES: Etapa 010 - Envio a destinos - - id: MLC_qr - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_XP - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_4FJ - es-ES: Etapa 040 - Limpieza - - id: MLC_4Ev - es-ES: Etapa 050 - Reserva - - id: MLC_4sB - es-ES: Etapa 060 - Fin de limpieza - - id: MLC_gh - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_PY - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4ux - es-ES: Contador tiempo - - id: MLC_3NV - es-ES: Temporizadores - - id: MLC_3Ka - es-ES: =============== Auxiliares - - id: MLC_4xk - es-ES: Gestion condiciones drenaje - - id: MLC_3KV - es-ES: =============== Salidas - - id: MLC_4PJ - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_3CN - es-ES: Bomba Recirculacion - Orden de marcha - - id: MLC_3Tf - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_wL - es-ES: Bomba Intermedia - FF con DF - - id: MLC_5CP - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_42a - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_38t - es-ES: Valvula de salida - Orden de activacion - - id: MLC_XT - es-ES: Valvula Drenaje - Orden de activacion - - id: MLC_4Ap - es-ES: Valvula Salida Tanque - Orden de activacion - - id: MLC_Ks - es-ES: Valvula Retorno - Orden de activacion - - id: MLC_MH - es-ES: Secuencia iniciada - - id: MLC_354 - es-ES: Fin secuencia - - id: MLC_3uz - es-ES: Tiempo Limpieza - - id: MLC_4zx - es-ES: Condiciones ok - - id: MLC_3ZF - es-ES: Etapa actual - - id: MLC_4mg - es-ES: =============== Alarmas - - id: MLC_3H2 - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7dcl deleted file mode 100644 index e9e5f56..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7dcl +++ /dev/null @@ -1,1484 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15163"; - S7_BlockTitle := "MLC_43v"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15163_ZC_CIP_ACIDO_ENJ" - VAR_INPUT - { S7_MLC := "MLC_My" } - NombreSecuencia : String := 'ENJUAGUE'; - { S7_MLC := "MLC_sd" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_Vy" } - Ack : Bool; - { S7_MLC := "MLC_58w" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3an" } - OrdenPausa : Bool; - { S7_MLC := "MLC_4WL" } - EtapasEnjuague : Bool; - { S7_MLC := "MLC_33q" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4yU" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_4yy" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_57W" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_33g" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_4fJ" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3Pc" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_rh" } - ParoTiempo : Bool; - { S7_MLC := "MLC_3nF" } - FinLimpieza : Bool; - { S7_MLC := "MLC_3ku" } - CT_Retorno : Real; - { S7_MLC := "MLC_4HB" } - TT_Retorno : Real; - { S7_MLC := "MLC_4i7" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_45n" } - HL_TQAguaRecup : Bool; - { S7_MLC := "MLC_qq" } - ParametrosEnjuague : _.UDT_ZC_RECETA_CIP_ACIDO_ENJ; - { S7_MLC := "MLC_dm" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_54k" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_4L2" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_3W7" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_nR" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_3xp" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4AE" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_3ha" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_4Td" } - AperturaValvulaEnvioAgua : Bool; - { S7_MLC := "MLC_3qp" } - AperturaValvulaRetornoTqSosaAcidoParacetico : Bool; - { S7_MLC := "MLC_3fn" } - AperturaValvulaRetornoTqAguaRecup : Bool; - { S7_MLC := "MLC_ay" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_Nb" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_4f4" } - AperturaValvulaDQO : Bool; - { S7_MLC := "MLC_3pf" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_4X8" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_3G5" } - FinSecuencia : Bool; - { S7_MLC := "MLC_ig" } - CondicionesOk : Bool; - { S7_MLC := "MLC_55k" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_ea" } - s_EtapaActual : Int; - { S7_MLC := "MLC_3fu" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool := false; - s_AguaRecuperada : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_EnvioDQO : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_4Qn" } - (), - { S7_MLC := "MLC_RB" } - (), - { S7_MLC := "MLC_45k" } - (), - { S7_MLC := "MLC_3EW" } - (), - { S7_MLC := "MLC_3Rd" } - (), - { S7_MLC := "MLC_3zw" } - (), - { S7_MLC := "MLC_3kn" } - (), - { S7_MLC := "MLC_3sj" } - (), - 2(()), - { S7_MLC := "MLC_3zP" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_3zN" } - s_TiempoConductividadCorrecta : Int; - { S7_MLC := "MLC_3HU" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4Qz" } - (), - { S7_MLC := "MLC_3P7" } - (), - { S7_MLC := "MLC_38N" } - (), - { S7_MLC := "MLC_3sa" } - (), - { S7_MLC := "MLC_jg" } - (), - { S7_MLC := "MLC_3AR" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_XG" } - (), - { S7_MLC := "MLC_47d" } - (), - { S7_MLC := "MLC_R5" } - (), - { S7_MLC := "MLC_34i" } - (), - { S7_MLC := "MLC_hk" } - (), - { S7_MLC := "MLC_3uE" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_3FG" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_4Cj" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - t_TiempoEnvioDQO : Int; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 6; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4ze" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15163_ZC_CIP_ACIDO_ENJ - Descripcion: Bloque de gestión de enjuague CIP fase ACIDO - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4wb" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Cb" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4cP" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_kR" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENJUAGUE'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE ENJUAGUE'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_TY" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasEnjuague ) - Contact( #OrdenMarcha ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3G6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3d6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_PZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ki" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #ParametrosEnjuague.TiempoMaxEnjuague, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - I_Contact( #s_Pausa_M ) - I_Contact( #ParoTiempo ) - Contact( #Pulso1Seg ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoConductividadCorrecta ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w2 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ConductividadEnjuagueOk, - in2 := 0.0 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #ParametrosEnjuague.TiempoEnjuagueConConductividad - ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Kf" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4n9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasEnjuague ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Jv" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Hr" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_YU" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Js" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3RM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ZL" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenajeAguaRecup - ) - I_Contact( #HL_TQAguaRecup ) - Coil( #s_AguaRecuperada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5AS" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - R_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 0 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - wire#w2 - { - S7_Expression := "IN1 * IN3 / IN2"; - S7_Templates := "SrcType := Int" - } - Calculate( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 100.0, - in3 := #ParametrosEnjuague.ProcentajeEnvioDQO, - out => #t_TiempoEnvioDQO - ) - Sub( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := #t_TiempoEnvioDQO, - out => #t_TiempoEnvioDQO - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #t_TiempoEnvioDQO - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_36C" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_jU" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w3 - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_yG" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3FB" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[3] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_55m" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_56X" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Yi" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - I_Contact( #ParoBombaImpulsion ) - Move( - in := 1, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34m" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - I_Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_44t" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTqSosaAcidoParacetico ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3hP" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #HabilitacionRecuperacion ) - Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaRetornoTqAguaRecup ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_44Y" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[6].SP - ) - Coil( #s_TOF[6].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[6].Q ) - Coil( #AperturaValvulaDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_uf" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3VD" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Ws" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4rJ" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3w5" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4SW" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7res deleted file mode 100644 index 0647334..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15163_ZC_CIP_ACIDO_ENJ.s7res +++ /dev/null @@ -1,215 +0,0 @@ -MultiLingualTexts: - - id: MLC_43v - es-ES: FB15163_ZC_CIP_ACIDO_ENJ - - id: MLC_My - es-ES: Nombre de la secuencia - - id: MLC_sd - es-ES: Pulso 1 segundo - - id: MLC_Vy - es-ES: Acuse general - - id: MLC_58w - es-ES: Estado proceso principal en marcha - - id: MLC_3an - es-ES: Orden pausa adicional - - id: MLC_4WL - es-ES: Proceso principal en etapas de enjuague - - id: MLC_33q - es-ES: Orden marcha secuencia - - id: MLC_4yU - es-ES: Habilitacion recuperacion agua - - id: MLC_4yy - es-ES: Estado bomba de impulsion linea - - id: MLC_57W - es-ES: Estado CON retorno linea - - id: MLC_33g - es-ES: Estado SIN retorno linea - - id: MLC_4fJ - es-ES: Destino vacio - - id: MLC_3Pc - es-ES: Orden paro bomba impulsion - - id: MLC_rh - es-ES: Orden paro tiempo limpieza - - id: MLC_3nF - es-ES: Orden fin limpieza - - id: MLC_3ku - es-ES: Conductividad retorno - - id: MLC_4HB - es-ES: Temperatura retorno - - id: MLC_4i7 - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_45n - es-ES: Detector HL Tanque agua recuperada - - id: MLC_qq - es-ES: Parametros - - id: MLC_dm - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_54k - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_4L2 - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_3W7 - es-ES: Numero de intentos autocebado - - id: MLC_nR - es-ES: Estado Detector flujo intermedio - - id: MLC_3xp - es-ES: Estado bomba intermedia - - id: MLC_4AE - es-ES: Orden de marcha bomba impulsion - - id: MLC_3ha - es-ES: MarchaBombaIntermedia - - id: MLC_4Td - es-ES: Orden apertura valvula de envio Agua - - id: MLC_3qp - es-ES: Orden apertura valvula de retorno a TQ SOSA/ACIDO - - id: MLC_3fn - es-ES: Orden apertura valvula de retorno a TQ Agua Recuperada - - id: MLC_ay - es-ES: Orden apertura valvula de retorno - - id: MLC_Nb - es-ES: Orden apertura valvula envio CIP - - id: MLC_4f4 - es-ES: Orden apertura valvula envio a DQO - - id: MLC_3pf - es-ES: Secuencia iniciada - - id: MLC_4X8 - es-ES: Fallo autocebado bomba intermedia - - id: MLC_3G5 - es-ES: Secuencia finalizada - - id: MLC_ig - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_55k - es-ES: Etapa actual - - id: MLC_ea - es-ES: Etapa actual - - id: MLC_3fu - es-ES: Texto etapa - - id: MLC_4Qn - es-ES: P_TRIG Etapa 5 - - id: MLC_RB - es-ES: P_TRIG Etapa 10 - - id: MLC_45k - es-ES: P_TRIG Etapa 20 - - id: MLC_3EW - es-ES: P_TRIG Etapa 30 - - id: MLC_3Rd - es-ES: P_TRIG Etapa 40 - - id: MLC_3zw - es-ES: P_TRIG Etapa 50 - - id: MLC_3kn - es-ES: P_TRIG Etapa 60 - - id: MLC_3sj - es-ES: P_TRIG Etapa 70 - - id: MLC_3zP - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_3zN - es-ES: Tiempo para enjuague ok por conductividad - - id: MLC_3HU - es-ES: Numero de intentos de autocebado - - id: MLC_4Qz - es-ES: Retardo destino vacio 1 - - id: MLC_3P7 - es-ES: Retardo destino vacio 2 - - id: MLC_38N - es-ES: Pausa - - id: MLC_3sa - es-ES: Continuar - - id: MLC_jg - es-ES: Retardo fin drenaje - - id: MLC_3AR - es-ES: Retardo inicio drenaje - - id: MLC_XG - es-ES: Retardo desconexion valvula envio - - id: MLC_47d - es-ES: Retardo desconexion valvula retorno tanque sosa/acido - - id: MLC_R5 - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_34i - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_hk - es-ES: Retardo desconexion valvula salida - - id: MLC_3uE - es-ES: Retardo desconexion valvula DQO - - id: MLC_3FG - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_4Cj - es-ES: Bomba intermedia - - id: MLC_4ze - es-ES: '@Change log' - - id: MLC_4wb - es-ES: =============== Estado secuencia - - id: MLC_3Cb - es-ES: Pausa - - id: MLC_4cP - es-ES: Paro de secuencia - - id: MLC_kR - es-ES: Texto Etapa - - id: MLC_TY - es-ES: =============== Secuencia - - id: MLC_3yZ - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3G6 - es-ES: Etapa 005 - Paro bomba para apertura de camino - - id: MLC_3d6 - es-ES: Etapa 010 - Envio a destinos - - id: MLC_PZ - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_4ki - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_3yb - es-ES: Etapa 040 - Enjuague - - id: MLC_3zE - es-ES: Etapa 050 - Vaciado de destinos - - id: MLC_3Kf - es-ES: Etapa 060 - Fin de enjuague - - id: MLC_4n9 - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_4Jv - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4Hr - es-ES: Contador tiempo - - id: MLC_YU - es-ES: Temporizadores - - id: MLC_3Js - es-ES: =============== Auxiliares - - id: MLC_3RM - es-ES: Gestion condiciones drenaje - - id: MLC_4ZL - es-ES: Gestion condiciones agua recuperada - - id: MLC_5AS - es-ES: Gestion envio a tanque DQO - - id: MLC_36C - es-ES: =============== Salidas - - id: MLC_4bH - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_jU - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_yG - es-ES: Bomba Intermedia - FF con DF - - id: MLC_3FB - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_55m - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_56X - es-ES: Valvula de salida - Orden de activacion - - id: MLC_4Yi - es-ES: Valvula de envio agua - Orden de activacion - - id: MLC_34m - es-ES: Valvula Drenaje Linea - Orden de activacion - - id: MLC_44t - es-ES: Valvula de retorno a TQ SOSA/ACIDO - Orden de activacion - - id: MLC_3hP - es-ES: Valvula de retorno a TQ Agua Recuperada - Orden de activacion - - id: MLC_44Y - es-ES: Valvula de envio a DQO - Orden de activacion - - id: MLC_uf - es-ES: Secuencia iniciada - - id: MLC_3VD - es-ES: Fin secuencia - - id: MLC_Ws - es-ES: Condiciones ok - - id: MLC_4rJ - es-ES: Etapa actual - - id: MLC_3w5 - es-ES: =============== Alarmas - - id: MLC_4SW - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7dcl deleted file mode 100644 index 5808816..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7dcl +++ /dev/null @@ -1,1454 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15164"; - S7_BlockTitle := "MLC_VR"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15164_ZC_CIP_SOLO_ENJ" - VAR_INPUT - { S7_MLC := "MLC_gh" } - NombreSecuencia : String := 'ENJUAGUE'; - { S7_MLC := "MLC_3h6" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_b5" } - Ack : Bool; - { S7_MLC := "MLC_4Ja" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_Ld" } - OrdenPausa : Bool; - { S7_MLC := "MLC_3w3" } - EtapasEnjuague : Bool; - { S7_MLC := "MLC_45w" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4Pm" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_3jM" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_4gw" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_4SS" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_4GJ" } - DestinoVacio : Bool; - { S7_MLC := "MLC_4R9" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_3zL" } - ParoTiempo : Bool; - { S7_MLC := "MLC_3ew" } - FinLimpieza : Bool; - { S7_MLC := "MLC_nj" } - CT_Retorno : Real; - { S7_MLC := "MLC_4px" } - TT_Retorno : Real; - { S7_MLC := "MLC_4Gu" } - HL_TQAguaRecup : Bool; - { S7_MLC := "MLC_33g" } - ParametrosEnjuague : _.UDT_ZC_RECETA_CIP_SOLO_ENJ; - { S7_MLC := "MLC_is" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_3cm" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_47v" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_59F" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_4VS" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_ti" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_53k" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_4XM" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_4Qw" } - AperturaValvulaEnvioAgua : Bool; - { S7_MLC := "MLC_3N7" } - AperturaValvulaRetornoTqAguaRecup : Bool; - { S7_MLC := "MLC_47M" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_36s" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_4py" } - AperturaValvulaDQO : Bool; - { S7_MLC := "MLC_4CH" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_4ZN" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_3mt" } - FinSecuencia : Bool; - { S7_MLC := "MLC_35T" } - CondicionesOk : Bool; - { S7_MLC := "MLC_4VV" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4Ck" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4yi" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool := false; - s_AguaRecuperada : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_EnvioDQO : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_3vX" } - (), - { S7_MLC := "MLC_385" } - (), - { S7_MLC := "MLC_559" } - (), - { S7_MLC := "MLC_4hf" } - (), - { S7_MLC := "MLC_f3" } - (), - { S7_MLC := "MLC_4Ks" } - (), - { S7_MLC := "MLC_3cN" } - (), - { S7_MLC := "MLC_4NJ" } - (), - 2(()), - { S7_MLC := "MLC_3aj" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_4w8" } - s_TiempoConductividadCorrecta : Int; - { S7_MLC := "MLC_4BQ" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4ma" } - (), - { S7_MLC := "MLC_4Ze" } - (), - { S7_MLC := "MLC_cZ" } - (), - { S7_MLC := "MLC_ig" } - (), - { S7_MLC := "MLC_4En" } - (), - { S7_MLC := "MLC_4Mm" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_zr" } - (), - { S7_MLC := "MLC_3f4" } - (), - { S7_MLC := "MLC_54M" } - (), - { S7_MLC := "MLC_3nu" } - (), - { S7_MLC := "MLC_4z9" } - (), - { S7_MLC := "MLC_XM" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_3EW" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_3sa" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - t_TiempoEnvioDQO : Int; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 6; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4tV" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15164_ZC_CIP_SOLO_ENJ - Descripcion: Bloque de gestión de enjuague CIP fase SOLO ENJUAGUE - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3pu" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_k3" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_a4" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4pB" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - LIMPIEZA'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE ENJUAGUE'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3VB" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3mw" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasEnjuague ) - Contact( #OrdenMarcha ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_35m" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_P2" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3RM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tc" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4R7" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #ParametrosEnjuague.TiempoMaxEnjuague, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuague - ) - Contact( #EstadoRetorno ) - I_Contact( #s_Pausa_M ) - I_Contact( #ParoTiempo ) - Contact( #Pulso1Seg ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoConductividadCorrecta ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuague - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w2 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ConductividadEnjuague, - in2 := 0.0 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #ParametrosEnjuague.TiempoEnjuagueConConductividad - ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34J" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3F8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Z8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasEnjuague ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_33x" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4rx" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Kq" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_WF" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3hF" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #HL_TQAguaRecup ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - wire#w3 - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w4 - ) - END_RUNG - RUNG wire#powerrail - Contact( #HL_TQAguaRecup ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w4 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_339" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenaje - ) - I_Contact( #HL_TQAguaRecup ) - Coil( #s_AguaRecuperada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_54F" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - R_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 0 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - wire#w2 - { - S7_Expression := "IN1 * IN3 / IN2"; - S7_Templates := "SrcType := Int" - } - Calculate( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 100.0, - in3 := #ParametrosEnjuague.ProcentajeEnvioDQO, - out => #t_TiempoEnvioDQO - ) - Sub( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := #t_TiempoEnvioDQO, - out => #t_TiempoEnvioDQO - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #t_TiempoEnvioDQO - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3qE" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Pm" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3V6" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w3 - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XE" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4EP" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #s_Pausa_M ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_z8" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ZL" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_32h" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - I_Contact( #ParoBombaImpulsion ) - Move( - in := 1, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_57X" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - I_Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43c" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #HabilitacionRecuperacion ) - Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaRetornoTqAguaRecup ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4qs" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[6].SP - ) - Coil( #s_TOF[6].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[6].Q ) - Coil( #AperturaValvulaDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58t" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_RW" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bA" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuague - ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuague - ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yy" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_pH" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4st" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7res deleted file mode 100644 index 8940e9a..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15164_ZC_CIP_SOLO_ENJ.s7res +++ /dev/null @@ -1,209 +0,0 @@ -MultiLingualTexts: - - id: MLC_VR - es-ES: FB15164_ZC_CIP_SOLO_ENJ - - id: MLC_gh - es-ES: Nombre de la secuencia - - id: MLC_3h6 - es-ES: Pulso 1 segundo - - id: MLC_b5 - es-ES: Acuse general - - id: MLC_4Ja - es-ES: Estado proceso principal en marcha - - id: MLC_Ld - es-ES: Orden pausa adicional - - id: MLC_3w3 - es-ES: Proceso principal en etapas de enjuague - - id: MLC_45w - es-ES: Orden marcha secuencia - - id: MLC_4Pm - es-ES: Habilitacion recuperacion agua - - id: MLC_3jM - es-ES: Estado bomba de impulsion linea - - id: MLC_4gw - es-ES: Estado CON retorno linea - - id: MLC_4SS - es-ES: Estado SIN retorno linea - - id: MLC_4GJ - es-ES: Destino vacio - - id: MLC_4R9 - es-ES: Orden paro bomba impulsion - - id: MLC_3zL - es-ES: Orden paro tiempo limpieza - - id: MLC_3ew - es-ES: Orden fin limpieza - - id: MLC_nj - es-ES: Conductividad retorno - - id: MLC_4px - es-ES: Temperatura retorno - - id: MLC_4Gu - es-ES: Detector HL Tanque agua recuperada - - id: MLC_33g - es-ES: Parametros - - id: MLC_is - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_3cm - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_47v - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_59F - es-ES: Numero de intentos autocebado - - id: MLC_4VS - es-ES: Estado Detector flujo intermedio - - id: MLC_ti - es-ES: Estado bomba intermedia - - id: MLC_53k - es-ES: Orden de marcha bomba impulsion - - id: MLC_4XM - es-ES: MarchaBombaIntermedia - - id: MLC_4Qw - es-ES: Orden apertura valvula de envio Agua - - id: MLC_3N7 - es-ES: Orden apertura valvula de retorno a TQ Agua Recuperada - - id: MLC_47M - es-ES: Orden apertura valvula de retorno - - id: MLC_36s - es-ES: Orden apertura valvula envio CIP - - id: MLC_4py - es-ES: Orden apertura valvula envio a DQO - - id: MLC_4CH - es-ES: Secuencia iniciada - - id: MLC_4ZN - es-ES: Fallo autocebado bomba intermedia - - id: MLC_3mt - es-ES: Secuencia finalizada - - id: MLC_35T - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4VV - es-ES: Etapa actual - - id: MLC_4Ck - es-ES: Etapa actual - - id: MLC_4yi - es-ES: Texto etapa - - id: MLC_3vX - es-ES: P_TRIG Etapa 5 - - id: MLC_385 - es-ES: P_TRIG Etapa 10 - - id: MLC_559 - es-ES: P_TRIG Etapa 20 - - id: MLC_4hf - es-ES: P_TRIG Etapa 30 - - id: MLC_f3 - es-ES: P_TRIG Etapa 40 - - id: MLC_4Ks - es-ES: P_TRIG Etapa 50 - - id: MLC_3cN - es-ES: P_TRIG Etapa 60 - - id: MLC_4NJ - es-ES: P_TRIG Etapa 70 - - id: MLC_3aj - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_4w8 - es-ES: Tiempo para enjuague ok por conductividad - - id: MLC_4BQ - es-ES: Numero de intentos de autocebado - - id: MLC_4ma - es-ES: Retardo destino vacio 1 - - id: MLC_4Ze - es-ES: Retardo destino vacio 2 - - id: MLC_cZ - es-ES: Pausa - - id: MLC_ig - es-ES: Continuar - - id: MLC_4En - es-ES: Retardo fin drenaje - - id: MLC_4Mm - es-ES: Retardo inicio drenaje - - id: MLC_zr - es-ES: Retardo desconexion valvula envio - - id: MLC_3f4 - es-ES: Retardo desconexion valvula retorno tanque sosa/acido - - id: MLC_54M - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_3nu - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_4z9 - es-ES: Retardo desconexion valvula salida - - id: MLC_XM - es-ES: Retardo desconexion valvula DQO - - id: MLC_3EW - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_3sa - es-ES: Bomba intermedia - - id: MLC_4tV - es-ES: '@Change log' - - id: MLC_3pu - es-ES: =============== Estado secuencia - - id: MLC_k3 - es-ES: Pausa - - id: MLC_a4 - es-ES: Paro de secuencia - - id: MLC_4pB - es-ES: Texto Etapa - - id: MLC_3VB - es-ES: =============== Secuencia - - id: MLC_3mw - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_35m - es-ES: Etapa 005 - Paro bomba para apertura de camino - - id: MLC_P2 - es-ES: Etapa 010 - Envio a destinos - - id: MLC_3RM - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_4tc - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_4R7 - es-ES: Etapa 040 - Enjuague - - id: MLC_34J - es-ES: Etapa 050 - Vaciado de destinos - - id: MLC_3F8 - es-ES: Etapa 060 - Fin de enjuague - - id: MLC_4Z8 - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_33x - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4rx - es-ES: Contador tiempo - - id: MLC_4Kq - es-ES: Temporizadores - - id: MLC_WF - es-ES: =============== Auxiliares - - id: MLC_3hF - es-ES: Gestion condiciones drenaje - - id: MLC_339 - es-ES: Gestion condiciones agua recuperada - - id: MLC_54F - es-ES: Gestion envio a tanque DQO - - id: MLC_3qE - es-ES: =============== Salidas - - id: MLC_Pm - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_3V6 - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_XE - es-ES: Bomba Intermedia - FF con DF - - id: MLC_4EP - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_z8 - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_ZL - es-ES: Valvula de salida - Orden de activacion - - id: MLC_32h - es-ES: Valvula de envio agua - Orden de activacion - - id: MLC_57X - es-ES: Valvula Drenaje Linea - Orden de activacion - - id: MLC_43c - es-ES: Valvula de retorno a TQ Agua Recuperada - Orden de activacion - - id: MLC_4qs - es-ES: Valvula de envio a DQO - Orden de activacion - - id: MLC_58t - es-ES: Secuencia iniciada - - id: MLC_RW - es-ES: Fin secuencia - - id: MLC_4bA - es-ES: Condiciones ok - - id: MLC_3yy - es-ES: Etapa actual - - id: MLC_pH - es-ES: =============== Alarmas - - id: MLC_4st - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7dcl deleted file mode 100644 index 769718c..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7dcl +++ /dev/null @@ -1,1324 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15165"; - S7_BlockTitle := "MLC_kE"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15165_ZC_CIP_DESINF_LIMP" - VAR_INPUT - { S7_MLC := "MLC_4TM" } - NombreSecuencia : String := 'LIMPIEZA'; - { S7_MLC := "MLC_4Wg" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_3Br" } - Ack : Bool; - { S7_MLC := "MLC_4KE" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4eX" } - OrdenPausa : Bool; - { S7_MLC := "MLC_4SE" } - EtapasLimpieza : Bool; - { S7_MLC := "MLC_4cp" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4Pq" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_3dr" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_fV" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_gs" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_3HF" } - DestinoVacio : Bool; - { S7_MLC := "MLC_4Di" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_3nm" } - ParoTiempo : Bool; - { S7_MLC := "MLC_RX" } - FinLimpieza : Bool; - { S7_MLC := "MLC_3zX" } - CT_Retorno : Real; - { S7_MLC := "MLC_3xa" } - TT_Retorno : Real; - { S7_MLC := "MLC_38f" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_3WP" } - Parametros : _.UDT_ZC_RECETA_CIP_DESINF_LIMP; - { S7_MLC := "MLC_37y" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_39T" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_5AW" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_4km" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_4FY" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_4NX" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4da" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_qK" } - MarchaBombaRecirculacion : Bool; - { S7_MLC := "MLC_4Yr" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_42e" } - AperturaValvulaSalidaTanque : Bool; - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_3BK" } - AperturaValvulaRetornoTanque : Bool; - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_53n" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_5CE" } - FinSecuencia : Bool; - { S7_MLC := "MLC_4dW" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_3ht" } - CondicionesOk : Bool; - END_VAR - VAR_OUTPUT RETAIN - { S7_MLC := "MLC_g8" } - TiempoLimpieza : Int; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3VS" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4HX" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4bp" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_3Tn" } - (), - { S7_MLC := "MLC_4aa" } - (), - { S7_MLC := "MLC_3A5" } - (), - { S7_MLC := "MLC_4HS" } - (), - { S7_MLC := "MLC_aH" } - (), - { S7_MLC := "MLC_4bV" } - (), - { S7_MLC := "MLC_3ci" } - (), - { S7_MLC := "MLC_3iK" } - (), - 2(()), - { S7_MLC := "MLC_aw" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_Setpoint := "True" } - s_MemTiempoLimpieza : Int; - { S7_Setpoint := "True" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4wa" } - (), - { S7_MLC := "MLC_4P7" } - (), - { S7_MLC := "MLC_3uT" } - (), - { S7_MLC := "MLC_ha" } - (), - { S7_MLC := "MLC_4aZ" } - (), - { S7_MLC := "MLC_xX" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_4Hn" } - (), - { S7_MLC := "MLC_45w" } - (), - { S7_MLC := "MLC_3sj" } - (), - { S7_MLC := "MLC_c8" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_4Ue" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_3Fh" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 4; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3kp" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15165_ZC_CIP_DESINF_LIMP - Descripcion: Bloque de gestión de limpieza CIP fase DESINFECTANTE - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4pb" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ri" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ib" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_iu" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - LIMPIEZA'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RESERVA'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE LIMPIEZA'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4EG" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4pZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasLimpieza ) - Contact( #OrdenMarcha ) - Move( - in := 5, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Wd" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #Parametros.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4q8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #Parametros.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4TQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4e5" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #Parametros.TiempoLimpieza, - out1 => #s_TiempoEtapa.SP, - out2 => #s_MemTiempoLimpieza - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - Contact( #EstadoRetorno ) - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - wire#w2 - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w2 - Contact( #s_TON[2].Q ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w3 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w3 - RUNG wire#w1 - Move( - in := #s_TiempoEtapa.Actual, - out1 => #s_MemTiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vX" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4vA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5CH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasLimpieza ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_uT" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_qQ" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3YE" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ey" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_NS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3mp" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3wa" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_437" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaRecirculacion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_t4" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_st" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wf" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasLimpieza ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_y6" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4NS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3kz" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 1, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - Contact( #s_DrenajeLinea ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_z6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_RY" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_bv" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3eh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4PG" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_MemTiempoLimpieza, - out1 => #TiempoLimpieza - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ek" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #CT_Retorno, - in2 := #Parametros.ConductividadLimpiezaOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - Contact( #s_TON[2].Q ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Y5" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Lh" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_55k" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7res deleted file mode 100644 index cee2ec4..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15165_ZC_CIP_DESINF_LIMP.s7res +++ /dev/null @@ -1,197 +0,0 @@ -MultiLingualTexts: - - id: MLC_kE - es-ES: FB15165_ZC_CIP_PERAC_LIMP - - id: MLC_4TM - es-ES: Nombre de la secuencia - - id: MLC_4Wg - es-ES: Pulso 1 segundo - - id: MLC_3Br - es-ES: Acuse general - - id: MLC_4KE - es-ES: Estado proceso principal en marcha - - id: MLC_4eX - es-ES: Orden pausa adicional - - id: MLC_4SE - es-ES: Proceso principal en etapas de limpieza - - id: MLC_4cp - es-ES: Orden marcha secuencia - - id: MLC_4Pq - es-ES: Habilitacion recuperacion agua - - id: MLC_3dr - es-ES: Estado bomba de impulsion linea - - id: MLC_fV - es-ES: Estado CON retorno linea - - id: MLC_gs - es-ES: Estado SIN retorno linea - - id: MLC_3HF - es-ES: Destino vacio - - id: MLC_4Di - es-ES: Orden paro bomba impulsion - - id: MLC_3nm - es-ES: Orden paro tiempo limpieza - - id: MLC_RX - es-ES: Orden fin limpieza - - id: MLC_3zX - es-ES: Conductividad retorno - - id: MLC_3xa - es-ES: Temperatura retorno - - id: MLC_38f - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_3WP - es-ES: Parametros - - id: MLC_37y - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_39T - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_5AW - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_4km - es-ES: Numero de intentos autocebado - - id: MLC_4FY - es-ES: Estado Detector flujo intermedio - - id: MLC_4NX - es-ES: Estado bomba intermedia - - id: MLC_4da - es-ES: Orden de marcha bomba impulsion - - id: MLC_qK - es-ES: Orden de marcha bomba Recirculacion - - id: MLC_4Yr - es-ES: Orden de marcha bomba Intermedia - - id: MLC_42e - es-ES: Orden apertura valvula de envio - - id: MLC_3BK - es-ES: Orden apertura valvula de retorno - - id: MLC_53n - es-ES: Secuencia iniciada - - id: MLC_5CE - es-ES: Secuencia finalizada - - id: MLC_4dW - es-ES: Fallo autocebado bomba intermedia - - id: MLC_3ht - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_g8 - es-ES: Tiempo de limpieza - - id: MLC_3VS - es-ES: Etapa actual - - id: MLC_4HX - es-ES: Etapa actual - - id: MLC_4bp - es-ES: Texto etapa - - id: MLC_3Tn - es-ES: P_TRIG Etapa 5 - - id: MLC_4aa - es-ES: P_TRIG Etapa 10 - - id: MLC_3A5 - es-ES: P_TRIG Etapa 20 - - id: MLC_4HS - es-ES: P_TRIG Etapa 30 - - id: MLC_aH - es-ES: P_TRIG Etapa 40 - - id: MLC_4bV - es-ES: P_TRIG Etapa 50 - - id: MLC_3ci - es-ES: P_TRIG Etapa 60 - - id: MLC_3iK - es-ES: P_TRIG Etapa 70 - - id: MLC_aw - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_4wa - es-ES: Retardo destino vacio - - id: MLC_4P7 - es-ES: Retardo condiciones limpieza - - id: MLC_3uT - es-ES: Pausa - - id: MLC_ha - es-ES: Continuar - - id: MLC_4aZ - es-ES: Retardo fin drenaje - - id: MLC_xX - es-ES: Retardo inicio drenaje - - id: MLC_4Hn - es-ES: Retardo desconexion valvula envio - - id: MLC_45w - es-ES: Retardo desconexion valvula retorno - - id: MLC_3sj - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_c8 - es-ES: Retardo desconexion valvula salida - - id: MLC_4Ue - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_3Fh - es-ES: Bomba Intermedia - - id: MLC_3kp - es-ES: '@Change log' - - id: MLC_4pb - es-ES: =============== Estado secuencia - - id: MLC_ri - es-ES: Pausa - - id: MLC_4ib - es-ES: Paro de secuencia - - id: MLC_iu - es-ES: Texto Etapa - - id: MLC_4EG - es-ES: =============== Secuencia - - id: MLC_4pZ - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_4Wd - es-ES: Etapa 005 - Paro bomba para apertura de caminos - - id: MLC_4tZ - es-ES: Etapa 010 - Envio a destinos - - id: MLC_4q8 - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_4TQ - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_4e5 - es-ES: Etapa 040 - Limpieza - - id: MLC_vX - es-ES: Etapa 050 - Reserva - - id: MLC_4vA - es-ES: Etapa 060 - Fin de limpieza - - id: MLC_5CH - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_uT - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_qQ - es-ES: Contador tiempo - - id: MLC_3YE - es-ES: Temporizadores - - id: MLC_ey - es-ES: =============== Auxiliares - - id: MLC_NS - es-ES: Gestion condiciones drenaje - - id: MLC_3mp - es-ES: =============== Salidas - - id: MLC_3wa - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_437 - es-ES: Bomba Recirculacion - Orden de marcha - - id: MLC_t4 - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_st - es-ES: Bomba Intermedia - FF con DF - - id: MLC_wf - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_y6 - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_4NS - es-ES: Valvula de salida - Orden de activacion - - id: MLC_3kz - es-ES: Valvula Drenaje - Orden de activacion - - id: MLC_z6 - es-ES: Valvula Salida Tanque - Orden de activacion - - id: MLC_RY - es-ES: Valvula Retorno - Orden de activacion - - id: MLC_bv - es-ES: Secuencia iniciada - - id: MLC_3eh - es-ES: Fin secuencia - - id: MLC_4PG - es-ES: Tiempo Limpieza - - id: MLC_4ek - es-ES: Condiciones ok - - id: MLC_3Y5 - es-ES: Etapa actual - - id: MLC_4Lh - es-ES: =============== Alarmas - - id: MLC_55k - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7dcl deleted file mode 100644 index 8869040..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7dcl +++ /dev/null @@ -1,1484 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15166"; - S7_BlockTitle := "MLC_aF"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15166_ZC_CIP_DESINF_ENJ" - VAR_INPUT - { S7_MLC := "MLC_4ai" } - NombreSecuencia : String := 'ENJUAGUE'; - { S7_MLC := "MLC_49i" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4N2" } - Ack : Bool; - { S7_MLC := "MLC_4tZ" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3WW" } - OrdenPausa : Bool; - { S7_MLC := "MLC_52a" } - EtapasEnjuague : Bool; - { S7_MLC := "MLC_38k" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_3zp" } - HabilitacionRecuperacion : Bool; - { S7_MLC := "MLC_3u9" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_3ib" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_4vk" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_uq" } - DestinoVacio : Bool; - { S7_MLC := "MLC_rP" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_3xJ" } - ParoTiempo : Bool; - { S7_MLC := "MLC_4j2" } - FinLimpieza : Bool; - { S7_MLC := "MLC_3DL" } - CT_Retorno : Real; - { S7_MLC := "MLC_aQ" } - TT_Retorno : Real; - { S7_MLC := "MLC_3SS" } - HL_TQSosaAcido : Bool; - { S7_MLC := "MLC_U5" } - HL_TQAguaRecup : Bool; - { S7_MLC := "MLC_4Mh" } - ParametrosEnjuague : _.UDT_ZC_RECETA_CIP_DESINF_ENJ; - { S7_MLC := "MLC_rj" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_rN" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_4WE" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_4TN" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_3kJ" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_xD" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4x7" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_4At" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_54a" } - AperturaValvulaEnvioAgua : Bool; - { S7_MLC := "MLC_3D9" } - AperturaValvulaRetornoTqSosaAcidoParacetico : Bool; - { S7_MLC := "MLC_4BL" } - AperturaValvulaRetornoTqAguaRecup : Bool; - { S7_MLC := "MLC_3bS" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_3D6" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_3NF" } - AperturaValvulaDQO : Bool; - { S7_MLC := "MLC_5BY" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_3Hq" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_3Ct" } - FinSecuencia : Bool; - { S7_MLC := "MLC_3kz" } - CondicionesOk : Bool; - { S7_MLC := "MLC_4YC" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_43B" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4BQ" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool := false; - s_AguaRecuperada : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_EnvioDQO : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_mS" } - (), - { S7_MLC := "MLC_4QG" } - (), - { S7_MLC := "MLC_3mj" } - (), - { S7_MLC := "MLC_4hT" } - (), - { S7_MLC := "MLC_VA" } - (), - { S7_MLC := "MLC_M4" } - (), - { S7_MLC := "MLC_4BN" } - (), - { S7_MLC := "MLC_jG" } - (), - 2(()), - { S7_MLC := "MLC_3zW" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_yi" } - s_TiempoConductividadCorrecta : Int; - { S7_MLC := "MLC_3Gn" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3RH" } - (), - { S7_MLC := "MLC_46n" } - (), - { S7_MLC := "MLC_jv" } - (), - { S7_MLC := "MLC_4D6" } - (), - { S7_MLC := "MLC_4wr" } - (), - { S7_MLC := "MLC_45c" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_4F7" } - (), - { S7_MLC := "MLC_4S3" } - (), - { S7_MLC := "MLC_4dE" } - (), - { S7_MLC := "MLC_3C2" } - (), - { S7_MLC := "MLC_4yK" } - (), - { S7_MLC := "MLC_jQ" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_53g" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_4M7" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - t_TiempoEnvioDQO : Int; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 6; - NUM_MAX_TOF : Int := 6; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Zy" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15166_ZC_CIP_DESINF_ENJ - Descripcion: Bloque de gestión de enjuague CIP fase DESINFECTANTE - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4V9" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42A" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4yQ" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Qb" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENJUAGUE'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE ENJUAGUE'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_kp" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_52e" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasEnjuague ) - Contact( #OrdenMarcha ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4R8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Jq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Yt" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4vr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #ParametrosEnjuague.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_33P" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #ParametrosEnjuague.TiempoMaxEnjuague, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - I_Contact( #s_Pausa_M ) - I_Contact( #ParoTiempo ) - Contact( #Pulso1Seg ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoConductividadCorrecta ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w2 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ConductividadEnjuagueOk, - in2 := 0.0 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #ParametrosEnjuague.TiempoEnjuagueConConductividad - ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Move( - in := 0, - out1 => #s_TiempoConductividadCorrecta - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_aH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := #ParametrosEnjuague.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4P8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Wa" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasEnjuague ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3qV" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zm" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3e4" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4GC" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4zK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenaje - ) - wire#w2 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#w1 - Contact( #HL_TQSosaAcido ) - END_RUNG wire#w2 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w3 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w3 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 3, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3az" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadDrenajeAguaRecup - ) - I_Contact( #HL_TQAguaRecup ) - Coil( #s_AguaRecuperada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_w2" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - R_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 0 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - wire#w2 - { - S7_Expression := "IN1 * IN3 / IN2"; - S7_Templates := "SrcType := Int" - } - Calculate( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := 100.0, - in3 := #ParametrosEnjuague.ProcentajeEnvioDQO, - out => #t_TiempoEnvioDQO - ) - Sub( - in1 := #ParametrosEnjuague.TiempoEnjuagueConConductividad, - in2 := #t_TiempoEnvioDQO, - out => #t_TiempoEnvioDQO - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoConductividadCorrecta, - in2 := #t_TiempoEnvioDQO - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #ParametrosEnjuague.ProcentajeEnvioDQO, - in2 := 0.0 - ) - S_Coil( #s_EnvioDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4K2" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_rQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4cK" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w3 - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_df" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3QJ" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[3] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasEnjuague ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3YD" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3KQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4XA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - I_Contact( #ParoBombaImpulsion ) - Move( - in := 1, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ch" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - I_Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Yp" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - I_Contact( #s_DrenajeLinea ) - I_Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRetornoTqSosaAcidoParacetico ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Dg" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Contact( #HabilitacionRecuperacion ) - Contact( #s_AguaRecuperada ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaRetornoTqAguaRecup ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43U" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_AguaRecuperada ) - wire#w2 - Contact( #s_DrenajeLinea ) - Contact( #s_EnvioDQO ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[6].SP - ) - Coil( #s_TOF[6].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w1 - RUNG wire#w1 - I_Contact( #HabilitacionRecuperacion ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[6].Q ) - Coil( #AperturaValvulaDQO ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4iC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_sR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43n" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - Contact( #EstadoBombaImpulsion ) - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #CT_Retorno, - in2 := #ParametrosEnjuague.ConductividadEnjuagueOk - ) - wire#w3 - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - END_RUNG wire#w3 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_za" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3KW" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Lm" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7res deleted file mode 100644 index f23803d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15166_ZC_CIP_DESINF_ENJ.s7res +++ /dev/null @@ -1,215 +0,0 @@ -MultiLingualTexts: - - id: MLC_aF - es-ES: FB15166_ZC_CIP_PERAC_ENJ - - id: MLC_4ai - es-ES: Nombre de la secuencia - - id: MLC_49i - es-ES: Pulso 1 segundo - - id: MLC_4N2 - es-ES: Acuse general - - id: MLC_4tZ - es-ES: Estado proceso principal en marcha - - id: MLC_3WW - es-ES: Orden pausa adicional - - id: MLC_52a - es-ES: Proceso principal en etapas de enjuague - - id: MLC_38k - es-ES: Orden marcha secuencia - - id: MLC_3zp - es-ES: Habilitacion recuperacion agua - - id: MLC_3u9 - es-ES: Estado bomba de impulsion linea - - id: MLC_3ib - es-ES: Estado CON retorno linea - - id: MLC_4vk - es-ES: Estado SIN retorno linea - - id: MLC_uq - es-ES: Destino vacio - - id: MLC_rP - es-ES: Orden paro bomba impulsion - - id: MLC_3xJ - es-ES: Orden paro tiempo limpieza - - id: MLC_4j2 - es-ES: Orden fin limpieza - - id: MLC_3DL - es-ES: Conductividad retorno - - id: MLC_aQ - es-ES: Temperatura retorno - - id: MLC_3SS - es-ES: Detector HL Tanque Sosa / Acido - - id: MLC_U5 - es-ES: Detector HL Tanque agua recuperada - - id: MLC_4Mh - es-ES: Parametros - - id: MLC_rj - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_rN - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_4WE - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_4TN - es-ES: Numero de intentos autocebado - - id: MLC_3kJ - es-ES: Estado Detector flujo intermedio - - id: MLC_xD - es-ES: Estado bomba intermedia - - id: MLC_4x7 - es-ES: Orden de marcha bomba impulsion - - id: MLC_4At - es-ES: MarchaBombaIntermedia - - id: MLC_54a - es-ES: Orden apertura valvula de envio Agua - - id: MLC_3D9 - es-ES: Orden apertura valvula de retorno a TQ SOSA/ACIDO - - id: MLC_4BL - es-ES: Orden apertura valvula de retorno a TQ Agua Recuperada - - id: MLC_3bS - es-ES: Orden apertura valvula de retorno - - id: MLC_3D6 - es-ES: Orden apertura valvula envio CIP - - id: MLC_3NF - es-ES: Orden apertura valvula envio a DQO - - id: MLC_5BY - es-ES: Secuencia iniciada - - id: MLC_3Hq - es-ES: Fallo autocebado bomba intermedia - - id: MLC_3Ct - es-ES: Secuencia finalizada - - id: MLC_3kz - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4YC - es-ES: Etapa actual - - id: MLC_43B - es-ES: Etapa actual - - id: MLC_4BQ - es-ES: Texto etapa - - id: MLC_mS - es-ES: P_TRIG Etapa 5 - - id: MLC_4QG - es-ES: P_TRIG Etapa 10 - - id: MLC_3mj - es-ES: P_TRIG Etapa 20 - - id: MLC_4hT - es-ES: P_TRIG Etapa 30 - - id: MLC_VA - es-ES: P_TRIG Etapa 40 - - id: MLC_M4 - es-ES: P_TRIG Etapa 50 - - id: MLC_4BN - es-ES: P_TRIG Etapa 60 - - id: MLC_jG - es-ES: P_TRIG Etapa 70 - - id: MLC_3zW - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_yi - es-ES: Tiempo para enjuague ok por conductividad - - id: MLC_3Gn - es-ES: Numero de intentos de autocebado - - id: MLC_3RH - es-ES: Retardo destino vacio 1 - - id: MLC_46n - es-ES: Retardo destino vacio 2 - - id: MLC_jv - es-ES: Pausa - - id: MLC_4D6 - es-ES: Continuar - - id: MLC_4wr - es-ES: Retardo fin drenaje - - id: MLC_45c - es-ES: Retardo inicio drenaje - - id: MLC_4F7 - es-ES: Retardo desconexion valvula envio - - id: MLC_4S3 - es-ES: Retardo desconexion valvula retorno tanque sosa/acido - - id: MLC_4dE - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_3C2 - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_4yK - es-ES: Retardo desconexion valvula salida - - id: MLC_jQ - es-ES: Retardo desconexion valvula DQO - - id: MLC_53g - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_4M7 - es-ES: Bomba intermedia - - id: MLC_Zy - es-ES: '@Change log' - - id: MLC_4V9 - es-ES: =============== Estado secuencia - - id: MLC_42A - es-ES: Pausa - - id: MLC_4yQ - es-ES: Paro de secuencia - - id: MLC_3Qb - es-ES: Texto Etapa - - id: MLC_kp - es-ES: =============== Secuencia - - id: MLC_52e - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_4R8 - es-ES: Etapa 005 - Reserva - - id: MLC_3Jq - es-ES: Etapa 010 - Envio a destinos - - id: MLC_4Yt - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_4vr - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_33P - es-ES: Etapa 040 - Enjuague - - id: MLC_aH - es-ES: Etapa 050 - Vaciado de destinos - - id: MLC_4P8 - es-ES: Etapa 060 - Fin de enjuague - - id: MLC_4Wa - es-ES: Etapa 070 ----- Fin de secuencia - - id: MLC_3qV - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_3zm - es-ES: Contador tiempo - - id: MLC_3e4 - es-ES: Temporizadores - - id: MLC_4GC - es-ES: =============== Auxiliares - - id: MLC_4zK - es-ES: Gestion condiciones drenaje - - id: MLC_3az - es-ES: Gestion condiciones agua recuperada - - id: MLC_w2 - es-ES: Gestion envio a tanque DQO - - id: MLC_4K2 - es-ES: =============== Salidas - - id: MLC_rQ - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_4cK - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_df - es-ES: Bomba Intermedia - FF con DF - - id: MLC_3QJ - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_3YD - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_3KQ - es-ES: Valvula de salida - Orden de activacion - - id: MLC_4XA - es-ES: Valvula de envio agua - Orden de activacion - - id: MLC_3Ch - es-ES: Valvula Drenaje Linea - Orden de activacion - - id: MLC_3Yp - es-ES: Valvula de retorno a TQ SOSA/ACIDO - Orden de activacion - - id: MLC_4Dg - es-ES: Valvula de retorno a TQ Agua Recuperada - Orden de activacion - - id: MLC_43U - es-ES: Valvula de envio a DQO - Orden de activacion - - id: MLC_4iC - es-ES: Secuencia iniciada - - id: MLC_sR - es-ES: Fin secuencia - - id: MLC_43n - es-ES: Condiciones ok - - id: MLC_za - es-ES: Etapa actual - - id: MLC_3KW - es-ES: =============== Alarmas - - id: MLC_3Lm - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7dcl deleted file mode 100644 index 89a764d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7dcl +++ /dev/null @@ -1,1246 +0,0 @@ -{ - S7_Author := "HCR"; - S7_BlockNumber := "15167"; - S7_BlockTitle := "MLC_4tM"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15167_ZC_CIP_ESTERIL" - VAR_INPUT - { S7_MLC := "MLC_3Gb" } - NombreSecuencia : String := 'ENJUAGUE'; - { S7_MLC := "MLC_4Em" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_564" } - Ack : Bool; - { S7_MLC := "MLC_4p3" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_zx" } - OrdenPausa : Bool; - { S7_MLC := "MLC_3Hz" } - EtapasEsterilizacion : Bool; - { S7_MLC := "MLC_3Wa" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_Uw" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_3eh" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_Sf" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_356" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3Cb" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_4uk" } - TT_Retorno : Real; - { S7_MLC := "MLC_3nK" } - ParametrosEsterilizacion : _.UDT_ZC_RECETA_CIP_ESTERIL; - { S7_MLC := "MLC_eG" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_3tn" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_4gY" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_Rp" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_542" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_3eC" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_49T" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_4Z6" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_3Ub" } - AperturaValvulaEnvioAgua : Bool; - { S7_MLC := "MLC_36n" } - AperturaValvulaRecirculacion : Bool; - { S7_MLC := "MLC_fx" } - AperturaValvulaDrenajeLinea : Bool; - AperturaValvulaEnvioCip : Bool; - AperturaValvulaSalidaTanqueAguaRecup : Bool; - { S7_MLC := "MLC_wd" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_3FD" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_35x" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4qW" } - s_EtapaActual : Int; - { S7_MLC := "MLC_Vy" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - s_DrenajeLinea : Bool := false; - s_AguaRecircular : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..50] of Bool; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - TiempoActual : Int; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_3Ra" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3yE" } - (), - { S7_MLC := "MLC_3g3" } - (), - { S7_MLC := "MLC_3gu" } - (), - { S7_MLC := "MLC_42G" } - (), - { S7_MLC := "MLC_3jN" } - (), - { S7_MLC := "MLC_4rU" } - (), - { S7_MLC := "MLC_4Ke" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_3y2" } - (), - (), - { S7_MLC := "MLC_4zG" } - (), - { S7_MLC := "MLC_3L4" } - (), - { S7_MLC := "MLC_eP" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_3FG" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_3mw" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_CondicionesDrenaje : Bool; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 7; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3UW" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15167_ZC_CIP_ESTERIL - Descripcion: Bloque de gestión de CIP fase ESTERILIZACION - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bu" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3av" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3HP" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasEsterilizacion ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_56F" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - 5: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - PARO BOMBA PARA APERTURA DE CAMINOS'); - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENVIO A DESTINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - RETORNO A CIP'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - LIMPIEZA'); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - VACIADO DE DESTINO'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE ENJUAGUE'); - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_gJ" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_t4" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasEsterilizacion ) - Contact( #OrdenMarcha ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_dV" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 5 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_YZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosEsterilizacion.TiempoEmpujeADestino, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #ParametrosEsterilizacion.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Qu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #ParametrosEsterilizacion.TiempoEmpujeDestinoACIP, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_53a" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #ParametrosEsterilizacion.TiempoMaxEsterilizacion, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Retorno, - in2 := #ParametrosEsterilizacion.TemperaturaEsterilizacion - ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Restante ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_aR" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := #ParametrosEsterilizacion.TiempoMaxVaciadoDestino, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoSinRetorno ) - Contact( #DestinoVacio ) - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Move( - in := 10, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - wire#w2 - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Sr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 10, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBombaImpulsion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Vb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasEsterilizacion ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4UJ" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4xm" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.TiempoActual, - in2 := #s_TiempoEtapa.Actual - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.TiempoActual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.TiempoActual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.TiempoActual, - out => #s_TiempoEtapa.SP - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.SP, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_q2" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tG" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_dy" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - Coil( #t_CondicionesDrenaje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[6].Q ) - S_SR( - operand := #s_DrenajeLinea, - r1 := wire#w2 - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Contact( #s_TON[5].Q ) - END_RUNG wire#w2 - RUNG wire#powerrail - I_Contact( #t_CondicionesDrenaje ) - Move( - in := 2, - out1 => #s_TON[5].SP - ) - Coil( #s_TON[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #t_CondicionesDrenaje ) - Move( - in := 1, - out1 => #s_TON[6].SP - ) - Coil( #s_TON[6].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4va" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Contact( #EstadoRetorno ) - Coil( #s_AguaRecircular ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4aE" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3E5" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_qf" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #DestinoVacio ) - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - wire#w2 - I_Contact( #DestinoVacio ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w3 - I_Contact( #s_Pausa_M ) - END_RUNG wire#w2 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - END_RUNG wire#w3 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_jY" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ga" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[3] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasEsterilizacion ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_zz" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3d9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4EL" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_AguaRecircular ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3xh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - I_Contact( #s_AguaRecircular ) - Contact( #s_DrenajeLinea ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_AguaRecircular ) - Contact( #s_AguaRecircular ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3di" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Contact( #s_AguaRecircular ) - wire#w2 - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#w1 - I_Contact( #s_AguaRecircular ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #AperturaValvulaRecirculacion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3up" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TON[7].SP - ) - Coil( #s_TON[7].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TON[7].Q ) - Coil( #AperturaValvulaSalidaTanqueAguaRecup ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Yq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_W9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XP" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4HY" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7res deleted file mode 100644 index 4a05f35..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15167_ZC_CIP_ESTERIL.s7res +++ /dev/null @@ -1,163 +0,0 @@ -MultiLingualTexts: - - id: MLC_4tM - es-ES: FB15167_ZC_CIP_ESTERIL - - id: MLC_3Gb - es-ES: Nombre de la secuencia - - id: MLC_4Em - es-ES: Pulso 1 segundo - - id: MLC_564 - es-ES: Acuse general - - id: MLC_4p3 - es-ES: Estado proceso principal en marcha - - id: MLC_zx - es-ES: Orden pausa adicional - - id: MLC_3Hz - es-ES: Proceso principal en etapas de enjuague - - id: MLC_3Wa - es-ES: Orden marcha secuencia - - id: MLC_Uw - es-ES: Estado bomba de impulsion linea - - id: MLC_3eh - es-ES: Estado CON retorno linea - - id: MLC_Sf - es-ES: Estado SIN retorno linea - - id: MLC_356 - es-ES: Destino vacio - - id: MLC_3Cb - es-ES: Orden paro bomba impulsion - - id: MLC_4uk - es-ES: Temperatura retorno - - id: MLC_3nK - es-ES: Parametros - - id: MLC_eG - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_3tn - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_4gY - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_Rp - es-ES: Numero de intentos autocebado - - id: MLC_542 - es-ES: Estado Detector flujo intermedio - - id: MLC_3eC - es-ES: Estado bomba intermedia - - id: MLC_49T - es-ES: Orden de marcha bomba impulsion - - id: MLC_4Z6 - es-ES: MarchaBombaIntermedia - - id: MLC_3Ub - es-ES: Orden apertura valvula de envio Agua - - id: MLC_36n - es-ES: Orden apertura valvula de recirculacion - - id: MLC_fx - es-ES: Orden apertura valvula de retorno - - id: MLC_wd - es-ES: Secuencia iniciada - - id: MLC_3FD - es-ES: Fallo autocebado bomba intermedia - - id: MLC_35x - es-ES: Secuencia finalizada - - id: MLC_4qW - es-ES: Etapa actual - - id: MLC_Vy - es-ES: Texto etapa - - id: MLC_3Ra - es-ES: Numero de intentos de autocebado - - id: MLC_3yE - es-ES: Retardo destino vacio 1 - - id: MLC_3g3 - es-ES: Retardo destino vacio 2 - - id: MLC_3gu - es-ES: Pausa - - id: MLC_42G - es-ES: Continuar - - id: MLC_3jN - es-ES: Retardo fin drenaje - - id: MLC_4rU - es-ES: Retardo inicio drenaje - - id: MLC_4Ke - es-ES: Retardo agua recuperada - - id: MLC_3y2 - es-ES: Retardo desconexion valvula envio - - id: MLC_4zG - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_3L4 - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_eP - es-ES: Retardo desconexion valvula salida - - id: MLC_3FG - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_3mw - es-ES: Bomba intermedia - - id: MLC_3UW - es-ES: '@Change log' - - id: MLC_4bu - es-ES: =============== Estado secuencia - - id: MLC_3av - es-ES: Pausa - - id: MLC_3HP - es-ES: Paro de secuencia - - id: MLC_56F - es-ES: Texto Etapa - - id: MLC_gJ - es-ES: =============== Secuencia - - id: MLC_t4 - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_dV - es-ES: Etapa 005 - Reserva - - id: MLC_YZ - es-ES: Etapa 010 - Envio a destinos - - id: MLC_3yG - es-ES: Etapa 020 - Vaciado de destino - - id: MLC_3Qu - es-ES: Etapa 030 - Retorno a CIP - - id: MLC_53a - es-ES: Etapa 040 - Esterilizacion - - id: MLC_aR - es-ES: Etapa 050 - Vaciado de destinos - - id: MLC_3Sr - es-ES: Etapa 060 - Fin de enjuague - - id: MLC_4Vb - es-ES: Etapa 070 ----- Fin de secuencia - - id: MLC_4UJ - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4xm - es-ES: Contador tiempo - - id: MLC_q2 - es-ES: Temporizadores - - id: MLC_4tG - es-ES: =============== Auxiliares - - id: MLC_dy - es-ES: Gestion condiciones drenaje - - id: MLC_4va - es-ES: Gestion condiciones recirculacion - - id: MLC_4aE - es-ES: =============== Salidas - - id: MLC_3E5 - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_qf - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_jY - es-ES: Bomba Intermedia - FF con DF - - id: MLC_3Ga - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_zz - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_3d9 - es-ES: Valvula de salida - Orden de activacion - - id: MLC_4EL - es-ES: Valvula de envio - Orden de activacion - - id: MLC_3xh - es-ES: Valvula Drenaje Linea - Orden de activacion - - id: MLC_3di - es-ES: Valvula recircular - Orden de activacion - - id: MLC_3up - es-ES: Valvula agua recuperada - Orden de activacion - - id: MLC_Yq - es-ES: Secuencia iniciada - - id: MLC_W9 - es-ES: Fin secuencia - - id: MLC_XP - es-ES: =============== Alarmas - - id: MLC_4HY - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7dcl deleted file mode 100644 index 76b06af..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7dcl +++ /dev/null @@ -1,826 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15168"; - S7_BlockTitle := "MLC_jC"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15168_ZC_CIP_AGUA_RECUP" - VAR_INPUT - { S7_MLC := "MLC_mq" } - NombreSecuencia : String := 'AGUA RECUP.'; - { S7_MLC := "MLC_4xn" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_Q9" } - Ack : Bool; - { S7_MLC := "MLC_3ba" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4S5" } - OrdenPausa : Bool; - { S7_MLC := "MLC_32R" } - EtapasAguaRecup : Bool; - { S7_MLC := "MLC_Rf" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4TY" } - EstadoBombaImpulsion : Bool; - { S7_MLC := "MLC_4DT" } - EstadoRetorno : Bool; - { S7_MLC := "MLC_pF" } - EstadoSinRetorno : Bool; - { S7_MLC := "MLC_3bY" } - DestinoVacio : Bool; - { S7_MLC := "MLC_3QT" } - ParoBombaImpulsion : Bool; - { S7_MLC := "MLC_4pt" } - ParoTiempo : Bool; - { S7_MLC := "MLC_4d2" } - FinLimpieza : Bool; - { S7_MLC := "MLC_3FL" } - TiempoAguaRecupADrenaje : Int; - { S7_MLC := "MLC_4ST" } - TiempoRetardoBomInterm : Int; - { S7_MLC := "MLC_3bi" } - TiempoAutocBomIntermOn : Int; - { S7_MLC := "MLC_3mR" } - TiempoAutocBomIntermOff : Int; - { S7_MLC := "MLC_4ss" } - IntentosAutocBomInterm : Int := 3; - { S7_MLC := "MLC_eQ" } - EstadoDFInterm : Bool; - { S7_MLC := "MLC_4ge" } - EstadoBombaInterm : Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3dF" } - MarchaBombaImpulsion : Bool; - { S7_MLC := "MLC_j5" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_Xv" } - AperturaValvulaSalidaTanque : Bool; - { S7_MLC := "MLC_44x" } - AperturaValvulaEnvioCip : Bool; - { S7_MLC := "MLC_4Vn" } - AperturaValvulaRetornoTanque : Bool; - { S7_MLC := "MLC_34m" } - AperturaValvulaDrenajeLinea : Bool; - { S7_MLC := "MLC_3ZY" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_4nb" } - FalloAutocebadoBombaInterm : Bool; - { S7_MLC := "MLC_sG" } - FinSecuencia : Bool; - { S7_MLC := "MLC_4F3" } - CondicionesOk : Bool; - { S7_MLC := "MLC_4UR" } - EtapaActual : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4NS" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4YS" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - 4(()), - { S7_MLC := "MLC_3x5" } - (), - 2(()), - { S7_MLC := "MLC_3pk" } - (), - 2(()), - { S7_MLC := "MLC_58r" } - () - ]; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_We" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - 2(()), - { S7_MLC := "MLC_sU" } - (), - { S7_MLC := "MLC_44u" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_46q" } - (), - (), - { S7_MLC := "MLC_3hh" } - (), - { S7_MLC := "MLC_367" } - (), - { S7_MLC := "MLC_rg" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_49W" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_36j" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 7; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_54S" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15168_ZC_CIP_AGUA_RECUP - Descripcion: - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 01.03.2023 (ABH) Primera versión - 01.00.01 16.04.2024 (ABH) Se cambian temporizadores por tipos de datos ZC. - Se añade parametro entrada intentos autocebado bomba intermedia. - Se modifica logica de autocebado bomba intermedia. - 01.00.02 09.06.2025 (ABH) Se cambia logica reset retardo bomba intermedia, para que se resetee en pasos que no se activa - 01.00.03 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.04 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - 01.00.05 08.07.2025 (ABH) Se añade condicion de bomba impulsion para contar tiempo en limpieza/enjuague - 01.00.06 28.07.2025 (ABH) Se añade salida etapa actual y condiciones limpieza/enjuague Ok - 01.00.07 09.09.2025 (ABH) Se añade entradas para orden paro tiempo limpieza y orden fin limpieza (ordenes externas) - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bq" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3EX" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3i3" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EtapasAguaRecup ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4su" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - AGUA RECUP. A DRENAJE'); - - 70: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3dn" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3d7" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EtapasAguaRecup ) - Contact( #OrdenMarcha ) - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_th" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #TiempoAguaRecupADrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoRetorno ) - Contact( #EstadoBombaImpulsion ) - I_Contact( #ParoTiempo ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - I_Contact( #ParoTiempo ) - wire#w2 - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #FinLimpieza ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4re" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EtapasAguaRecup ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58g" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3A9" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3vG" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5CB" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bG" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3qp" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_M ) - I_Contact( #ParoBombaImpulsion ) - Coil( #MarchaBombaImpulsion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_492" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoRetardoBomInterm, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_M ) - I_Contact( #DestinoVacio ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #DestinoVacio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - I_Contact( #s_Pausa_M ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4hN" - } - NETWORK - RUNG wire#powerrail - Move( - in := #TiempoAutocBomIntermOn, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #TiempoAutocBomIntermOff, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #FalloAutocebadoBombaInterm ) - I_Contact( #EstadoDFInterm ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3DD" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[10] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #FalloAutocebadoBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #EtapasAguaRecup ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #EstadoBombaInterm ) - Contact( #EstadoDFInterm ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Yy" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #FalloAutocebadoBombaInterm ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoDFInterm ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_e5" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_eD" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 8, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_dM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 5, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaEnvioCip ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_NV" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4sq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_47f" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w2 - Contact( #EstadoRetorno ) - S_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w2 - I_Contact( #EstadoRetorno ) - R_Coil( #CondicionesOk ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - R_Coil( #CondicionesOk ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ea" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_EtapaActual, - out1 => #EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_52S" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ny" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #IntentosAutocBomInterm - ) - Coil( #FalloAutocebadoBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7res deleted file mode 100644 index 0f241a5..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15168_ZC_CIP_AGUA_RECUP.s7res +++ /dev/null @@ -1,151 +0,0 @@ -MultiLingualTexts: - - id: MLC_jC - es-ES: FB15168_ZC_CIP_AGUA_RECUP - - id: MLC_mq - es-ES: Nombre de la secuencia - - id: MLC_4xn - es-ES: Pulso 1 segundo - - id: MLC_Q9 - es-ES: Acuse general - - id: MLC_3ba - es-ES: Estado proceso principal en marcha - - id: MLC_4S5 - es-ES: Orden pausa adicional - - id: MLC_32R - es-ES: Proceso principal en etapas de enjuague - - id: MLC_Rf - es-ES: Orden marcha secuencia - - id: MLC_4TY - es-ES: Estado bomba de impulsion linea - - id: MLC_4DT - es-ES: Estado CON retorno linea - - id: MLC_pF - es-ES: Estado SIN retorno linea - - id: MLC_3bY - es-ES: Destino vacio - - id: MLC_3QT - es-ES: Orden paro bomba impulsion - - id: MLC_4pt - es-ES: Orden paro tiempo limpieza - - id: MLC_4d2 - es-ES: Orden fin limpieza - - id: MLC_3FL - es-ES: Tiempo de agua recuperada a drenaje - - id: MLC_4ST - es-ES: Tiempo de retardo activacion bomba intermedia - - id: MLC_3bi - es-ES: Tiempo autocebado ON Bomba intermedia - - id: MLC_3mR - es-ES: Tiempo autocebado OFF Bomba intermedia - - id: MLC_4ss - es-ES: Numero de intentos autocebado - - id: MLC_eQ - es-ES: Estado Detector flujo intermedio - - id: MLC_4ge - es-ES: Estado bomba intermedia - - id: MLC_3dF - es-ES: Orden de marcha bomba impulsion - - id: MLC_j5 - es-ES: MarchaBombaIntermedia - - id: MLC_Xv - es-ES: Orden apertura valvula de salida - - id: MLC_44x - es-ES: Orden apertura valvula de envio - - id: MLC_4Vn - es-ES: Orden apertura valvula de retorno - - id: MLC_34m - es-ES: Orden apertura valvula de drenaje linea - - id: MLC_3ZY - es-ES: Secuencia iniciada - - id: MLC_4nb - es-ES: Fallo autocebado bomba intermedia - - id: MLC_sG - es-ES: Secuencia finalizada - - id: MLC_4F3 - es-ES: Condiciones limpieza/enjuague Ok - - id: MLC_4UR - es-ES: Etapa actual - - id: MLC_4NS - es-ES: Etapa actual - - id: MLC_4YS - es-ES: Texto etapa - - id: MLC_3x5 - es-ES: P_TRIG Etapa 40 - - id: MLC_3pk - es-ES: P_TRIG Etapa 70 - - id: MLC_58r - es-ES: P_TRIG Contador intentos B.Int - - id: MLC_We - es-ES: Numero de intentos de autocebado - - id: MLC_sU - es-ES: Pausa - - id: MLC_44u - es-ES: Continuar - - id: MLC_46q - es-ES: Retardo desconexion valvula envio - - id: MLC_3hh - es-ES: Retardo desconexion valvula retorno tanque agua recup. - - id: MLC_367 - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_rg - es-ES: Retardo desconexion valvula salida - - id: MLC_49W - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_36j - es-ES: Bomba intermedia - - id: MLC_54S - es-ES: '@Change log' - - id: MLC_4bq - es-ES: =============== Estado secuencia - - id: MLC_3EX - es-ES: Pausa - - id: MLC_3i3 - es-ES: Paro de secuencia - - id: MLC_4su - es-ES: Texto Etapa - - id: MLC_3dn - es-ES: =============== Secuencia - - id: MLC_3d7 - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_th - es-ES: Etapa 040 - Agua recuperada a drenaje - - id: MLC_4re - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_58g - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_3A9 - es-ES: Contador tiempo - - id: MLC_3vG - es-ES: Temporizadores - - id: MLC_5CB - es-ES: =============== Auxiliares - - id: MLC_4bG - es-ES: =============== Salidas - - id: MLC_3qp - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_492 - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_4hN - es-ES: Bomba Intermedia - FF con DF - - id: MLC_3DD - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_3Yy - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_e5 - es-ES: Valvula de salida - Orden de activacion - - id: MLC_eD - es-ES: Valvula Drenaje - Orden de activacion - - id: MLC_dM - es-ES: Valvula Salida Tanque - Orden de activacion - - id: MLC_NV - es-ES: Secuencia iniciada - - id: MLC_4sq - es-ES: Fin secuencia - - id: MLC_47f - es-ES: Condiciones ok - - id: MLC_4ea - es-ES: Etapa actual - - id: MLC_52S - es-ES: =============== Alarmas - - id: MLC_4ny - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7dcl deleted file mode 100644 index 754e901..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7dcl +++ /dev/null @@ -1,810 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15169"; - S7_BlockTitle := "MLC_Q4"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15169_ZC_CIP_RECUP_RECHAZO" - VAR_INPUT - { S7_MLC := "MLC_3AR" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4ke" } - Ack : Bool; - { S7_MLC := "MLC_3xi" } - EstadoEnMarcha : Bool; - ParametrosRechazos : _.UDT_ZC_RECETA_CIP_RECHAZOS; - ParamComunes : _.UDT_ZC_RECETA_CIP_COMUNES; - END_VAR - VAR_OUTPUT - Orden : _.UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ; - Estado : _.UDT_ZC_CIP_FASE_ESTADO; - END_VAR - VAR_IN_OUT - { S7_MLC := "MLC_3et" } - Linea : _.UDT_ZC_PRO_INTF_CIP_LINEA; - ChequeRutaActual : _.UDT_ZC_CIP_CHEQUEO_RUTA; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_uw" } - s_EtapaActual : Int; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..50] of Bool; - END_VAR - VAR RETAIN - s_TiempoEtapa : STRUCT - Activar : Bool; - Reset : Bool; - Actual : Int; - SP : Int; - Restante : Int; - END_STRUCT; - { S7_MLC := "MLC_3t3" } - s_NumeroIntentosAutocActuales : Int; - END_VAR - VAR - { S7_Setpoint := "False" } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3xb" } - (), - { S7_MLC := "MLC_3VV" } - (), - { S7_MLC := "MLC_3eK" } - (), - { S7_MLC := "MLC_4GP" } - () - ]; - END_VAR - VAR RETAIN - { S7_Setpoint := "False" } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_4Ch" } - (), - { S7_MLC := "MLC_3pS" } - (), - (), - { S7_MLC := "MLC_3BT" } - () - ]; - { S7_Setpoint := "False" } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR := [ - { S7_MLC := "MLC_vN" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF := [ - { S7_MLC := "MLC_3XF" } - () - ]; - END_VAR - VAR_TEMP - for_i : Int; - t_MarchaBombaInterm : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 4; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Sq" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15169_ZC_CIP_RECUP_RECHAZO - Descripcion: - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 30.05.2024 (ABH) Primera versión - 01.00.01 11.06.2025 (ABH) Se añade bit pausa limpieza para reset de intentos autocebado - bomba intermedia - 01.00.02 15.06.2025 (ABH) Se añade orden de paro bomba impulsion. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3vt" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_iV" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #Linea.Orden.PausaRecupRechazos ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[3].SP - ) - Coil( #s_TON[3].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[3].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.Orden.PausaRecupRechazos ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[4].SP - ) - Coil( #s_TON[4].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[4].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_L5" - } - NETWORK - RUNG wire#powerrail - I_Contact( #Linea.EnFase.Rechazos ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4nB" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_52L" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #Linea.EnFase.Rechazos ) - Contact( #Linea.Orden.MarchaRecupRechazos ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3dU" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosRechazos.TiempoMaxDrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #Linea.Comunes.DF_Retorno.Estado ) - Contact( #Linea.Comunes.BombaEnvio.Estado ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.Comunes.DF_Retorno.Estado ) - wire#w2 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.Comunes.BombaEnvio.Estado ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w3 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[1].Q ) - END_RUNG wire#w3 - RUNG wire#w1 - Contact( #Linea.Comunes.DF_Retorno.Estado ) - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #Linea.Comunes.CT_Retorno.ValorActual, - in2 := #ParametrosRechazos.ConductividadDrenaje - ) - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3a9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := #ParametrosRechazos.TiempoMaxEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #Linea.Comunes.DF_Retorno.Estado ) - Contact( #Linea.Comunes.BombaEnvio.Estado ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.Comunes.DF_Retorno.Estado ) - wire#w2 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.Comunes.BombaEnvio.Estado ) - END_RUNG wire#w2 - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w3 - Move( - in := 70, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #s_TON[2].Q ) - END_RUNG wire#w3 - RUNG wire#w1 - Contact( #Linea.Comunes.DF_Retorno.Estado ) - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #Linea.Comunes.CT_Retorno.ValorActual, - in2 := #ParametrosRechazos.ConductividadEmpuje - ) - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4QW" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #Linea.EnFase.Rechazos ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43H" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_aS" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4u3" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FLIP FLOP - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Gt" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34e" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_44S" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - I_Contact( #ChequeRutaActual.ParoBombaImpulsion ) - Coil( #Orden.BombaImpulsion ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4DT" - } - NETWORK - RUNG wire#powerrail - Move( - in := #ParamComunes.TiempoRetBombaInter, - out1 => #s_TONR[1].SP - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - Coil( #s_TONR[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Coil( #s_TONR[1].RESET ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TONR[1].Q ) - I_Contact( #s_Pausa_M ) - Coil( #t_MarchaBombaInterm ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34Z" - } - NETWORK - RUNG wire#powerrail - Move( - in := #ParamComunes.TiempoAutocBomInterON, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Move( - in := #ParamComunes.TiempoAutocBomInterOFF, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Contact( #t_MarchaBombaInterm ) - I_Contact( #Estado.FalloAutocebBombaInterm ) - I_Contact( #ChequeRutaActual.DetectorIntermedio ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_qx" - } - NETWORK - RUNG wire#powerrail - Contact( #s_FF[1].Orden_Activar ) - Contact( #s_FF[1].Estado_Flip ) - I_Contact( #EstadoEnMarcha ) - P_Trig( #s_Pulsos[3] ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroIntentosAutocActuales ) - END_RUNG - RUNG wire#powerrail - Contact( #Ack ) - Contact( #Estado.FalloAutocebBombaInterm ) - wire#w1 - Move( - in := 0, - out1 => #s_NumeroIntentosAutocActuales - ) - END_RUNG - RUNG wire#powerrail - I_Contact( #Linea.EnFase.Rechazos ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #ChequeRutaActual.BombaIntermedia ) - Contact( #ChequeRutaActual.DetectorIntermedio ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_Pausa_V ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_f8" - } - NETWORK - RUNG wire#powerrail - Contact( #t_MarchaBombaInterm ) - wire#w1 - Contact( #s_FF[1].Estado_Flop ) - wire#w2 - I_Contact( #s_Pausa_M ) - I_Contact( #Estado.FalloAutocebBombaInterm ) - Coil( #Orden.BombaIntermedia ) - END_RUNG - RUNG wire#w1 - Contact( #ChequeRutaActual.DetectorIntermedio ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Mm" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 3, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #Orden.ValvulaEnvio ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #Orden.ValvulaEnvioAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Be" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[2].SP - ) - Coil( #s_TOF[2].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[2].Q ) - Coil( #Orden.ValvulaDrenajeLinea ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_RF" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #Estado.SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_pu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 70 - ) - Coil( #Estado.FinSecuencia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_qB" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_56T" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroIntentosAutocActuales, - in2 := #ParamComunes.IntentosAutocBomInter - ) - Coil( #Estado.FalloAutocebBombaInterm ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7res deleted file mode 100644 index 11ac6f9..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_CIP/QuitarTextos/FB15169_ZC_CIP_RECUP_RECHAZO.s7res +++ /dev/null @@ -1,85 +0,0 @@ -MultiLingualTexts: - - id: MLC_Q4 - es-ES: FB15169_ZC_CIP_RECUP_RECHAZO - - id: MLC_3AR - es-ES: Pulso 1 segundo - - id: MLC_4ke - es-ES: Acuse general - - id: MLC_3xi - es-ES: Estado proceso principal en marcha - - id: MLC_3et - es-ES: Linea - - id: MLC_uw - es-ES: Etapa actual - - id: MLC_3t3 - es-ES: Numero de intentos de autocebado - - id: MLC_3xb - es-ES: Retardo conductividad drenaje - - id: MLC_3VV - es-ES: Retardo conductividad empuje - - id: MLC_3eK - es-ES: Pausa - - id: MLC_4GP - es-ES: Continuar - - id: MLC_4Ch - es-ES: Retardo desconexion valvula envio - - id: MLC_3pS - es-ES: Retardo desconexion valvula drenaje linea - - id: MLC_3BT - es-ES: Retardo desconexion valvula envio rechazos - - id: MLC_vN - es-ES: Retardo activacion bomba intermetia etapa 40 - - id: MLC_3XF - es-ES: Bomba intermedia - - id: MLC_4Sq - es-ES: '@Change log' - - id: MLC_3vt - es-ES: =============== Estado secuencia - - id: MLC_iV - es-ES: Pausa - - id: MLC_L5 - es-ES: Paro de secuencia - - id: MLC_4nB - es-ES: =============== Secuencia - - id: MLC_52L - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3dU - es-ES: Etapa 020 - Drenaje en tanque rechazos - - id: MLC_3a9 - es-ES: Etapa 040 - Empuje en tanque rechazos - - id: MLC_4QW - es-ES: Etapa 070 - Fin de secuencia - - id: MLC_43H - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_aS - es-ES: Contador tiempo - - id: MLC_4u3 - es-ES: Temporizadores - - id: MLC_4Gt - es-ES: =============== Auxiliares - - id: MLC_34e - es-ES: =============== Salidas - - id: MLC_44S - es-ES: Bomba Impulsion - Orden de marcha - - id: MLC_4DT - es-ES: Bomba Intermedia - Retardo activacion - - id: MLC_34Z - es-ES: Bomba Intermedia - FF con DF - - id: MLC_qx - es-ES: Bomba Intermedia - Contador Numero de intentos con DF - - id: MLC_f8 - es-ES: Bomba Intermedia - Orden de marcha - - id: MLC_3Mm - es-ES: Valvula envio rechazos - Orden de activacion - - id: MLC_vH - es-ES: Valvula envio agua - Orden de activacion - - id: MLC_3Be - es-ES: Valvula drenaje linea - Orden de activacion - - id: MLC_RF - es-ES: Secuencia iniciada - - id: MLC_pu - es-ES: Fin secuencia - - id: MLC_qB - es-ES: =============== Alarmas - - id: MLC_56T - es-ES: Fallo autocebado diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7dcl deleted file mode 100644 index 1c6c82b..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7dcl +++ /dev/null @@ -1,1637 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15175"; - S7_BlockTitle := "MLC_4xC"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15175_ZC_COCINA_AD_PROD" - VAR_INPUT - { S7_MLC := "MLC_4cR" } - NombreSecuencia : String := 'ADICION PRODUCTO'; - { S7_MLC := "MLC_4St" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4nm" } - Ack : Bool; - { S7_MLC := "MLC_4Pr" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4Ze" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4h9" } - EnEtapa : Bool; - { S7_MLC := "MLC_57C" } - OrdenPausa : Bool; - { S7_MLC := "MLC_3ij" } - OrdenSaltarEtapa : Bool; - { S7_MLC := "MLC_4fE" } - EstadoBomba : Bool; - { S7_MLC := "MLC_37x" } - TipoValvulaDrenaje : Bool; - OrdenCalcular : Bool; - { S7_MLC := "MLC_4nd" } - TT_Linea : Real; - { S7_MLC := "MLC_33r" } - TT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_3z7" } - P_Real_1 := (), - { S7_MLC := "MLC_NM" } - P_Real_2 := (), - { S7_MLC := "MLC_3aY" } - P_Real_3 := (), - { S7_MLC := "MLC_3XH" } - P_Real_4 := (), - { S7_MLC := "MLC_4kx" } - P_Real_5 := (), - { S7_MLC := "MLC_3yt" } - P_Real_6 := (), - { S7_MLC := "MLC_3Up" } - P_Real_7 := (), - { S7_MLC := "MLC_dL" } - P_Real_8 := (), - { S7_MLC := "MLC_u5" } - P_Real_9 := (), - { S7_MLC := "MLC_3Hs" } - P_Real_10 := (), - { S7_MLC := "MLC_3yh" } - P_Real_11 := (), - { S7_MLC := "MLC_3an" } - P_Real_12 := (), - { S7_MLC := "MLC_4wx" } - P_Real_13 := (), - { S7_MLC := "MLC_3ck" } - P_Real_14 := (), - { S7_MLC := "MLC_3te" } - P_Real_15 := (), - { S7_MLC := "MLC_3kb" } - P_Real_16 := (), - { S7_MLC := "MLC_hN" } - P_Real_17 := (), - { S7_MLC := "MLC_4BA" } - P_Int_1 := (), - { S7_MLC := "MLC_3dn" } - P_Int_2 := (), - { S7_MLC := "MLC_53u" } - P_Int_3 := (), - { S7_MLC := "MLC_3CU" } - P_Int_4 := (), - { S7_MLC := "MLC_af" } - P_Int_5 := (), - { S7_MLC := "MLC_ya" } - P_Int_6 := (), - { S7_MLC := "MLC_v8" } - P_Int_7 := (), - { S7_MLC := "MLC_Xm" } - P_Int_8 := (), - { S7_MLC := "MLC_vG" } - P_Int_9 := (), - { S7_MLC := "MLC_4AQ" } - P_Int_10 := (), - { S7_MLC := "MLC_4sH" } - P_Int_11 := (), - { S7_MLC := "MLC_3cx" } - P_Int_12 := (), - { S7_MLC := "MLC_NU" } - P_Int_13 := (), - { S7_MLC := "MLC_3aA" } - P_Int_14 := (), - { S7_MLC := "MLC_4fe" } - P_Int_15 := (), - { S7_MLC := "MLC_58T" } - P_String_1 := (), - { S7_MLC := "MLC_4Ay" } - P_String_2 := (), - { S7_MLC := "MLC_4dW" } - P_String_3 := (), - { S7_MLC := "MLC_wu" } - P_String_4 := (), - { S7_MLC := "MLC_3hW" } - P_String_5 := (), - { S7_MLC := "MLC_3Dy" } - P_String_6 := (), - { S7_MLC := "MLC_3zB" } - P_String_7 := (), - { S7_MLC := "MLC_3he" } - P_String_8 := (), - { S7_MLC := "MLC_32Q" } - P_String_9 := (), - { S7_MLC := "MLC_4pf" } - P_String_10 := () - ); - AdicionProductoConfirmacion : Array[0..9] of Bool; - AdicionProductoDosificado : Array[0..9] of Real; - { S7_MLC := "MLC_3qS" } - LitrosDrenajeInicial : Real := 150.0; - { S7_MLC := "MLC_3BH" } - LitrosEmpujeFinal : Real := 150.0; - { S7_MLC := "MLC_3fQ" } - TotalizadorDrenaje : Real := 0.0; - { S7_MLC := "MLC_3qW" } - TotalizadorEmpuje : Real := 0.0; - { S7_MLC := "MLC_3HW" } - TiempoAclarado : Int := 60; - { S7_MLC := "MLC_3Qr" } - TiempoMaximoDrenaje : Int := 80; - { S7_MLC := "MLC_4qK" } - TiempoMaximoEmpuje : Int := 80; - { S7_MLC := "MLC_Sq" } - KilosInicialTanque : Real := 0.0; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_vP" } - MarchaBombaBlender : Bool; - { S7_MLC := "MLC_Vy" } - VelocidadBombaBlender : Real; - { S7_MLC := "MLC_3JV" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_3wt" } - AperturaValvulaSalidaTanque : Bool; - { S7_MLC := "MLC_4WB" } - AperturaValvulaDrenaje : Bool; - { S7_MLC := "MLC_58F" } - AperturaValvulaEntradaTanque : Bool; - { S7_MLC := "MLC_4sq" } - AperturaValvulaEmpuje : Bool; - { S7_MLC := "MLC_3sS" } - OrdenCalentar : Bool; - { S7_MLC := "MLC_3FG" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_43Z" } - SP_CalEnf : Real; - { S7_MLC := "MLC_4DS" } - OrdenTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_4zV" } - OrdenTotalizadorEmpuje : Bool; - { S7_MLC := "MLC_3Q4" } - ResetTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_3g9" } - ResetTotalizadorEmpuje : Bool; - VisibilidadLitrosDrenaje : Bool; - VisibilidadLitrosEmpuje : Bool; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_3TU" } - ProductoActual : Int; - { S7_MLC := "MLC_3F4" } - AdicionProductoPermiso : Array[0..9] of Bool; - { S7_MLC := "MLC_4tu" } - AdicionProductoCalculado : Array[0..9] of Real; - Despresurizar : Bool; - { S7_MLC := "MLC_Tn" } - PermisoSaltarEtapa : Bool; - { S7_MLC := "MLC_Zi" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_3fa" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3jq" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4N9" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_xU" } - (), - { S7_MLC := "MLC_52c" } - (), - { S7_MLC := "MLC_4Jw" } - (), - { S7_MLC := "MLC_4FW" } - (), - { S7_MLC := "MLC_4nv" } - (), - { S7_MLC := "MLC_YC" } - (), - { S7_MLC := "MLC_3pu" } - (), - { S7_MLC := "MLC_42g" } - (), - { S7_MLC := "MLC_395" } - (), - { S7_MLC := "MLC_ic" } - (), - { S7_MLC := "MLC_4XA" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3am" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_4Jn" } - Activar : Bool; - { S7_MLC := "MLC_kP" } - Reset : Bool; - { S7_MLC := "MLC_4iw" } - Actual : Int; - { S7_MLC := "MLC_4ZC" } - SP : Int; - { S7_MLC := "MLC_3YF" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4yC" } - (), - { S7_MLC := "MLC_4RQ" } - () - ]; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_4qm" } - (), - { S7_MLC := "MLC_zz" } - (), - { S7_MLC := "MLC_3S4" } - (), - { S7_MLC := "MLC_zQ" } - (), - { S7_MLC := "MLC_3Za" } - () - ]; - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR; - { - S7_MLC := "MLC_599"; - S7_Setpoint := "True" - } - s_ProductoActual : Int := 0; - { S7_MLC := "MLC_4BM" } - s_CalentarEnfriar : Bool; - END_VAR - VAR - s_KilosInicialTanque : Real; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_ProductoActual_Kg : Real; - t_ProductoActual_Homo : Int; - t_CalcularDosificacion : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4kJ" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15175_ZC_COCINA_AD_PROD - Descripcion: Bloque de gestión de fase adicion de producto - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 14.06.2024 (ABH) Primera versión - 01.00.01 05.03.2025 (ABH) Se añade salida para despresurizar tanque esteril - 01.00.02 17.09.2025 (ABH) Se añade habilitacion para el tratamiento termico. - Se elimina condicion de temperatura Ok para contar tiempo de homogeneizacion. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_uS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4T8" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_55F" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Ue" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - 100: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APERTURA DE CAMINO'); - 110: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENCENDIDO DE BOMBA'); - 120: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - DRENAJE PREVIO'); - 130: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ADICION DE PRODUCTO ', IN3 := "FC15001_ZC_INT_TO_STRING"(#s_ProductoActual+1)); - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION PRODUCTO ', IN3 := "FC15001_ZC_INT_TO_STRING"(#s_ProductoActual+1)); - 150: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION FINAL'); - - 160: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - EMPUJE'); - 170: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ACLARADO'); - 180: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APAGADO DE BOMBA'); - 190: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - CIERRE CAMINO'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_uY" - } - NETWORK - - // ================================================================ - // Limite producto actual - IF #s_ProductoActual < 0 THEN - #s_ProductoActual := 0; - END_IF; - IF #s_ProductoActual > 9 THEN - #s_ProductoActual := 9; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Rh" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4pz" - } - NETWORK - CASE #s_ProductoActual OF - - 0: - #t_ProductoActual_Homo := #Parametros.P_Int_1; - #t_ProductoActual_Kg := #Parametros.P_Real_8; - 1: - #t_ProductoActual_Homo := #Parametros.P_Int_2; - #t_ProductoActual_Kg := #Parametros.P_Real_9; - 2: - #t_ProductoActual_Homo := #Parametros.P_Int_3; - #t_ProductoActual_Kg := #Parametros.P_Real_10; - 3: - #t_ProductoActual_Homo := #Parametros.P_Int_4; - #t_ProductoActual_Kg := #Parametros.P_Real_11; - 4: - #t_ProductoActual_Homo := #Parametros.P_Int_5; - #t_ProductoActual_Kg := #Parametros.P_Real_12; - 5: - #t_ProductoActual_Homo := #Parametros.P_Int_6; - #t_ProductoActual_Kg := #Parametros.P_Real_13; - 6: - #t_ProductoActual_Homo := #Parametros.P_Int_7; - #t_ProductoActual_Kg := #Parametros.P_Real_14; - 7: - #t_ProductoActual_Homo := #Parametros.P_Int_8; - #t_ProductoActual_Kg := #Parametros.P_Real_15; - 8: - #t_ProductoActual_Homo := #Parametros.P_Int_9; - #t_ProductoActual_Kg := #Parametros.P_Real_16; - 9: - #t_ProductoActual_Homo := #Parametros.P_Int_10; - #t_ProductoActual_Kg := #Parametros.P_Real_17; - - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Jc" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34b" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Move( - in := 0, - out1 => #s_ProductoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 110, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Gb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 120, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ax" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #TiempoMaximoDrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorDrenaje, - in2 := #LitrosDrenajeInicial - ) - wire#w2 - Move( - in := 130, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3iH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := 2, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - EQ_Contact( - in1 := #t_ProductoActual_Kg, - in2 := 0.0 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_ProductoActual ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Contact( #AdicionProductoConfirmacion[#s_ProductoActual] ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4aK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #t_ProductoActual_Homo, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_ProductoActual ) - Move( - in := 130, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - Move( - in := 150, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_zH" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #Parametros.P_Int_11, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3KM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := #TiempoMaximoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorEmpuje, - in2 := #LitrosEmpujeFinal - ) - wire#w2 - Move( - in := 170, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4BZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := #TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 180, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_534" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 180 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 190, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3p6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 190 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Cv" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[10] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_rS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4uG" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Vb" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3eu" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_37q" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Bn" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - S_Coil( #s_CalentarEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_CalentarEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - S_Coil( #s_CalentarEnfriar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Gc" - } - NETWORK - RUNG wire#powerrail - Contact( #OrdenCalcular ) - Coil( #t_CalcularDosificacion ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Nx" - } - NETWORK - - IF #t_CalcularDosificacion THEN - #s_KilosInicialTanque := #KilosInicialTanque; - #AdicionProductoCalculado[0] := (#s_KilosInicialTanque * #Parametros.P_Real_8) / 1000.0; - #AdicionProductoCalculado[1] := (#s_KilosInicialTanque * #Parametros.P_Real_9) / 1000.0; - #AdicionProductoCalculado[2] := (#s_KilosInicialTanque * #Parametros.P_Real_10) / 1000.0; - #AdicionProductoCalculado[3] := (#s_KilosInicialTanque * #Parametros.P_Real_11) / 1000.0; - #AdicionProductoCalculado[4] := (#s_KilosInicialTanque * #Parametros.P_Real_12) / 1000.0; - #AdicionProductoCalculado[5] := (#s_KilosInicialTanque * #Parametros.P_Real_13) / 1000.0; - #AdicionProductoCalculado[6] := (#s_KilosInicialTanque * #Parametros.P_Real_14) / 1000.0; - #AdicionProductoCalculado[7] := (#s_KilosInicialTanque * #Parametros.P_Real_15) / 1000.0; - #AdicionProductoCalculado[8] := (#s_KilosInicialTanque * #Parametros.P_Real_16) / 1000.0; - #AdicionProductoCalculado[9] := (#s_KilosInicialTanque * #Parametros.P_Real_17) / 1000.0; - - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4fx" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Vq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - Coil( #Despresurizar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58g" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_15, - in2 := 1 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_V ) - wire#w1 - I_Contact( #s_CalentarEnfriar ) - Move( - in := #t_TempHistSuperior, - out1 => #SP_CalEnf - ) - Coil( #OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Contact( #s_CalentarEnfriar ) - Move( - in := #t_TempHistInferior, - out1 => #SP_CalEnf - ) - Coil( #OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4MM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - Coil( #ResetTotalizadorDrenaje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - Coil( #OrdenTotalizadorDrenaje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3ZM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - Coil( #ResetTotalizadorEmpuje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - Coil( #OrdenTotalizadorEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_32v" - } - NETWORK - RUNG wire#powerrail - Contact( #OrdenTotalizadorDrenaje ) - Coil( #VisibilidadLitrosDrenaje ) - END_RUNG - RUNG wire#powerrail - Contact( #OrdenTotalizadorEmpuje ) - Coil( #VisibilidadLitrosEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Q2" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - I_Contact( #s_Pausa_M ) - wire#w1 - Coil( #MarchaBombaBlender ) - END_RUNG - RUNG wire#w1 - Move( - in := #Parametros.P_Real_1, - out1 => #VelocidadBombaBlender - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3eZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_f7" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4dA" - } - NETWORK - RUNG wire#powerrail - I_Contact( #TipoValvulaDrenaje ) - wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w2 - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #TipoValvulaDrenaje ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenaje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Zh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaEntradaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3kS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - I_Contact( #s_Pausa_M ) - Move( - in := 2, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zX" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_ProductoActual, - out1 => #ProductoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4GR" - } - NETWORK - - // ========================================================================================= - // Permiso confirmar productos - #AdicionProductoPermiso[0] := (#s_ProductoActual = 0) AND (#AdicionProductoDosificado[0] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[1] := (#s_ProductoActual = 1) AND (#AdicionProductoDosificado[1] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[2] := (#s_ProductoActual = 2) AND (#AdicionProductoDosificado[2] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[3] := (#s_ProductoActual = 3) AND (#AdicionProductoDosificado[3] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[4] := (#s_ProductoActual = 4) AND (#AdicionProductoDosificado[4] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[5] := (#s_ProductoActual = 5) AND (#AdicionProductoDosificado[5] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[6] := (#s_ProductoActual = 6) AND (#AdicionProductoDosificado[6] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[7] := (#s_ProductoActual = 7) AND (#AdicionProductoDosificado[7] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[8] := (#s_ProductoActual = 8) AND (#AdicionProductoDosificado[8] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[9] := (#s_ProductoActual = 9) AND (#AdicionProductoDosificado[9] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_rQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - Coil( #PermisoSaltarEtapa ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_zu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Bh" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7res deleted file mode 100644 index fa9cd81..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15175_ZC_COCINA_AD_PROD.s7res +++ /dev/null @@ -1,315 +0,0 @@ -MultiLingualTexts: - - id: MLC_4xC - es-ES: FB15175_ZC_COCINA_AD_PROD - - id: MLC_4cR - es-ES: Nombre de la secuencia - - id: MLC_4St - es-ES: Pulso 1 segundo - - id: MLC_4nm - es-ES: Acuse general - - id: MLC_4Pr - es-ES: Orden marcha secuencia - - id: MLC_4Ze - es-ES: Estado proceso principal en marcha - - id: MLC_4h9 - es-ES: En etapa - - id: MLC_57C - es-ES: Orden pausa adicional - - id: MLC_3ij - es-ES: Pulsador saltar etapa - - id: MLC_4fE - es-ES: Estado bomba - - id: MLC_37x - es-ES: 0= N.C. / 1= N.O. - - id: MLC_4nd - es-ES: Temperatura linea - - id: MLC_33r - es-ES: Temperatura tanque - - id: MLC_3z7 - es-ES: VelocidadBomba - - id: MLC_NM - es-ES: Reserva - - id: MLC_3aY - es-ES: Reserva - - id: MLC_3XH - es-ES: Reserva - - id: MLC_4kx - es-ES: Reserva - - id: MLC_3yt - es-ES: SPTemperatura - - id: MLC_3Up - es-ES: HisteresisTemp - - id: MLC_dL - es-ES: kgProd1 - - id: MLC_u5 - es-ES: kgProd2 - - id: MLC_3Hs - es-ES: kgProd3 - - id: MLC_3yh - es-ES: kgProd4 - - id: MLC_3an - es-ES: kgProd5 - - id: MLC_4wx - es-ES: kgProd6 - - id: MLC_3ck - es-ES: kgProd7 - - id: MLC_3te - es-ES: kgProd8 - - id: MLC_3kb - es-ES: kgProd9 - - id: MLC_hN - es-ES: kgProd10 - - id: MLC_4BA - es-ES: TiempoHomoProd1 - - id: MLC_3dn - es-ES: TiempoHomoProd2 - - id: MLC_53u - es-ES: TiempoHomoProd3 - - id: MLC_3CU - es-ES: TiempoHomoProd4 - - id: MLC_af - es-ES: TiempoHomoProd5 - - id: MLC_ya - es-ES: TiempoHomoProd6 - - id: MLC_v8 - es-ES: TiempoHomoProd7 - - id: MLC_Xm - es-ES: TiempoHomoProd8 - - id: MLC_vG - es-ES: TiempoHomoProd9 - - id: MLC_4AQ - es-ES: TiempoHomoProd10 - - id: MLC_4sH - es-ES: TiempoHomoFinal - - id: MLC_3cx - es-ES: Reserva - - id: MLC_NU - es-ES: Reserva - - id: MLC_3aA - es-ES: Reserva - - id: MLC_4fe - es-ES: HabilitarTratTermico - - id: MLC_58T - es-ES: NombreProd1 - - id: MLC_4Ay - es-ES: NombreProd2 - - id: MLC_4dW - es-ES: NombreProd3 - - id: MLC_wu - es-ES: NombreProd4 - - id: MLC_3hW - es-ES: NombreProd5 - - id: MLC_3Dy - es-ES: NombreProd6 - - id: MLC_3zB - es-ES: NombreProd7 - - id: MLC_3he - es-ES: NombreProd8 - - id: MLC_32Q - es-ES: NombreProd9 - - id: MLC_4pf - es-ES: NombreProd10 - - id: MLC_3qS - es-ES: SP Litros drenaje inicial - - id: MLC_3BH - es-ES: SP Litros empuje final - - id: MLC_3fQ - es-ES: Totalizador litros drenaje - - id: MLC_3qW - es-ES: Totalizador litros empuje - - id: MLC_3HW - es-ES: Tiempo aclarado - - id: MLC_3Qr - es-ES: Tiempo maximo drenaje - - id: MLC_4qK - es-ES: Tiempo maximo empuje - - id: MLC_Sq - es-ES: Peso inicial del tanque para calculo de dosificaciones - - id: MLC_vP - es-ES: Orden de marcha bomba blender - - id: MLC_Vy - es-ES: Velocidad bomba blender - - id: MLC_3JV - es-ES: Orden de marcha bomba Intermedia - - id: MLC_3wt - es-ES: Orden apertura valvula de salida de tanque - - id: MLC_4WB - es-ES: Orden apertura valvula de drenaje - - id: MLC_58F - es-ES: Orden apertura valvula de entrada tanque - - id: MLC_4sq - es-ES: Orden apertura valvula de empuje - - id: MLC_3sS - es-ES: Orden calentar - - id: MLC_3FG - es-ES: Orden enfriar - - id: MLC_43Z - es-ES: Set point calentamiento/enfriamiento - - id: MLC_4DS - es-ES: Orden totalizador drenaje - - id: MLC_4zV - es-ES: Orden totalizador empuje - - id: MLC_3Q4 - es-ES: Reset totalizador drenaje - - id: MLC_3g9 - es-ES: Reset totalizador empuje - - id: MLC_3TU - es-ES: Producto actual - - id: MLC_3F4 - es-ES: Permiso adicion de producto - - id: MLC_4tu - es-ES: Permiso adicion de producto - - id: MLC_Tn - es-ES: Permiso salto etapa - - id: MLC_Zi - es-ES: Secuencia iniciada - - id: MLC_3fa - es-ES: Secuencia finalizada - - id: MLC_3jq - es-ES: Etapa actual - - id: MLC_4N9 - es-ES: Texto etapa - - id: MLC_xU - es-ES: Etapa 100 - - id: MLC_52c - es-ES: Etapa 110 - - id: MLC_4Jw - es-ES: Etapa 120 - - id: MLC_4FW - es-ES: Etapa 130 - - id: MLC_4nv - es-ES: Etapa 140 - - id: MLC_YC - es-ES: Etapa 150 - - id: MLC_3pu - es-ES: Etapa 160 - - id: MLC_42g - es-ES: Etapa 170 - - id: MLC_395 - es-ES: Etapa 180 - - id: MLC_ic - es-ES: Etapa 190 - - id: MLC_4XA - es-ES: Etapa 999 - - id: MLC_3am - es-ES: Tiempo de etapa - - id: MLC_4Jn - es-ES: Activar - - id: MLC_kP - es-ES: Reset - - id: MLC_4iw - es-ES: Actual - - id: MLC_4ZC - es-ES: Set point - - id: MLC_3YF - es-ES: Restante - - id: MLC_4yC - es-ES: Pausa - - id: MLC_4RQ - es-ES: Continuar - - id: MLC_4qm - es-ES: Retardo desconexion valvula salida tanque - - id: MLC_zz - es-ES: Retardo desconexion valvula desvio CIP - - id: MLC_3S4 - es-ES: Retardo desconexion valvula drenaje - - id: MLC_zQ - es-ES: Retardo desconexion valvula entrada tanque - - id: MLC_3Za - es-ES: Retardo desconexion valvula empuje - - id: MLC_599 - es-ES: Producto actual - - id: MLC_4BM - es-ES: 0= Calentar / 1= Enfriar - - id: MLC_4kJ - es-ES: '@Change log' - - id: MLC_uS - es-ES: =============== Estado secuencia - - id: MLC_4T8 - es-ES: Pausa - - id: MLC_55F - es-ES: Paro de secuencia - - id: MLC_3Ue - es-ES: Texto Etapa - - id: MLC_uY - es-ES: Limite producto actual - - id: MLC_3Rh - es-ES: =============== Auxiliares - - id: MLC_4pz - es-ES: Datos ingrediente actual - - id: MLC_3Jc - es-ES: =============== Secuencia - - id: MLC_34b - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3zb - es-ES: Etapa 100 - Apertura de caminos - - id: MLC_3Gb - es-ES: Etapa 110 - Encendido bomba - - id: MLC_3Ax - es-ES: Etapa 120 - Drenaje previo - - id: MLC_3iH - es-ES: Etapa 130 - Adicion de producto - - id: MLC_4aK - es-ES: Etapa 140 - Homogenizacion producto - - id: MLC_zH - es-ES: Etapa 150 - Homogenizacion final - - id: MLC_3KM - es-ES: Etapa 160 - Empuje - - id: MLC_4BZ - es-ES: Etapa 170 - Aclarado - - id: MLC_534 - es-ES: Etapa 180 - Apagado bomba - - id: MLC_3p6 - es-ES: Etapa 190 - Cierre de camino - - id: MLC_4Cv - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_rS - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4uG - es-ES: Contador tiempo - - id: MLC_4Vb - es-ES: Temporizadores - - id: MLC_3eu - es-ES: =============== Auxiliares - - id: MLC_37q - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_4Bn - es-ES: Gestion calentamiento - Activacion Calentar / Enfriar - - id: MLC_3Gc - es-ES: Orden calcular - - id: MLC_Nx - es-ES: Calculo cantidad a dosificar - - id: MLC_4fx - es-ES: =============== Salidas - - id: MLC_Vq - es-ES: Despresurizar - - id: MLC_58g - es-ES: Orden calentar / enfriar - - id: MLC_4MM - es-ES: Orden totalizador drenaje - - id: MLC_3ZM - es-ES: Orden totalizador Empuje - - id: MLC_32v - es-ES: Visibilidad litros restantes - - id: MLC_Q2 - es-ES: Bomba blender - Orden de marcha - - id: MLC_3eZ - es-ES: Bomba intermedia - Orden de marcha - - id: MLC_f7 - es-ES: Valvula salida tanque - Orden de activacion - - id: MLC_4dA - es-ES: Valvula drenaje - Orden de activacion - - id: MLC_3Zh - es-ES: Valvula entrada tanque - Orden de activacion - - id: MLC_3kS - es-ES: Valvula empuje - Orden de activacion - - id: MLC_3zX - es-ES: Ingrediente actual - - id: MLC_4GR - es-ES: Permiso confirmar productos - - id: MLC_rQ - es-ES: Permiso salto etapa - - id: MLC_zu - es-ES: Secuencia iniciada - - id: MLC_4Bh - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7dcl deleted file mode 100644 index 331d118..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7dcl +++ /dev/null @@ -1,1672 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15176"; - S7_BlockTitle := "MLC_3Ks"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15176_ZC_COCINA_AD_AGUA" - VAR_INPUT - { S7_MLC := "MLC_wb" } - NombreSecuencia : String := 'ADICION AGUA'; - { S7_MLC := "MLC_3F6" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_3iC" } - Ack : Bool; - { S7_MLC := "MLC_3vK" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_Uw" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_wc" } - EnEtapa : Bool; - { S7_MLC := "MLC_4ku" } - OrdenPausa : Bool; - { S7_MLC := "MLC_5A4" } - EstadoBomba : Bool; - { S7_MLC := "MLC_b4" } - TipoValvulaDrenaje : Bool; - OrdenCalcular : Bool; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_Rq" } - P_Real_1 := (), - { S7_MLC := "MLC_4ME" } - P_Real_2 := (), - { S7_MLC := "MLC_jD" } - P_Real_3 := (), - { S7_MLC := "MLC_kz" } - P_Real_4 := (), - { S7_MLC := "MLC_42a" } - P_Real_5 := (), - { S7_MLC := "MLC_3eN" } - P_Real_6 := (), - { S7_MLC := "MLC_4Ez" } - P_Real_7 := (), - { S7_MLC := "MLC_ui" } - P_Real_8 := (), - { S7_MLC := "MLC_yb" } - P_Real_9 := (), - { S7_MLC := "MLC_mU" } - P_Real_10 := (), - { S7_MLC := "MLC_ZL" } - P_Real_11 := (), - { S7_MLC := "MLC_4ET" } - P_Real_12 := (), - { S7_MLC := "MLC_WG" } - P_Real_13 := (), - { S7_MLC := "MLC_pw" } - P_Real_14 := (), - { S7_MLC := "MLC_4AK" } - P_Real_15 := (), - { S7_MLC := "MLC_4BQ" } - P_Real_16 := (), - { S7_MLC := "MLC_SC" } - P_Real_17 := (), - { S7_MLC := "MLC_3A6" } - P_Int_1 := (), - { S7_MLC := "MLC_43B" } - P_Int_2 := (), - { S7_MLC := "MLC_nV" } - P_Int_3 := (), - { S7_MLC := "MLC_48n" } - P_Int_4 := (), - { S7_MLC := "MLC_3xi" } - P_Int_5 := (), - { S7_MLC := "MLC_3Jd" } - P_Int_6 := (), - { S7_MLC := "MLC_3LN" } - P_Int_7 := (), - { S7_MLC := "MLC_4Pv" } - P_Int_8 := (), - { S7_MLC := "MLC_4t8" } - P_Int_9 := (), - { S7_MLC := "MLC_4bs" } - P_Int_10 := (), - { S7_MLC := "MLC_3a7" } - P_Int_11 := (), - { S7_MLC := "MLC_34h" } - P_Int_12 := (), - { S7_MLC := "MLC_yN" } - P_Int_13 := (), - { S7_MLC := "MLC_39v" } - P_Int_14 := (), - { S7_MLC := "MLC_eE" } - P_Int_15 := (), - { S7_MLC := "MLC_R3" } - P_String_1 := (), - { S7_MLC := "MLC_3TR" } - P_String_2 := (), - { S7_MLC := "MLC_38g" } - P_String_3 := (), - { S7_MLC := "MLC_3Xd" } - P_String_4 := (), - { S7_MLC := "MLC_h8" } - P_String_5 := (), - { S7_MLC := "MLC_NY" } - P_String_6 := (), - { S7_MLC := "MLC_574" } - P_String_7 := (), - { S7_MLC := "MLC_3fU" } - P_String_8 := (), - { S7_MLC := "MLC_4CE" } - P_String_9 := (), - { S7_MLC := "MLC_39j" } - P_String_10 := () - ); - { S7_MLC := "MLC_gE" } - LitrosDrenajeInicial : Real := 150.0; - { S7_MLC := "MLC_3ZP" } - LitrosEmpujeFinal : Real := 150.0; - { S7_MLC := "MLC_4mK" } - TotalizadorDrenaje : Real := 0.0; - { S7_MLC := "MLC_4XR" } - TotalizadorEmpuje : Real := 0.0; - { S7_MLC := "MLC_3ym" } - TiempoAclarado : Int := 60; - { S7_MLC := "MLC_sd" } - TiempoMaximoDrenaje : Int := 80; - { S7_MLC := "MLC_45U" } - TiempoMaximoEmpuje : Int := 80; - { S7_MLC := "MLC_4Bh" } - KilosTanque : Real := 0.0; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3Z9" } - MarchaBombaBlender : Bool; - { S7_MLC := "MLC_4RC" } - VelocidadBombaBlender : Real; - { S7_MLC := "MLC_4Eh" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_5A5" } - AperturaValvulaSalidaTanque : Bool; - { S7_MLC := "MLC_346" } - AperturaValvulaDrenaje : Bool; - { S7_MLC := "MLC_3Ci" } - AperturaValvulaEntradaTanque : Bool; - { S7_MLC := "MLC_3pD" } - AperturaValvulaEmpuje : Bool; - { S7_MLC := "MLC_Xi" } - OrdenTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_4FX" } - OrdenTotalizadorEmpuje : Bool; - { S7_MLC := "MLC_3hN" } - ResetTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_4Sx" } - ResetTotalizadorEmpuje : Bool; - { S7_MLC := "MLC_3Rz" } - VisibilidadLitrosDrenaje : Bool; - { S7_MLC := "MLC_4jR" } - VisibilidadLitrosEmpuje : Bool; - { S7_MLC := "MLC_3VJ" } - VisibilidadLitrosAdicionAgua : Bool; - { S7_MLC := "MLC_49C" } - LitrosAdicionAgua : Real; - { S7_MLC := "MLC_t9" } - LitrosDosificados : Real; - { S7_MLC := "MLC_57C" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_52B" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3tB" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4Ps" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - { - S7_MLC := "MLC_3jB"; - S7_Setpoint := "True" - } - s_LitrosCalculados : Real; - { S7_MLC := "MLC_4yw" } - s_LitrosInicialTanque : Real; - { S7_MLC := "MLC_3cu" } - s_LitrosDosificados : Real; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_47p" } - (), - { S7_MLC := "MLC_4nA" } - (), - { S7_MLC := "MLC_33D" } - (), - { S7_MLC := "MLC_4WB" } - (), - { S7_MLC := "MLC_3ma" } - (), - { S7_MLC := "MLC_4Nh" } - (), - { S7_MLC := "MLC_3pY" } - (), - { S7_MLC := "MLC_4fk" } - (), - { S7_MLC := "MLC_4yW" } - (), - { S7_MLC := "MLC_3GZ" } - (), - { S7_MLC := "MLC_4u3" } - (), - { S7_MLC := "MLC_m5" } - (), - { S7_MLC := "MLC_5BL" } - (), - { S7_MLC := "MLC_48z" } - (), - { S7_MLC := "MLC_Pk" } - (), - { S7_MLC := "MLC_3iG" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4XH" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_y7" } - Activar : Bool; - { S7_MLC := "MLC_4iy" } - Reset : Bool; - { S7_MLC := "MLC_3mC" } - Actual : Int; - { S7_MLC := "MLC_NW" } - SP : Int; - { S7_MLC := "MLC_XG" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4GL" } - (), - { S7_MLC := "MLC_4qx" } - () - ]; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_gf" } - (), - { S7_MLC := "MLC_4Pq" } - (), - { S7_MLC := "MLC_3h4" } - (), - { S7_MLC := "MLC_49U" } - (), - { S7_MLC := "MLC_3bM" } - () - ]; - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR; - END_VAR - VAR_TEMP - for_i : Int; - t_CalcularDosificacion : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_jd" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15176_ZC_COCINA_AD_AGUA - Descripcion: Bloque de gestión de fase adicion de agua - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 09.07.2024 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4z8" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Va" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_hM" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4d8" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - // ========================================================================================= - // Adicion de agua - 10: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APERTURA DE CAMINO'); - 20: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENCENDIDO DE BOMBA'); - 30: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - DRENAJE PREVIO'); - 40: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ADICION DE AGUA '); - 50: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APAGADO DE BOMBA'); - 60: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - CIERRE CAMINO'); - - // ========================================================================================= - // Homogenizacion en linea - 100: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APERTURA DE CAMINO'); - 110: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENCENDIDO DE BOMBA'); - 120: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - DRENAJE PREVIO'); - 150: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION EN LINEA'); - 160: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - EMPUJE'); - 170: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ACLARADO'); - 180: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APAGADO DE BOMBA'); - 190: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - CIERRE CAMINO'); - - // ========================================================================================= - // Homogenizacion en tanque - - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4dB" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4pE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - wire#w1 - { S7_Templates := "SrcType := Real" } - NE_Contact( - in1 := #Parametros.P_Real_5, - in2 := 0.0 - ) - Move( - in := 10, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - EQ_Contact( - in1 := #Parametros.P_Real_5, - in2 := 0.0 - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3xp" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 20, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4pf" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 30, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4XB" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #TiempoMaximoDrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorDrenaje, - in2 := #LitrosDrenajeInicial - ) - wire#w2 - Move( - in := 40, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58T" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #s_LitrosDosificados, - in2 := #s_LitrosCalculados - ) - wire#w2 - Move( - in := 50, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ze" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 60, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkComment := "MLC_3u7"; - S7_NetworkTitle := "MLC_4bx" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_1, - in2 := 0 - ) - wire#w3 - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w2 - Contact( #SiempreON ) - END_RUNG wire#w3 - RUNG wire#w2 - Contact( #SiempreOFF ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #Parametros.P_Int_1, - in2 := 0 - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_R6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 110, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Z6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 120, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3MV" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := #TiempoMaximoDrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorDrenaje, - in2 := #LitrosDrenajeInicial - ) - wire#w2 - Move( - in := 150, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3xz" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - wire#w1 - P_Trig( #s_Pulsos[9] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4vd" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - wire#w1 - P_Trig( #s_Pulsos[10] ) - Move( - in := #TiempoMaximoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorEmpuje, - in2 := #LitrosEmpujeFinal - ) - wire#w2 - Move( - in := 170, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_37Q" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - wire#w1 - P_Trig( #s_Pulsos[11] ) - Move( - in := #TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 180, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_48g" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 180 - ) - wire#w1 - P_Trig( #s_Pulsos[12] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 190, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ka" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 190 - ) - wire#w1 - P_Trig( #s_Pulsos[13] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_599" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_39q" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4KU" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4mk" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4bX" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3a5" - } - NETWORK - RUNG wire#powerrail - Contact( #OrdenCalcular ) - Coil( #t_CalcularDosificacion ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Vj" - } - NETWORK - - IF #t_CalcularDosificacion THEN - - // Calculamos los kilos a añadir de agua - #s_LitrosCalculados := (#KilosTanque * #Parametros.P_Real_5) / 1000.0; - - // Guardamos valor actual tanque y reset kilos dosificados - #s_LitrosInicialTanque := #KilosTanque; - #s_LitrosDosificados := 0.0; - - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43F" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - Sub( - in1 := #KilosTanque, - in2 := #s_LitrosInicialTanque, - out => #s_LitrosDosificados - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4jy" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43i" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - Coil( #ResetTotalizadorDrenaje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - wire#w2 - Coil( #OrdenTotalizadorDrenaje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ae" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - wire#w1 - Coil( #ResetTotalizadorEmpuje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - Coil( #OrdenTotalizadorEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_579" - } - NETWORK - RUNG wire#powerrail - Contact( #OrdenTotalizadorDrenaje ) - Coil( #VisibilidadLitrosDrenaje ) - END_RUNG - RUNG wire#powerrail - Contact( #OrdenTotalizadorEmpuje ) - Coil( #VisibilidadLitrosEmpuje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 60 - ) - Coil( #VisibilidadLitrosAdicionAgua ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_cU" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_LitrosCalculados, - out1 => #LitrosAdicionAgua - ) - END_RUNG - RUNG wire#powerrail - Move( - in := #s_LitrosDosificados, - out1 => #LitrosDosificados - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5AP" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - wire#w2 - Coil( #MarchaBombaBlender ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w1 - RUNG wire#w2 - Move( - in := #Parametros.P_Real_1, - out1 => #VelocidadBombaBlender - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_jC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_36h" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_473" - } - NETWORK - RUNG wire#powerrail - I_Contact( #TipoValvulaDrenaje ) - wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w2 - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #TipoValvulaDrenaje ) - wire#w3 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - END_RUNG wire#w2 - RUNG wire#w3 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenaje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_36S" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - Move( - in := 2, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaEntradaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3bJ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 30 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - I_Contact( #s_Pausa_M ) - Move( - in := 2, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_bE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Lr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7res deleted file mode 100644 index 31b4e5b..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15176_ZC_COCINA_AD_AGUA.s7res +++ /dev/null @@ -1,311 +0,0 @@ -MultiLingualTexts: - - id: MLC_3Ks - es-ES: FB15176_ZC_COCINA_AD_AGUA - - id: MLC_wb - es-ES: Nombre de la secuencia - - id: MLC_3F6 - es-ES: Pulso 1 segundo - - id: MLC_3iC - es-ES: Acuse general - - id: MLC_3vK - es-ES: Orden marcha secuencia - - id: MLC_Uw - es-ES: Estado proceso principal en marcha - - id: MLC_wc - es-ES: En etapa - - id: MLC_4ku - es-ES: Orden pausa adicional - - id: MLC_5A4 - es-ES: Estado bomba - - id: MLC_b4 - es-ES: 0= N.C. / 1= N.O. - - id: MLC_Rq - es-ES: VelocidadBomba - - id: MLC_4ME - es-ES: Reserva - - id: MLC_jD - es-ES: Reserva - - id: MLC_kz - es-ES: Reserva - - id: MLC_42a - es-ES: SPAgua - - id: MLC_3eN - es-ES: SPTemperatura - - id: MLC_4Ez - es-ES: HisteresisTemp - - id: MLC_ui - es-ES: Reserva - - id: MLC_yb - es-ES: Reserva - - id: MLC_mU - es-ES: Reserva - - id: MLC_ZL - es-ES: Reserva - - id: MLC_4ET - es-ES: Reserva - - id: MLC_WG - es-ES: Reserva - - id: MLC_pw - es-ES: Reserva - - id: MLC_4AK - es-ES: Reserva - - id: MLC_4BQ - es-ES: Reserva - - id: MLC_SC - es-ES: Reserva - - id: MLC_3A6 - es-ES: TiempoHomo - - id: MLC_43B - es-ES: Reserva - - id: MLC_nV - es-ES: Reserva - - id: MLC_48n - es-ES: Reserva - - id: MLC_3xi - es-ES: Reserva - - id: MLC_3Jd - es-ES: Reserva - - id: MLC_3LN - es-ES: Reserva - - id: MLC_4Pv - es-ES: Reserva - - id: MLC_4t8 - es-ES: Reserva - - id: MLC_4bs - es-ES: Reserva - - id: MLC_3a7 - es-ES: Reserva - - id: MLC_34h - es-ES: Reserva - - id: MLC_yN - es-ES: Reserva - - id: MLC_39v - es-ES: Reserva - - id: MLC_eE - es-ES: Reserva - - id: MLC_R3 - es-ES: Reserva - - id: MLC_3TR - es-ES: Reserva - - id: MLC_38g - es-ES: Reserva - - id: MLC_3Xd - es-ES: Reserva - - id: MLC_h8 - es-ES: Reserva - - id: MLC_NY - es-ES: Reserva - - id: MLC_574 - es-ES: Reserva - - id: MLC_3fU - es-ES: Reserva - - id: MLC_4CE - es-ES: Reserva - - id: MLC_39j - es-ES: Reserva - - id: MLC_gE - es-ES: SP Litros drenaje inicial - - id: MLC_3ZP - es-ES: SP Litros empuje final - - id: MLC_4mK - es-ES: Totalizador litros drenaje - - id: MLC_4XR - es-ES: Totalizador litros empuje - - id: MLC_3ym - es-ES: Tiempo aclarado - - id: MLC_sd - es-ES: Tiempo maximo drenaje - - id: MLC_45U - es-ES: Tiempo maximo empuje - - id: MLC_4Bh - es-ES: Peso inicial del tanque para calculo de dosificaciones - - id: MLC_3Z9 - es-ES: Orden de marcha bomba blender - - id: MLC_4RC - es-ES: Velocidad bomba blender - - id: MLC_4Eh - es-ES: Orden de marcha bomba Intermedia - - id: MLC_5A5 - es-ES: Orden apertura valvula de salida de tanque - - id: MLC_346 - es-ES: Orden apertura valvula de drenaje - - id: MLC_3Ci - es-ES: Orden apertura valvula de entrada tanque - - id: MLC_3pD - es-ES: Orden apertura valvula de empuje - - id: MLC_Xi - es-ES: Orden totalizador drenaje - - id: MLC_4FX - es-ES: Orden totalizador empuje - - id: MLC_3hN - es-ES: Reset totalizador drenaje - - id: MLC_4Sx - es-ES: Reset totalizador empuje - - id: MLC_3Rz - es-ES: Visibilidad litros drenaje - - id: MLC_4jR - es-ES: Visibilidad litros empuje - - id: MLC_3VJ - es-ES: Visibilidad litros adicion de agua - - id: MLC_49C - es-ES: Litros calculados a dosificar - - id: MLC_t9 - es-ES: Litros dosificados - - id: MLC_57C - es-ES: Secuencia iniciada - - id: MLC_52B - es-ES: Secuencia finalizada - - id: MLC_3tB - es-ES: Etapa actual - - id: MLC_4Ps - es-ES: Texto etapa - - id: MLC_3jB - es-ES: Litros agua a dosificar calculados - - id: MLC_4yw - es-ES: Litros en tanque iniciales - - id: MLC_3cu - es-ES: Litros dosificados - - id: MLC_47p - es-ES: Etapa 10 - - id: MLC_4nA - es-ES: Etapa 20 - - id: MLC_33D - es-ES: Etapa 30 - - id: MLC_4WB - es-ES: Etapa 40 - - id: MLC_3ma - es-ES: Etapa 50 - - id: MLC_4Nh - es-ES: Etapa 60 - - id: MLC_3pY - es-ES: Etapa 100 - - id: MLC_4fk - es-ES: Etapa 110 - - id: MLC_4yW - es-ES: Etapa 120 - - id: MLC_3GZ - es-ES: Etapa 150 - - id: MLC_4u3 - es-ES: Etapa 160 - - id: MLC_m5 - es-ES: Etapa 170 - - id: MLC_5BL - es-ES: Etapa 180 - - id: MLC_48z - es-ES: Etapa 190 - - id: MLC_Pk - es-ES: Etapa 140 - - id: MLC_3iG - es-ES: Etapa 999 - - id: MLC_4XH - es-ES: Tiempo de etapa - - id: MLC_y7 - es-ES: Activar - - id: MLC_4iy - es-ES: Reset - - id: MLC_3mC - es-ES: Actual - - id: MLC_NW - es-ES: Set point - - id: MLC_XG - es-ES: Restante - - id: MLC_4GL - es-ES: Pausa - - id: MLC_4qx - es-ES: Continuar - - id: MLC_gf - es-ES: Retardo desconexion valvula salida tanque - - id: MLC_4Pq - es-ES: Retardo desconexion valvula desvio CIP - - id: MLC_3h4 - es-ES: Retardo desconexion valvula drenaje - - id: MLC_49U - es-ES: Retardo desconexion valvula entrada tanque - - id: MLC_3bM - es-ES: Retardo desconexion valvula empuje - - id: MLC_jd - es-ES: '@Change log' - - id: MLC_4z8 - es-ES: =============== Estado secuencia - - id: MLC_3Va - es-ES: Pausa - - id: MLC_hM - es-ES: Paro de secuencia - - id: MLC_4d8 - es-ES: Texto Etapa - - id: MLC_4dB - es-ES: =============== Secuencia - - id: MLC_4pE - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3xp - es-ES: Etapa 010 - Apertura de camino - - id: MLC_4pf - es-ES: Etapa 020 - Encendido bomba - - id: MLC_4XB - es-ES: Etapa 030 - Drenaje previo - - id: MLC_58T - es-ES: Etapa 040 - Adicion de Agua - - id: MLC_4ze - es-ES: Etapa 050 - Apagado bomba - - id: MLC_4bx - es-ES: Etapa 060 - Cierre de camino - - id: MLC_3u7 - es-ES: 'ZCSA-ABH 2025/09/15: Se salta la homogeneizacion. Solamente se añade el agua y termina la etapa.' - - id: MLC_R6 - es-ES: RESERVA Etapa 100 - Apertura de camino - - id: MLC_4Z6 - es-ES: RESERVA Etapa 110 - Encendido bomba - - id: MLC_3MV - es-ES: RESERVA Etapa 120 - Drenaje previo - - id: MLC_3xz - es-ES: RESERVA Etapa 150 - Homogenizacion en linea - - id: MLC_4vd - es-ES: RESERVA Etapa 160 - Empuje - - id: MLC_37Q - es-ES: RESERVA Etapa 170 - Aclarado - - id: MLC_48g - es-ES: RESERVA Etapa 180 - Apagado bomba - - id: MLC_4Ka - es-ES: RESERVA Etapa 190 - Cierre de camino - - id: MLC_599 - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_39q - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4KU - es-ES: Contador tiempo - - id: MLC_4mk - es-ES: Temporizadores - - id: MLC_4bX - es-ES: =============== Auxiliares - - id: MLC_3a5 - es-ES: Orden calcular - - id: MLC_3Vj - es-ES: Calculo cantidad a dosificar - - id: MLC_43F - es-ES: Kilos dosificados de agua - - id: MLC_4jy - es-ES: =============== Salidas - - id: MLC_43i - es-ES: Orden totalizador drenaje - - id: MLC_ae - es-ES: Orden totalizador Empuje - - id: MLC_579 - es-ES: Visibilidad litros restantes - - id: MLC_cU - es-ES: Litros adicion de agua - - id: MLC_5AP - es-ES: Bomba blender - Orden de marcha - - id: MLC_jC - es-ES: Bomba intermedia - Orden de marcha - - id: MLC_36h - es-ES: Valvula salida tanque - Orden de activacion - - id: MLC_473 - es-ES: Valvula drenaje - Orden de activacion - - id: MLC_36S - es-ES: Valvula entrada tanque - Orden de activacion - - id: MLC_3bJ - es-ES: Valvula empuje - Orden de activacion - - id: MLC_bE - es-ES: Secuencia iniciada - - id: MLC_4Lr - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7dcl deleted file mode 100644 index d635734..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7dcl +++ /dev/null @@ -1,1622 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15178"; - S7_BlockTitle := "MLC_4CY"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15178_ZC_COCINA_HOMO" - VAR_INPUT - { S7_MLC := "MLC_3xx" } - NombreSecuencia : String := 'HOMOGENIZAR'; - { S7_MLC := "MLC_3Me" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4kN" } - Ack : Bool; - { S7_MLC := "MLC_3RM" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_3Gr" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_5Bm" } - EnEtapa : Bool; - { S7_MLC := "MLC_m8" } - OrdenPausa : Bool; - { S7_MLC := "MLC_4Ux" } - EstadoBomba : Bool; - { S7_MLC := "MLC_4ii" } - TipoValvulaDrenaje : Bool; - EstadoBocaHombre : Bool; - { S7_MLC := "MLC_3T3" } - TT_Linea : Real; - { S7_MLC := "MLC_3Cj" } - TT_Tanque : Real; - { S7_MLC := "MLC_WX" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_5B5" } - P_Real_1 := (), - { S7_MLC := "MLC_3EZ" } - P_Real_2 := (), - { S7_MLC := "MLC_56C" } - P_Real_3 := (), - { S7_MLC := "MLC_3jC" } - P_Real_4 := (), - { S7_MLC := "MLC_464" } - P_Real_5 := (), - { S7_MLC := "MLC_4m9" } - P_Real_6 := (), - { S7_MLC := "MLC_3Jb" } - P_Real_7 := (), - { S7_MLC := "MLC_4TB" } - P_Real_8 := (), - { S7_MLC := "MLC_4nG" } - P_Real_9 := (), - { S7_MLC := "MLC_LX" } - P_Real_10 := (), - { S7_MLC := "MLC_3wP" } - P_Real_11 := (), - { S7_MLC := "MLC_qV" } - P_Real_12 := (), - { S7_MLC := "MLC_ut" } - P_Real_13 := (), - { S7_MLC := "MLC_33F" } - P_Real_14 := (), - { S7_MLC := "MLC_an" } - P_Real_15 := (), - { S7_MLC := "MLC_3Q4" } - P_Real_16 := (), - { S7_MLC := "MLC_nu" } - P_Real_17 := (), - { S7_MLC := "MLC_yg" } - P_Int_1 := (), - { S7_MLC := "MLC_4tc" } - P_Int_2 := (), - { S7_MLC := "MLC_ag" } - P_Int_3 := (), - { S7_MLC := "MLC_wJ" } - P_Int_4 := (), - { S7_MLC := "MLC_48p" } - P_Int_5 := (), - { S7_MLC := "MLC_bA" } - P_Int_6 := (), - { S7_MLC := "MLC_3ti" } - P_Int_7 := (), - { S7_MLC := "MLC_4mX" } - P_Int_8 := (), - { S7_MLC := "MLC_3e4" } - P_Int_9 := (), - { S7_MLC := "MLC_3UC" } - P_Int_10 := (), - { S7_MLC := "MLC_4rC" } - P_Int_11 := (), - { S7_MLC := "MLC_nR" } - P_Int_12 := (), - { S7_MLC := "MLC_3np" } - P_Int_13 := (), - { S7_MLC := "MLC_3PJ" } - P_Int_14 := (), - { S7_MLC := "MLC_4Eg" } - P_Int_15 := (), - { S7_MLC := "MLC_4pY" } - P_String_1 := (), - { S7_MLC := "MLC_3sB" } - P_String_2 := (), - { S7_MLC := "MLC_54z" } - P_String_3 := (), - { S7_MLC := "MLC_3Uk" } - P_String_4 := (), - { S7_MLC := "MLC_3uC" } - P_String_5 := (), - { S7_MLC := "MLC_3h2" } - P_String_6 := (), - { S7_MLC := "MLC_4M4" } - P_String_7 := (), - { S7_MLC := "MLC_4Qi" } - P_String_8 := (), - { S7_MLC := "MLC_3VC" } - P_String_9 := (), - { S7_MLC := "MLC_3VU" } - P_String_10 := () - ); - { S7_MLC := "MLC_u2" } - LitrosDrenajeInicial : Real := 150.0; - { S7_MLC := "MLC_5CE" } - LitrosEmpujeFinal : Real := 150.0; - { S7_MLC := "MLC_35G" } - TotalizadorDrenaje : Real := 0.0; - { S7_MLC := "MLC_3vC" } - TotalizadorEmpuje : Real := 0.0; - { S7_MLC := "MLC_4PN" } - TiempoAclarado : Int := 60; - { S7_MLC := "MLC_3ae" } - TiempoMaximoDrenaje : Int := 80; - { S7_MLC := "MLC_TP" } - TiempoMaximoEmpuje : Int := 80; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4PT" } - HomoEnTanque : Bool; - { S7_MLC := "MLC_b2" } - MarchaBombaBlender : Bool; - { S7_MLC := "MLC_53W" } - VelocidadBombaBlender : Real; - { S7_MLC := "MLC_me" } - MarchaBombaIntermedia : Bool; - { S7_MLC := "MLC_3NT" } - AperturaValvulaSalidaTanque : Bool; - { S7_MLC := "MLC_3GW" } - AperturaValvulaDrenaje : Bool; - { S7_MLC := "MLC_3ir" } - AperturaValvulaEntradaTanque : Bool; - { S7_MLC := "MLC_4Yt" } - AperturaValvulaEmpuje : Bool; - MarchaAgitador : Bool; - VelocidadAgitador : Real; - { S7_MLC := "MLC_54t" } - OrdenCalentar : Bool; - { S7_MLC := "MLC_4Zg" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_3gB" } - SP_CalEnf : Real; - { S7_MLC := "MLC_4Cr" } - OrdenTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_iZ" } - OrdenTotalizadorEmpuje : Bool; - { S7_MLC := "MLC_3Am" } - ResetTotalizadorDrenaje : Bool; - { S7_MLC := "MLC_43T" } - ResetTotalizadorEmpuje : Bool; - VisibilidadLitrosDrenaje : Bool; - VisibilidadLitrosEmpuje : Bool; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_Q3" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_zF" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4FQ" } - s_EtapaActual : Int; - { S7_MLC := "MLC_3th" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_58L" } - (), - { S7_MLC := "MLC_3EY" } - (), - { S7_MLC := "MLC_3zJ" } - (), - { S7_MLC := "MLC_4Tw" } - (), - { S7_MLC := "MLC_k6" } - (), - { S7_MLC := "MLC_4yw" } - (), - { S7_MLC := "MLC_4ik" } - (), - { S7_MLC := "MLC_3NW" } - (), - { S7_MLC := "MLC_mx" } - (), - 6(()), - { S7_MLC := "MLC_3mq" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_sC" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_4eP" } - Activar : Bool; - { S7_MLC := "MLC_4s3" } - Reset : Bool; - { S7_MLC := "MLC_if" } - Actual : Int; - { S7_MLC := "MLC_3tN" } - SP : Int; - { S7_MLC := "MLC_3gN" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_wM" } - (), - { S7_MLC := "MLC_362" } - () - ]; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TOF : Array[1..#NUM_MAX_TOF] of _.UDT_ZC_DISP_TOF := [ - { S7_MLC := "MLC_VQ" } - (), - { S7_MLC := "MLC_4Aj" } - (), - { S7_MLC := "MLC_3f9" } - (), - { S7_MLC := "MLC_kS" } - (), - { S7_MLC := "MLC_4j5" } - () - ]; - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TONR : Array[1..#NUM_MAX_TONR] of _.UDT_ZC_DISP_TONR; - END_VAR - VAR - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - s_ControlTanque : STRUCT - Aux_MemOrdenAgitador : Bool; - END_STRUCT; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3uE" } - s_CalentarEnfriar : Bool; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - t_OrdenCalentar : Bool; - t_OrdenEnfriar : Bool; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_TOF : Int := 5; - NUM_MAX_TONR : Int := 1; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_mH" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15178_ZC_COCINA_HOMO - Descripcion: Bloque de gestión de fase homogenizar - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 09.07.2024 (ABH) Primera versión - 01.00.01 17.09.2025 (ABH) Se añade habilitacion para el tratamiento termico. - Se elimina condicion de temperatura Ok para contar tiempo de homogeneizacion. - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_aK" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_56c" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Zj" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - S_Coil( #s_CalentarEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_CalentarEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - S_Coil( #s_CalentarEnfriar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3L6" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Tn" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_bz" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Zq" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - // ========================================================================================= - // Homogenizacion en linea - 100: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APERTURA DE CAMINO'); - 110: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ENCENDIDO DE BOMBA'); - 120: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - DRENAJE PREVIO'); - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION EN TANQUE'); - 150: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION EN LINEA'); - 160: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - EMPUJE'); - 170: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ACLARADO'); - 180: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - APAGADO DE BOMBA'); - 190: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - CIERRE CAMINO'); - - // ========================================================================================= - // Homogenizacion en tanque - - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3us" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4DA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - Move( - in := 100, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3CC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - wire#w1 - P_Trig( #s_Pulsos[0] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 110, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3N8" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - wire#w1 - P_Trig( #s_Pulsos[1] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 120, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_xG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := #TiempoMaximoDrenaje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorDrenaje, - in2 := #LitrosDrenajeInicial - ) - wire#w2 - Move( - in := 150, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3WL" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4AD" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_js" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := #TiempoMaximoEmpuje, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TotalizadorEmpuje, - in2 := #LitrosEmpujeFinal - ) - wire#w2 - Move( - in := 170, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3cn" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - wire#w1 - P_Trig( #s_Pulsos[6] ) - Move( - in := #TiempoAclarado, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 180, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3dx" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 180 - ) - wire#w1 - P_Trig( #s_Pulsos[7] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoBomba ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 190, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 190 - ) - wire#w1 - P_Trig( #s_Pulsos[8] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3KK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_49m" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4uG" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3DW" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // TOF - FOR #for_i := 1 TO #NUM_MAX_TOF DO - "FC2929_ZC_TOF_INDV"(Pulso1seg := #Pulso1Seg, - TOF := #s_TOF[#for_i]); - END_FOR; - - // ============================================================================ - // TONR - FOR #for_i := 1 TO #NUM_MAX_TONR DO - "FC2930_ZC_TONR_INDV"(Pulso1seg := #Pulso1Seg, - TONR := #s_TONR[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4FH" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3An" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_15, - in2 := 1 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_V ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - wire#w2 - I_Contact( #s_CalentarEnfriar ) - Move( - in := #t_TempHistSuperior, - out1 => #SP_CalEnf - ) - S_Coil( #t_OrdenCalentar ) - END_RUNG - RUNG wire#w2 - Contact( #s_CalentarEnfriar ) - Move( - in := #t_TempHistInferior, - out1 => #SP_CalEnf - ) - S_Coil( #t_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - wire#w3 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 0 - ) - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w4 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #t_OrdenCalentar ) - END_RUNG - RUNG wire#w4 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - R_Coil( #t_OrdenCalentar ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 1 - ) - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w5 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #t_OrdenEnfriar ) - END_RUNG - RUNG wire#w5 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #t_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - RUNG wire#w1 - Contact( #t_OrdenCalentar ) - Coil( #OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Contact( #t_OrdenEnfriar ) - Coil( #OrdenEnfriar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Jb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - Coil( #ResetTotalizadorDrenaje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - Coil( #OrdenTotalizadorDrenaje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4gQ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - Coil( #ResetTotalizadorEmpuje ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - Coil( #OrdenTotalizadorEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4JT" - } - NETWORK - RUNG wire#powerrail - Contact( #OrdenTotalizadorDrenaje ) - Coil( #VisibilidadLitrosDrenaje ) - END_RUNG - RUNG wire#powerrail - Contact( #OrdenTotalizadorEmpuje ) - Coil( #VisibilidadLitrosEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3qC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - Coil( #HomoEnTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_nk" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_M ) - wire#w2 - Coil( #MarchaBombaBlender ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w1 - RUNG wire#w2 - Move( - in := #Parametros.P_Real_1, - out1 => #VelocidadBombaBlender - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4J4" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 20 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 40 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_M ) - Coil( #MarchaBombaIntermedia ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 110 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w1 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4dN" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 10 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 50 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[1].SP - ) - Coil( #s_TOF[1].IN ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - Contact( #s_TOF[1].Q ) - Coil( #AperturaValvulaSalidaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3w9" - } - NETWORK - RUNG wire#powerrail - I_Contact( #TipoValvulaDrenaje ) - wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 100 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w2 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[3].SP - ) - Coil( #s_TOF[3].IN ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #TipoValvulaDrenaje ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - Contact( #s_TOF[3].Q ) - Coil( #AperturaValvulaDrenaje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_52R" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[4].SP - ) - Coil( #s_TOF[4].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[4].Q ) - Coil( #AperturaValvulaEntradaTanque ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3dG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 160 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 170 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 1 - ) - I_Contact( #s_Pausa_V ) - Move( - in := 2, - out1 => #s_TOF[5].SP - ) - Coil( #s_TOF[5].IN ) - END_RUNG - RUNG wire#powerrail - Contact( #s_TOF[5].Q ) - Coil( #AperturaValvulaEmpuje ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4tU" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - I_Contact( #s_Pausa_M ) - Contact( #EstadoBocaHombre ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_8 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_9 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 0 - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 1 - ) - wire#w2 - Coil( #MarchaAgitador ) - END_RUNG - RUNG wire#w1 - Contact( #s_FF[1].Estado_Flip ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3QA" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_2; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_8; - #t_x1 := #Parametros.P_Real_9; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_10; - #t_y1 := #Parametros.P_Real_11; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Ty" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_hG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7res deleted file mode 100644 index 4cabc9d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15178_ZC_COCINA_HOMO.s7res +++ /dev/null @@ -1,289 +0,0 @@ -MultiLingualTexts: - - id: MLC_4CY - es-ES: FB15178_ZC_COCINA_HOMO - - id: MLC_3xx - es-ES: Nombre de la secuencia - - id: MLC_3Me - es-ES: Pulso 1 segundo - - id: MLC_4kN - es-ES: Acuse general - - id: MLC_3RM - es-ES: Orden marcha secuencia - - id: MLC_3Gr - es-ES: Estado proceso principal en marcha - - id: MLC_5Bm - es-ES: En etapa - - id: MLC_m8 - es-ES: Orden pausa adicional - - id: MLC_4Ux - es-ES: Estado bomba - - id: MLC_4ii - es-ES: 0= N.C. / 1= N.O. - - id: MLC_3T3 - es-ES: Temperatura linea - - id: MLC_3Cj - es-ES: Temperatura tanque - - id: MLC_WX - es-ES: Nivel tanque - - id: MLC_5B5 - es-ES: LINEA_VelocidadBomba - - id: MLC_3EZ - es-ES: TQ_VelocidadFijaAgitador - - id: MLC_56C - es-ES: Reserva - - id: MLC_3jC - es-ES: Reserva - - id: MLC_464 - es-ES: Reserva - - id: MLC_4m9 - es-ES: SPTemperatura - - id: MLC_3Jb - es-ES: HisteresisTemp - - id: MLC_4TB - es-ES: TQ_VolumenMinControlAgitador - - id: MLC_4nG - es-ES: TQ_VolumenMaxControlAgitador - - id: MLC_LX - es-ES: TQ_VelocidadMinAgitador - - id: MLC_3wP - es-ES: TQ_VelocidadMaxAgitador - - id: MLC_qV - es-ES: Reserva - - id: MLC_ut - es-ES: Reserva - - id: MLC_33F - es-ES: Reserva - - id: MLC_an - es-ES: Reserva - - id: MLC_3Q4 - es-ES: Reserva - - id: MLC_nu - es-ES: Reserva - - id: MLC_yg - es-ES: TiempoHomo - - id: MLC_4tc - es-ES: TipoHomo - - id: MLC_ag - es-ES: TQ_TiempoAgitadorOn - - id: MLC_wJ - es-ES: TQ_TiempoAgitadorOff - - id: MLC_48p - es-ES: TQ_TipoAgitacionVelocidad - - id: MLC_bA - es-ES: TQ_TipoAgitacionTiempo - - id: MLC_3ti - es-ES: TQ_TipoControlTemperatura - - id: MLC_4mX - es-ES: Reserva - - id: MLC_3e4 - es-ES: Reserva - - id: MLC_3UC - es-ES: Reserva - - id: MLC_4rC - es-ES: Reserva - - id: MLC_nR - es-ES: Reserva - - id: MLC_3np - es-ES: Reserva - - id: MLC_3PJ - es-ES: Reserva - - id: MLC_4Eg - es-ES: HabilitarTratTermico - - id: MLC_4pY - es-ES: Reserva - - id: MLC_3sB - es-ES: Reserva - - id: MLC_54z - es-ES: Reserva - - id: MLC_3Uk - es-ES: Reserva - - id: MLC_3uC - es-ES: Reserva - - id: MLC_3h2 - es-ES: Reserva - - id: MLC_4M4 - es-ES: Reserva - - id: MLC_4Qi - es-ES: Reserva - - id: MLC_3VC - es-ES: Reserva - - id: MLC_3VU - es-ES: Reserva - - id: MLC_u2 - es-ES: SP Litros drenaje inicial - - id: MLC_5CE - es-ES: SP Litros empuje final - - id: MLC_35G - es-ES: Totalizador litros drenaje - - id: MLC_3vC - es-ES: Totalizador litros empuje - - id: MLC_4PN - es-ES: Tiempo aclarado - - id: MLC_3ae - es-ES: Tiempo maximo drenaje - - id: MLC_TP - es-ES: Tiempo maximo empuje - - id: MLC_4PT - es-ES: Homogenizar en tanque - - id: MLC_b2 - es-ES: Orden de marcha bomba blender - - id: MLC_53W - es-ES: Velocidad bomba blender - - id: MLC_me - es-ES: Orden de marcha bomba Intermedia - - id: MLC_3NT - es-ES: Orden apertura valvula de salida de tanque - - id: MLC_3GW - es-ES: Orden apertura valvula de drenaje - - id: MLC_3ir - es-ES: Orden apertura valvula de entrada tanque - - id: MLC_4Yt - es-ES: Orden apertura valvula de empuje - - id: MLC_54t - es-ES: Orden calentar - - id: MLC_4Zg - es-ES: Orden enfriar - - id: MLC_3gB - es-ES: Set point calentamiento/enfriamiento - - id: MLC_4Cr - es-ES: Orden totalizador drenaje - - id: MLC_iZ - es-ES: Orden totalizador empuje - - id: MLC_3Am - es-ES: Reset totalizador drenaje - - id: MLC_43T - es-ES: Reset totalizador empuje - - id: MLC_Q3 - es-ES: Secuencia iniciada - - id: MLC_zF - es-ES: Secuencia finalizada - - id: MLC_4FQ - es-ES: Etapa actual - - id: MLC_3th - es-ES: Texto etapa - - id: MLC_58L - es-ES: Etapa 100 - - id: MLC_3EY - es-ES: Etapa 110 - - id: MLC_3zJ - es-ES: Etapa 120 - - id: MLC_4Tw - es-ES: Etapa 140 - - id: MLC_k6 - es-ES: Etapa 150 - - id: MLC_4yw - es-ES: Etapa 160 - - id: MLC_4ik - es-ES: Etapa 170 - - id: MLC_3NW - es-ES: Etapa 180 - - id: MLC_mx - es-ES: Etapa 190 - - id: MLC_3mq - es-ES: Etapa 999 - - id: MLC_sC - es-ES: Tiempo de etapa - - id: MLC_4eP - es-ES: Activar - - id: MLC_4s3 - es-ES: Reset - - id: MLC_if - es-ES: Actual - - id: MLC_3tN - es-ES: Set point - - id: MLC_3gN - es-ES: Restante - - id: MLC_wM - es-ES: Pausa - - id: MLC_362 - es-ES: Continuar - - id: MLC_VQ - es-ES: Retardo desconexion valvula salida tanque - - id: MLC_4Aj - es-ES: Retardo desconexion valvula desvio CIP - - id: MLC_3f9 - es-ES: Retardo desconexion valvula drenaje - - id: MLC_kS - es-ES: Retardo desconexion valvula entrada tanque - - id: MLC_4j5 - es-ES: Retardo desconexion valvula empuje - - id: MLC_3uE - es-ES: 0= Calentar / 1= Enfriar - - id: MLC_mH - es-ES: '@Change log' - - id: MLC_aK - es-ES: =============== Auxiliares - - id: MLC_56c - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_Zj - es-ES: Gestion calentamiento - Activacion Calentar / Enfriar - - id: MLC_3L6 - es-ES: =============== Estado secuencia - - id: MLC_4Tn - es-ES: Pausa - - id: MLC_bz - es-ES: Paro de secuencia - - id: MLC_4Zq - es-ES: Texto Etapa - - id: MLC_3us - es-ES: =============== Secuencia - - id: MLC_4DA - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3CC - es-ES: Etapa 100 - Apertura de camino - - id: MLC_3N8 - es-ES: Etapa 110 - Encendido bomba - - id: MLC_xG - es-ES: Etapa 120 - Drenaje previo - - id: MLC_3WL - es-ES: Etapa 140 - Homogenizacion en tanque - - id: MLC_4AD - es-ES: Etapa 150 - Homogenizacion en linea - - id: MLC_js - es-ES: Etapa 160 - Empuje - - id: MLC_3cn - es-ES: Etapa 170 - Aclarado - - id: MLC_3dx - es-ES: Etapa 180 - Apagado bomba - - id: MLC_3yb - es-ES: Etapa 190 - Cierre de camino - - id: MLC_3KK - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_49m - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4uG - es-ES: Contador tiempo - - id: MLC_3DW - es-ES: Temporizadores - - id: MLC_4FH - es-ES: =============== Salidas - - id: MLC_3An - es-ES: Orden calentar / enfriar - - id: MLC_4Jb - es-ES: Orden totalizador drenaje - - id: MLC_4gQ - es-ES: Orden totalizador Empuje - - id: MLC_4JT - es-ES: Visibilidad litros restantes - - id: MLC_3qC - es-ES: Homogenizacion en tanque - - id: MLC_nk - es-ES: Bomba blender - Orden de marcha - - id: MLC_4J4 - es-ES: Bomba intermedia - Orden de marcha - - id: MLC_4dN - es-ES: Valvula salida tanque - Orden de activacion - - id: MLC_3w9 - es-ES: Valvula drenaje - Orden de activacion - - id: MLC_52R - es-ES: Valvula entrada tanque - Orden de activacion - - id: MLC_3dG - es-ES: Valvula empuje - Orden de activacion - - id: MLC_4tU - es-ES: Agitador tanque - Orden de marcha - - id: MLC_3QA - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_Ty - es-ES: Secuencia iniciada - - id: MLC_hG - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7dcl deleted file mode 100644 index eeb6b5f..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7dcl +++ /dev/null @@ -1,812 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15179"; - S7_BlockTitle := "MLC_WJ"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15179_ZC_COCINA_FIN_PREP" - VAR_INPUT - { S7_MLC := "MLC_42j" } - NombreSecuencia : String := 'FIN PREPARACION'; - { S7_MLC := "MLC_4RX" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_rM" } - Ack : Bool; - { S7_MLC := "MLC_hi" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4jM" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_V9" } - EnEtapa : Bool; - { S7_MLC := "MLC_3v4" } - OrdenPausa : Bool; - EstadoBocaHombre : Bool; - { S7_MLC := "MLC_3GZ" } - TT_Tanque : Real; - { S7_MLC := "MLC_429" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_349" } - TipoEtapa := (), - { S7_MLC := "MLC_3nA" } - P_Real_1 := (), - { S7_MLC := "MLC_46M" } - P_Real_2 := (), - { S7_MLC := "MLC_4fL" } - P_Real_3 := (), - { S7_MLC := "MLC_4si" } - P_Real_4 := (), - { S7_MLC := "MLC_4Sr" } - P_Real_5 := (), - { S7_MLC := "MLC_xQ" } - P_Real_6 := (), - { S7_MLC := "MLC_4Lc" } - P_Real_7 := (), - { S7_MLC := "MLC_3m7" } - P_Real_8 := (), - { S7_MLC := "MLC_4JY" } - P_Real_9 := (), - { S7_MLC := "MLC_4jf" } - P_Real_10 := (), - { S7_MLC := "MLC_57h" } - P_Real_11 := (), - { S7_MLC := "MLC_4tX" } - P_Real_12 := (), - { S7_MLC := "MLC_4Sp" } - P_Real_13 := (), - { S7_MLC := "MLC_58V" } - P_Real_14 := (), - { S7_MLC := "MLC_4iu" } - P_Real_15 := (), - { S7_MLC := "MLC_3WE" } - P_Real_16 := (), - { S7_MLC := "MLC_36W" } - P_Real_17 := (), - { S7_MLC := "MLC_32N" } - P_Int_1 := (), - { S7_MLC := "MLC_55g" } - P_Int_2 := (), - { S7_MLC := "MLC_5BQ" } - P_Int_3 := (), - { S7_MLC := "MLC_Y5" } - P_Int_4 := (), - { S7_MLC := "MLC_4ai" } - P_Int_5 := (), - { S7_MLC := "MLC_4A9" } - P_Int_6 := (), - { S7_MLC := "MLC_4aL" } - P_Int_7 := (), - { S7_MLC := "MLC_3ph" } - P_Int_8 := (), - { S7_MLC := "MLC_555" } - P_Int_9 := (), - { S7_MLC := "MLC_n6" } - P_Int_10 := (), - { S7_MLC := "MLC_4ak" } - P_Int_11 := (), - { S7_MLC := "MLC_4uW" } - P_Int_12 := (), - { S7_MLC := "MLC_qe" } - P_Int_13 := (), - { S7_MLC := "MLC_bu" } - P_Int_14 := (), - { S7_MLC := "MLC_4ZL" } - P_Int_15 := (), - { S7_MLC := "MLC_4pe" } - P_String_1 := (), - { S7_MLC := "MLC_476" } - P_String_2 := (), - { S7_MLC := "MLC_3F9" } - P_String_3 := (), - { S7_MLC := "MLC_dH" } - P_String_4 := (), - { S7_MLC := "MLC_4MH" } - P_String_5 := (), - { S7_MLC := "MLC_3CT" } - P_String_6 := (), - { S7_MLC := "MLC_4wf" } - P_String_7 := (), - { S7_MLC := "MLC_tU" } - P_String_8 := (), - { S7_MLC := "MLC_3M6" } - P_String_9 := (), - { S7_MLC := "MLC_3uW" } - P_String_10 := () - ); - END_VAR - VAR_OUTPUT - MarchaAgitador : Bool; - VelocidadAgitador : Real; - { S7_MLC := "MLC_4YG" } - OrdenCalentar : Bool; - { S7_MLC := "MLC_3Ug" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_4TJ" } - SP_CalEnf : Real; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_4ez" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_MQ" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3xD" } - s_EtapaActual : Int; - { S7_MLC := "MLC_3bi" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_QX" } - (), - { S7_MLC := "MLC_3iG" } - (), - { S7_MLC := "MLC_46h" } - (), - { S7_MLC := "MLC_39V" } - (), - { S7_MLC := "MLC_4cY" } - (), - { S7_MLC := "MLC_39P" } - (), - { S7_MLC := "MLC_4Cy" } - (), - { S7_MLC := "MLC_3X3" } - (), - { S7_MLC := "MLC_55c" } - (), - 6(()), - { S7_MLC := "MLC_bF" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_37m" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_53n" } - Activar : Bool; - { S7_MLC := "MLC_4hS" } - Reset : Bool; - { S7_MLC := "MLC_4Pm" } - Actual : Int; - { S7_MLC := "MLC_3q5" } - SP : Int; - { S7_MLC := "MLC_sc" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_V5" } - (), - { S7_MLC := "MLC_389" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenCalentar : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenEnfriar : Bool; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_VN" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15179_ZC_COCINA_FIN_PREP - Descripcion: Bloque de gestión de fase fin preparacion - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 18.09.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43H" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4qT" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3DY" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_56C" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ph" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Jy" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN PREPARACION'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3kn" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4f9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Vq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #SiempreOFF ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_34M" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Py" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_58k" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Qr" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Ns" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4aM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_15, - in2 := 1 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_M ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 0 - ) - wire#w2 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w3 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w2 - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 1 - ) - wire#w4 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w5 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w5 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w4 - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenCalentar ) - Coil( #OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenEnfriar ) - Coil( #OrdenEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - R_Coil( #s_OrdenEnfriar ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_VB" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - I_Contact( #s_Pausa_M ) - Contact( #EstadoBocaHombre ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_2 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_3 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 0 - ) - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 1 - ) - wire#w2 - Coil( #MarchaAgitador ) - END_RUNG - RUNG wire#w1 - Contact( #s_FF[1].Estado_Flip ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4wQ" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_1; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_2; - #t_x1 := #Parametros.P_Real_3; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_4; - #t_y1 := #Parametros.P_Real_5; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_45A" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3mk" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7res deleted file mode 100644 index d3ab71d..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Cocina/QuitarTextos/FB15179_ZC_COCINA_FIN_PREP.s7res +++ /dev/null @@ -1,197 +0,0 @@ -MultiLingualTexts: - - id: MLC_WJ - es-ES: FB15179_ZC_COCINA_FIN_PREP - - id: MLC_42j - es-ES: Nombre de la secuencia - - id: MLC_4RX - es-ES: Pulso 1 segundo - - id: MLC_rM - es-ES: Acuse general - - id: MLC_hi - es-ES: Orden marcha secuencia - - id: MLC_4jM - es-ES: Estado proceso principal en marcha - - id: MLC_V9 - es-ES: En etapa - - id: MLC_3v4 - es-ES: Orden pausa adicional - - id: MLC_3GZ - es-ES: Temperatura tanque - - id: MLC_429 - es-ES: Nivel tanque - - id: MLC_349 - es-ES: . - - id: MLC_3nA - es-ES: AgitadorVelocidadFija - - id: MLC_46M - es-ES: AgitadorVolumenMinControl - - id: MLC_4fL - es-ES: AgitadorVolumenMaxControl - - id: MLC_4si - es-ES: AgitadorVelocidadMin - - id: MLC_4Sr - es-ES: AgitadorVelocidadMax - - id: MLC_xQ - es-ES: SPTemperatura - - id: MLC_4Lc - es-ES: HisteresisTemp - - id: MLC_3m7 - es-ES: Reserva - - id: MLC_4JY - es-ES: Reserva - - id: MLC_4jf - es-ES: Reserva - - id: MLC_57h - es-ES: Reserva - - id: MLC_4tX - es-ES: Reserva - - id: MLC_4Sp - es-ES: Reserva - - id: MLC_58V - es-ES: Reserva - - id: MLC_4iu - es-ES: Reserva - - id: MLC_3WE - es-ES: Reserva - - id: MLC_36W - es-ES: Reserva - - id: MLC_32N - es-ES: Reserva - - id: MLC_55g - es-ES: Reserva - - id: MLC_5BQ - es-ES: AgitadorTiempoOFF - - id: MLC_Y5 - es-ES: AgitadorTiempoON - - id: MLC_4ai - es-ES: TipoAgitacionVelocidad - - id: MLC_4A9 - es-ES: TipoAgitacionTiempo - - id: MLC_4aL - es-ES: TipoControlTemperatura - - id: MLC_3ph - es-ES: Reserva - - id: MLC_555 - es-ES: Reserva - - id: MLC_n6 - es-ES: Reserva - - id: MLC_4ak - es-ES: Reserva - - id: MLC_4uW - es-ES: Reserva - - id: MLC_qe - es-ES: Reserva - - id: MLC_bu - es-ES: Reserva - - id: MLC_4ZL - es-ES: HabilitarTratTermico - - id: MLC_4pe - es-ES: Reserva - - id: MLC_476 - es-ES: Reserva - - id: MLC_3F9 - es-ES: Reserva - - id: MLC_dH - es-ES: Reserva - - id: MLC_4MH - es-ES: Reserva - - id: MLC_3CT - es-ES: Reserva - - id: MLC_4wf - es-ES: Reserva - - id: MLC_tU - es-ES: Reserva - - id: MLC_3M6 - es-ES: Reserva - - id: MLC_3uW - es-ES: Reserva - - id: MLC_4YG - es-ES: Orden calentar - - id: MLC_3Ug - es-ES: Orden enfriar - - id: MLC_4TJ - es-ES: Set point calentamiento/enfriamiento - - id: MLC_4ez - es-ES: Secuencia iniciada - - id: MLC_MQ - es-ES: Secuencia finalizada - - id: MLC_3xD - es-ES: Etapa actual - - id: MLC_3bi - es-ES: Texto etapa - - id: MLC_QX - es-ES: Etapa 100 - - id: MLC_3iG - es-ES: Etapa 110 - - id: MLC_46h - es-ES: Etapa 120 - - id: MLC_39V - es-ES: Etapa 140 - - id: MLC_4cY - es-ES: Etapa 150 - - id: MLC_39P - es-ES: Etapa 160 - - id: MLC_4Cy - es-ES: Etapa 170 - - id: MLC_3X3 - es-ES: Etapa 180 - - id: MLC_55c - es-ES: Etapa 190 - - id: MLC_bF - es-ES: Etapa 999 - - id: MLC_37m - es-ES: Tiempo de etapa - - id: MLC_53n - es-ES: Activar - - id: MLC_4hS - es-ES: Reset - - id: MLC_4Pm - es-ES: Actual - - id: MLC_3q5 - es-ES: Set point - - id: MLC_sc - es-ES: Restante - - id: MLC_V5 - es-ES: Pausa - - id: MLC_389 - es-ES: Continuar - - id: MLC_VN - es-ES: '@Change log' - - id: MLC_43H - es-ES: =============== Auxiliares - - id: MLC_4qT - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_3DY - es-ES: =============== Estado secuencia - - id: MLC_56C - es-ES: Pausa - - id: MLC_4ph - es-ES: Paro de secuencia - - id: MLC_4Jy - es-ES: Texto Etapa - - id: MLC_3kn - es-ES: =============== Secuencia - - id: MLC_4f9 - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3Vq - es-ES: Etapa 140 - Fin preparacion - - id: MLC_34M - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_4Py - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_58k - es-ES: Contador tiempo - - id: MLC_Qr - es-ES: Temporizadores - - id: MLC_3Ns - es-ES: =============== Salidas - - id: MLC_4aM - es-ES: Orden calentar / enfriar - - id: MLC_VB - es-ES: Agitador tanque - Orden de marcha - - id: MLC_4wQ - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_45A - es-ES: Secuencia iniciada - - id: MLC_3mk - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7dcl deleted file mode 100644 index 060aaeb..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7dcl +++ /dev/null @@ -1,1057 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15180"; - S7_BlockTitle := "MLC_4Tc"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15180_ZC_FERM_AD_PROD" - VAR_INPUT - { S7_MLC := "MLC_4MW" } - NombreSecuencia : String := 'ADICION PRODUCTO'; - { S7_MLC := "MLC_sE" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_56c" } - Ack : Bool; - { S7_MLC := "MLC_3GF" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_4W5" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_43f" } - EnEtapa : Bool; - { S7_MLC := "MLC_4AC" } - OrdenPausa : Bool; - { S7_MLC := "MLC_56k" } - OrdenSaltarEtapa : Bool; - { S7_MLC := "MLC_YC" } - ConfirmacionPulsador : Bool; - { S7_MLC := "MLC_44R" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_4p9" } - TipoEtapa := (), - { S7_MLC := "MLC_iA" } - P_Real_1 := (), - { S7_MLC := "MLC_3bE" } - P_Real_2 := (), - { S7_MLC := "MLC_53v" } - P_Real_3 := (), - { S7_MLC := "MLC_YF" } - P_Real_4 := (), - { S7_MLC := "MLC_3m5" } - P_Real_5 := (), - { S7_MLC := "MLC_4pg" } - P_Real_6 := (), - { S7_MLC := "MLC_3xQ" } - P_Real_7 := (), - { S7_MLC := "MLC_4Ui" } - P_Real_8 := (), - { S7_MLC := "MLC_4Ct" } - P_Real_9 := (), - { S7_MLC := "MLC_yZ" } - P_Real_10 := (), - { S7_MLC := "MLC_n5" } - P_Real_11 := (), - { S7_MLC := "MLC_4Qv" } - P_Real_12 := (), - { S7_MLC := "MLC_qQ" } - P_Real_13 := (), - { S7_MLC := "MLC_Uw" } - P_Real_14 := (), - { S7_MLC := "MLC_4YD" } - P_Real_15 := (), - { S7_MLC := "MLC_4Qn" } - P_Real_16 := (), - { S7_MLC := "MLC_3pP" } - P_Real_17 := (), - { S7_MLC := "MLC_42j" } - P_Int_1 := (), - { S7_MLC := "MLC_3Ca" } - P_Int_2 := (), - { S7_MLC := "MLC_3aT" } - P_Int_3 := (), - { S7_MLC := "MLC_4Mj" } - P_Int_4 := (), - { S7_MLC := "MLC_ud" } - P_Int_5 := (), - { S7_MLC := "MLC_Z9" } - P_Int_6 := (), - { S7_MLC := "MLC_3yM" } - P_Int_7 := (), - { S7_MLC := "MLC_PP" } - P_Int_8 := (), - { S7_MLC := "MLC_jn" } - P_Int_9 := (), - { S7_MLC := "MLC_y3" } - P_Int_10 := (), - { S7_MLC := "MLC_3wc" } - P_Int_11 := (), - { S7_MLC := "MLC_4VY" } - P_Int_12 := (), - { S7_MLC := "MLC_VM" } - P_Int_13 := (), - { S7_MLC := "MLC_44G" } - P_Int_14 := (), - { S7_MLC := "MLC_R6" } - P_Int_15 := (), - { S7_MLC := "MLC_QM" } - P_String_1 := (), - { S7_MLC := "MLC_tv" } - P_String_2 := (), - { S7_MLC := "MLC_47k" } - P_String_3 := (), - { S7_MLC := "MLC_sq" } - P_String_4 := (), - { S7_MLC := "MLC_3yk" } - P_String_5 := (), - { S7_MLC := "MLC_g5" } - P_String_6 := (), - { S7_MLC := "MLC_4rN" } - P_String_7 := (), - { S7_MLC := "MLC_4mg" } - P_String_8 := (), - { S7_MLC := "MLC_3MS" } - P_String_9 := (), - { S7_MLC := "MLC_3GJ" } - P_String_10 := () - ); - AdicionProductoConfirmacion : Array[0..9] of Bool; - AdicionProductoDosificado : Array[0..9] of Real; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_4vf" } - PermisoPulsador : Bool; - { S7_MLC := "MLC_4J2" } - MarchaAgitador : Bool; - { S7_MLC := "MLC_4AN" } - VelocidadAgitador : Real; - { S7_MLC := "MLC_4GH" } - ProductoActual : Int; - { S7_MLC := "MLC_529" } - AdicionProductoPermiso : Array[0..9] of Bool; - { S7_MLC := "MLC_gC" } - AdicionProductoCalculado : Array[0..9] of Real; - Despresurizar : Bool; - { S7_MLC := "MLC_h6" } - PermisoSaltarEtapa : Bool; - { S7_MLC := "MLC_Pj" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_fa" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4DD" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4RU" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - 3(()), - { S7_MLC := "MLC_3q8" } - (), - { S7_MLC := "MLC_4h9" } - (), - { S7_MLC := "MLC_Qe" } - (), - 4(()), - { S7_MLC := "MLC_3iE" } - (), - { S7_MLC := "MLC_3X8" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_uS" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_3Rs" } - Activar : Bool; - { S7_MLC := "MLC_4Qq" } - Reset : Bool; - { S7_MLC := "MLC_4yy" } - Actual : Int; - { S7_MLC := "MLC_YT" } - SP : Int; - { S7_MLC := "MLC_4m7" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3df" } - (), - { S7_MLC := "MLC_3Nb" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - { S7_MLC := "MLC_u5" } - s_KilosInicialTanque : Real := 0.0; - END_VAR - VAR RETAIN - { - S7_MLC := "MLC_43i"; - S7_Setpoint := "True" - } - s_ProductoActual : Int := 0; - END_VAR - VAR - { S7_MLC := "MLC_4Vs" } - s_NumeroCiclosAgitador : Int; - END_VAR - VAR_TEMP - for_i : Int; - t_ProductoActual_Kg : Real; - t_CalcularDosificacion : Bool; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3st" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15180_ZC_FERM_AD_PROD - Descripcion: Bloque de gestión de fase adicion de producto - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 08.07.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3PZ" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3jX" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Wz" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_525" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - 120: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ESPERA INICIO'); - - 130: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ADICION DE PRODUCTO ', IN3 := "FC15001_ZC_INT_TO_STRING"(#s_ProductoActual+1)); - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - COMPROBACION INGREDIENTES'); - - 150: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Mw" - } - NETWORK - - // ================================================================ - // Limite producto actual - IF #s_ProductoActual < 0 THEN - #s_ProductoActual := 0; - END_IF; - IF #s_ProductoActual > 9 THEN - #s_ProductoActual := 9; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3PR" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_Ui" - } - NETWORK - CASE #s_ProductoActual OF - - 0: - #t_ProductoActual_Kg := #Parametros.P_Real_8; - 1: - #t_ProductoActual_Kg := #Parametros.P_Real_9; - 2: - #t_ProductoActual_Kg := #Parametros.P_Real_10; - 3: - #t_ProductoActual_Kg := #Parametros.P_Real_11; - 4: - #t_ProductoActual_Kg := #Parametros.P_Real_12; - 5: - #t_ProductoActual_Kg := #Parametros.P_Real_13; - 6: - #t_ProductoActual_Kg := #Parametros.P_Real_14; - 7: - #t_ProductoActual_Kg := #Parametros.P_Real_15; - 8: - #t_ProductoActual_Kg := #Parametros.P_Real_16; - 9: - #t_ProductoActual_Kg := #Parametros.P_Real_17; - - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3M9" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4BX" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 120, - out1 => #s_EtapaActual - ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Move( - in := 0, - out1 => #s_ProductoActual - ) - END_RUNG - RUNG wire#w1 - Move( - in := 0, - out1 => #s_NumeroCiclosAgitador - ) - END_RUNG - RUNG wire#w1 - Coil( #t_CalcularDosificacion ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Le" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - wire#w1 - P_Trig( #s_Pulsos[2] ) - Move( - in := 5, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #ConfirmacionPulsador ) - Move( - in := 130, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5Bj" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := 2, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Real" } - EQ_Contact( - in1 := #t_ProductoActual_Kg, - in2 := 0.0 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_ProductoActual ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Contact( #AdicionProductoConfirmacion[#s_ProductoActual] ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - Move( - in := 160, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_43Q" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - { S7_Templates := "DestType := Int" } - Inc( #s_ProductoActual ) - Move( - in := 130, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_ProductoActual, - in2 := 9 - ) - Move( - in := 150, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_48r" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - wire#w1 - P_Trig( #s_Pulsos[5] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroCiclosAgitador, - in2 := #Parametros.P_Int_1 - ) - wire#w2 - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Contact( #OrdenSaltarEtapa ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_gr" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[10] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4LS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_594" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3Zi" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF:=#s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3zF" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_jt" - } - NETWORK - - IF #t_CalcularDosificacion THEN - #s_KilosInicialTanque := #LT_Tanque; - #AdicionProductoCalculado[0] := (#s_KilosInicialTanque * #Parametros.P_Real_8) / 1000.0; - #AdicionProductoCalculado[1] := (#s_KilosInicialTanque * #Parametros.P_Real_9) / 1000.0; - #AdicionProductoCalculado[2] := (#s_KilosInicialTanque * #Parametros.P_Real_10) / 1000.0; - #AdicionProductoCalculado[3] := (#s_KilosInicialTanque * #Parametros.P_Real_11) / 1000.0; - #AdicionProductoCalculado[4] := (#s_KilosInicialTanque * #Parametros.P_Real_12) / 1000.0; - #AdicionProductoCalculado[5] := (#s_KilosInicialTanque * #Parametros.P_Real_13) / 1000.0; - #AdicionProductoCalculado[6] := (#s_KilosInicialTanque * #Parametros.P_Real_14) / 1000.0; - #AdicionProductoCalculado[7] := (#s_KilosInicialTanque * #Parametros.P_Real_15) / 1000.0; - #AdicionProductoCalculado[8] := (#s_KilosInicialTanque * #Parametros.P_Real_16) / 1000.0; - #AdicionProductoCalculado[9] := (#s_KilosInicialTanque * #Parametros.P_Real_17) / 1000.0; - - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3TC" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_V ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_2 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_3 - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Mw" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - I_Contact( #s_FF[1].Estado_Flip ) - P_Trig( #s_Pulsos[11] ) - Contact( #s_FF[1].Orden_Activar ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroCiclosAgitador ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3bS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Yt" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 120 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Coil( #PermisoPulsador ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3RK" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - Coil( #Despresurizar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_LS" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_M ) - Contact( #s_FF[1].Estado_Flip ) - Coil( #MarchaAgitador ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3hH" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_1; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_2; - #t_x1 := #Parametros.P_Real_3; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_4; - #t_y1 := #Parametros.P_Real_5; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Mk" - } - NETWORK - RUNG wire#powerrail - Move( - in := #s_ProductoActual, - out1 => #ProductoActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_365" - } - NETWORK - - // ========================================================================================= - // Permiso confirmar productos - #AdicionProductoPermiso[0] := (#s_ProductoActual = 0) AND (#AdicionProductoDosificado[0] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[1] := (#s_ProductoActual = 1) AND (#AdicionProductoDosificado[1] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[2] := (#s_ProductoActual = 2) AND (#AdicionProductoDosificado[2] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[3] := (#s_ProductoActual = 3) AND (#AdicionProductoDosificado[3] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[4] := (#s_ProductoActual = 4) AND (#AdicionProductoDosificado[4] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[5] := (#s_ProductoActual = 5) AND (#AdicionProductoDosificado[5] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[6] := (#s_ProductoActual = 6) AND (#AdicionProductoDosificado[6] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[7] := (#s_ProductoActual = 7) AND (#AdicionProductoDosificado[7] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[8] := (#s_ProductoActual = 8) AND (#AdicionProductoDosificado[8] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - #AdicionProductoPermiso[9] := (#s_ProductoActual = 9) AND (#AdicionProductoDosificado[9] > 0.0) AND (#s_EtapaActual >= 130) AND (#s_EtapaActual <= 130); - - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4RE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 130 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - Coil( #PermisoSaltarEtapa ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Eu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4rA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7res deleted file mode 100644 index 63a90b3..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15180_ZC_FERM_AD_PROD.s7res +++ /dev/null @@ -1,227 +0,0 @@ -MultiLingualTexts: - - id: MLC_4Tc - es-ES: FB15175_ZC_COCINA_AD_PROD - - id: MLC_4MW - es-ES: Nombre de la secuencia - - id: MLC_sE - es-ES: Pulso 1 segundo - - id: MLC_56c - es-ES: Acuse general - - id: MLC_3GF - es-ES: Orden marcha secuencia - - id: MLC_4W5 - es-ES: Estado proceso principal en marcha - - id: MLC_43f - es-ES: En etapa - - id: MLC_4AC - es-ES: Orden pausa adicional - - id: MLC_56k - es-ES: Pulsador saltar etapa - - id: MLC_YC - es-ES: Confirmacion pulsador iniciar dosificacion - - id: MLC_44R - es-ES: Nivel tanque - - id: MLC_4p9 - es-ES: . - - id: MLC_iA - es-ES: AgitadorVelocidadFija - - id: MLC_3bE - es-ES: AgitadorVolumenMinControl - - id: MLC_53v - es-ES: AgitadorVolumenMaxControl - - id: MLC_YF - es-ES: AgitadorVelocidadMin - - id: MLC_3m5 - es-ES: AgitadorVelocidadMax - - id: MLC_4pg - es-ES: Reserva - - id: MLC_3xQ - es-ES: Reserva - - id: MLC_4Ui - es-ES: kgProd1 - - id: MLC_4Ct - es-ES: kgProd2 - - id: MLC_yZ - es-ES: kgProd3 - - id: MLC_n5 - es-ES: kgProd4 - - id: MLC_4Qv - es-ES: kgProd5 - - id: MLC_qQ - es-ES: kgProd6 - - id: MLC_Uw - es-ES: kgProd7 - - id: MLC_4YD - es-ES: kgProd8 - - id: MLC_4Qn - es-ES: kgProd9 - - id: MLC_3pP - es-ES: kgProd10 - - id: MLC_42j - es-ES: AgitadorNumeroCiclos - - id: MLC_3Ca - es-ES: Reserva - - id: MLC_3aT - es-ES: AgitadorTiempoOFF - - id: MLC_4Mj - es-ES: AgitadorTiempoON - - id: MLC_ud - es-ES: TipoAgitacionVelocidad - - id: MLC_Z9 - es-ES: Reserva - - id: MLC_3yM - es-ES: Reserva - - id: MLC_PP - es-ES: Reserva - - id: MLC_jn - es-ES: Reserva - - id: MLC_y3 - es-ES: Reserva - - id: MLC_3wc - es-ES: Reserva - - id: MLC_4VY - es-ES: Reserva - - id: MLC_VM - es-ES: Reserva - - id: MLC_44G - es-ES: Reserva - - id: MLC_R6 - es-ES: Reserva - - id: MLC_QM - es-ES: NombreProd1 - - id: MLC_tv - es-ES: NombreProd2 - - id: MLC_47k - es-ES: NombreProd3 - - id: MLC_sq - es-ES: NombreProd4 - - id: MLC_3yk - es-ES: NombreProd5 - - id: MLC_g5 - es-ES: NombreProd6 - - id: MLC_4rN - es-ES: NombreProd7 - - id: MLC_4mg - es-ES: NombreProd8 - - id: MLC_3MS - es-ES: NombreProd9 - - id: MLC_3GJ - es-ES: NombreProd10 - - id: MLC_4vf - es-ES: Permiso pulsador iniciar dosificacion - - id: MLC_4J2 - es-ES: Marcha agitador - - id: MLC_4AN - es-ES: Velocidad agitador - - id: MLC_4GH - es-ES: Producto actual - - id: MLC_529 - es-ES: Permiso adicion de producto - - id: MLC_gC - es-ES: Permiso adicion de producto - - id: MLC_h6 - es-ES: Permiso salto etapa - - id: MLC_Pj - es-ES: Secuencia iniciada - - id: MLC_fa - es-ES: Secuencia finalizada - - id: MLC_4DD - es-ES: Etapa actual - - id: MLC_4RU - es-ES: Texto etapa - - id: MLC_3q8 - es-ES: Etapa 130 - - id: MLC_4h9 - es-ES: Etapa 140 - - id: MLC_Qe - es-ES: Etapa 150 - - id: MLC_3iE - es-ES: Etapa 999 - - id: MLC_3X8 - es-ES: Incrementar numero de ciclos - - id: MLC_uS - es-ES: Tiempo de etapa - - id: MLC_3Rs - es-ES: Activar - - id: MLC_4Qq - es-ES: Reset - - id: MLC_4yy - es-ES: Actual - - id: MLC_YT - es-ES: Set point - - id: MLC_4m7 - es-ES: Restante - - id: MLC_3df - es-ES: Pausa - - id: MLC_3Nb - es-ES: Continuar - - id: MLC_u5 - es-ES: Peso inicial del tanque para calculo de dosificaciones - - id: MLC_43i - es-ES: Producto actual - - id: MLC_4Vs - es-ES: Numero de ciclos de agitador - - id: MLC_3st - es-ES: '@Change log' - - id: MLC_3PZ - es-ES: =============== Estado secuencia - - id: MLC_3jX - es-ES: Pausa - - id: MLC_3Wz - es-ES: Paro de secuencia - - id: MLC_525 - es-ES: Texto Etapa - - id: MLC_3Mw - es-ES: Limite producto actual - - id: MLC_3PR - es-ES: =============== Auxiliares - - id: MLC_Ui - es-ES: Datos ingrediente actual - - id: MLC_3M9 - es-ES: =============== Secuencia - - id: MLC_4BX - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_Le - es-ES: Etapa 120 - Espera inicio dosificacion - - id: MLC_5Bj - es-ES: Etapa 130 - Adicion de producto - - id: MLC_43Q - es-ES: Etapa 140 - Comprobacion ingredientes - - id: MLC_48r - es-ES: Etapa 150 - Homogenizacion - - id: MLC_gr - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_4LS - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_594 - es-ES: Contador tiempo - - id: MLC_3Zi - es-ES: Temporizadores - - id: MLC_3zF - es-ES: =============== Auxiliares - - id: MLC_jt - es-ES: Calculo cantidad a dosificar - - id: MLC_3TC - es-ES: Gestion Flip Flop agitador - - id: MLC_4Mw - es-ES: Gestion Numero de cliclos - - id: MLC_3bS - es-ES: =============== Salidas - - id: MLC_Yt - es-ES: Permiso pulsador iniciar dosificacion - - id: MLC_3RK - es-ES: Despresurizar - - id: MLC_LS - es-ES: Orden agitador - - id: MLC_3hH - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_4Mk - es-ES: Ingrediente actual - - id: MLC_365 - es-ES: Permiso confirmar productos - - id: MLC_4RE - es-ES: Permiso salto etapa - - id: MLC_3Eu - es-ES: Secuencia iniciada - - id: MLC_4rA - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7dcl deleted file mode 100644 index 85e5037..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7dcl +++ /dev/null @@ -1,814 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15181"; - S7_BlockTitle := "MLC_f4"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15181_ZC_FERM_HOMO" - VAR_INPUT - { S7_MLC := "MLC_4JF" } - NombreSecuencia : String := 'HOMOGENIZAR'; - { S7_MLC := "MLC_59i" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4hS" } - Ack : Bool; - { S7_MLC := "MLC_vC" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_XD" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3fn" } - EnEtapa : Bool; - { S7_MLC := "MLC_3q6" } - OrdenPausa : Bool; - EstadoBocaHombre : Bool; - { S7_MLC := "MLC_g4" } - TT_Tanque : Real; - { S7_MLC := "MLC_3tc" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_3Ma" } - TipoEtapa := (), - { S7_MLC := "MLC_4qZ" } - P_Real_1 := (), - { S7_MLC := "MLC_46F" } - P_Real_2 := (), - { S7_MLC := "MLC_3xT" } - P_Real_3 := (), - { S7_MLC := "MLC_3fL" } - P_Real_4 := (), - { S7_MLC := "MLC_nv" } - P_Real_5 := (), - { S7_MLC := "MLC_tR" } - P_Real_6 := (), - { S7_MLC := "MLC_4U4" } - P_Real_7 := (), - { S7_MLC := "MLC_4UM" } - P_Real_8 := (), - { S7_MLC := "MLC_53G" } - P_Real_9 := (), - { S7_MLC := "MLC_3Fr" } - P_Real_10 := (), - { S7_MLC := "MLC_ri" } - P_Real_11 := (), - { S7_MLC := "MLC_zJ" } - P_Real_12 := (), - { S7_MLC := "MLC_4Qm" } - P_Real_13 := (), - { S7_MLC := "MLC_U5" } - P_Real_14 := (), - { S7_MLC := "MLC_3Tm" } - P_Real_15 := (), - { S7_MLC := "MLC_3mg" } - P_Real_16 := (), - { S7_MLC := "MLC_58A" } - P_Real_17 := (), - { S7_MLC := "MLC_uc" } - P_Int_1 := (), - { S7_MLC := "MLC_3AT" } - P_Int_2 := (), - { S7_MLC := "MLC_4je" } - P_Int_3 := (), - { S7_MLC := "MLC_4YP" } - P_Int_4 := (), - { S7_MLC := "MLC_49H" } - P_Int_5 := (), - { S7_MLC := "MLC_3C2" } - P_Int_6 := (), - { S7_MLC := "MLC_yK" } - P_Int_7 := (), - { S7_MLC := "MLC_4Rx" } - P_Int_8 := (), - { S7_MLC := "MLC_eh" } - P_Int_9 := (), - { S7_MLC := "MLC_4Tm" } - P_Int_10 := (), - { S7_MLC := "MLC_4VJ" } - P_Int_11 := (), - { S7_MLC := "MLC_54m" } - P_Int_12 := (), - { S7_MLC := "MLC_3tX" } - P_Int_13 := (), - { S7_MLC := "MLC_38Y" } - P_Int_14 := (), - { S7_MLC := "MLC_4uC" } - P_Int_15 := (), - { S7_MLC := "MLC_4s6" } - P_String_1 := (), - { S7_MLC := "MLC_yT" } - P_String_2 := (), - { S7_MLC := "MLC_3d7" } - P_String_3 := (), - { S7_MLC := "MLC_5BY" } - P_String_4 := (), - { S7_MLC := "MLC_3UX" } - P_String_5 := (), - { S7_MLC := "MLC_36f" } - P_String_6 := (), - { S7_MLC := "MLC_4sv" } - P_String_7 := (), - { S7_MLC := "MLC_335" } - P_String_8 := (), - { S7_MLC := "MLC_4QK" } - P_String_9 := (), - { S7_MLC := "MLC_3Lq" } - P_String_10 := () - ); - END_VAR - VAR_OUTPUT - MarchaAgitador : Bool; - VelocidadAgitador : Real; - { S7_MLC := "MLC_48T" } - OrdenCalentar : Bool; - { S7_MLC := "MLC_3GV" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_4bD" } - SP_CalEnf : Real; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_VF" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_4E5" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3rN" } - s_EtapaActual : Int; - { S7_MLC := "MLC_4ZU" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_4hV" } - (), - { S7_MLC := "MLC_4yf" } - (), - { S7_MLC := "MLC_3WW" } - (), - { S7_MLC := "MLC_RY" } - (), - { S7_MLC := "MLC_4zV" } - (), - { S7_MLC := "MLC_4rE" } - (), - { S7_MLC := "MLC_VJ" } - (), - { S7_MLC := "MLC_3ad" } - (), - { S7_MLC := "MLC_4EE" } - (), - 6(()), - { S7_MLC := "MLC_4HZ" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_w2" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_3Le" } - Activar : Bool; - { S7_MLC := "MLC_3H7" } - Reset : Bool; - { S7_MLC := "MLC_45E" } - Actual : Int; - { S7_MLC := "MLC_589" } - SP : Int; - { S7_MLC := "MLC_4SA" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_cd" } - (), - { S7_MLC := "MLC_3iL" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenCalentar : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenEnfriar : Bool; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Bd" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15181_ZC_FERM_HOMO - Descripcion: Bloque de gestión de fase homogenizar - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 08.07.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4KF" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4JJ" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5A4" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3ra" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3PP" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4Jc" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - HOMOGENIZACION EN TANQUE'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_42S" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Hs" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3hP" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3LE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_33A" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3E6" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3K2" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Rw" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_U6" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_15, - in2 := 1 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_M ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 0 - ) - wire#w2 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w3 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w2 - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 1 - ) - wire#w4 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w5 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w5 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w4 - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenCalentar ) - Coil( #OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenEnfriar ) - Coil( #OrdenEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - R_Coil( #s_OrdenEnfriar ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3cC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - I_Contact( #s_Pausa_M ) - Contact( #EstadoBocaHombre ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_2 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_3 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 0 - ) - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 1 - ) - wire#w2 - Coil( #MarchaAgitador ) - END_RUNG - RUNG wire#w1 - Contact( #s_FF[1].Estado_Flip ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_5BJ" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_1; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_2; - #t_x1 := #Parametros.P_Real_3; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_4; - #t_y1 := #Parametros.P_Real_5; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4c9" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Tb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7res deleted file mode 100644 index e3dfb45..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15181_ZC_FERM_HOMO.s7res +++ /dev/null @@ -1,197 +0,0 @@ -MultiLingualTexts: - - id: MLC_f4 - es-ES: FB15181_ZC_FERM_HOMO - - id: MLC_4JF - es-ES: Nombre de la secuencia - - id: MLC_59i - es-ES: Pulso 1 segundo - - id: MLC_4hS - es-ES: Acuse general - - id: MLC_vC - es-ES: Orden marcha secuencia - - id: MLC_XD - es-ES: Estado proceso principal en marcha - - id: MLC_3fn - es-ES: En etapa - - id: MLC_3q6 - es-ES: Orden pausa adicional - - id: MLC_g4 - es-ES: Temperatura tanque - - id: MLC_3tc - es-ES: Nivel tanque - - id: MLC_3Ma - es-ES: . - - id: MLC_4qZ - es-ES: AgitadorVelocidadFija - - id: MLC_46F - es-ES: AgitadorVolumenMinControl - - id: MLC_3xT - es-ES: AgitadorVolumenMaxControl - - id: MLC_3fL - es-ES: AgitadorVelocidadMin - - id: MLC_nv - es-ES: AgitadorVelocidadMax - - id: MLC_tR - es-ES: SPTemperatura - - id: MLC_4U4 - es-ES: HisteresisTemp - - id: MLC_4UM - es-ES: Reserva - - id: MLC_53G - es-ES: Reserva - - id: MLC_3Fr - es-ES: Reserva - - id: MLC_ri - es-ES: Reserva - - id: MLC_zJ - es-ES: Reserva - - id: MLC_4Qm - es-ES: Reserva - - id: MLC_U5 - es-ES: Reserva - - id: MLC_3Tm - es-ES: Reserva - - id: MLC_3mg - es-ES: Reserva - - id: MLC_58A - es-ES: Reserva - - id: MLC_uc - es-ES: TiempoHomo - - id: MLC_3AT - es-ES: Reserva - - id: MLC_4je - es-ES: AgitadorTiempoOFF - - id: MLC_4YP - es-ES: AgitadorTiempoON - - id: MLC_49H - es-ES: TipoAgitacionVelocidad - - id: MLC_3C2 - es-ES: TipoAgitacionTiempo - - id: MLC_yK - es-ES: TipoControlTemperatura - - id: MLC_4Rx - es-ES: Reserva - - id: MLC_eh - es-ES: Reserva - - id: MLC_4Tm - es-ES: Reserva - - id: MLC_4VJ - es-ES: Reserva - - id: MLC_54m - es-ES: Reserva - - id: MLC_3tX - es-ES: Reserva - - id: MLC_38Y - es-ES: Reserva - - id: MLC_4uC - es-ES: Reserva - - id: MLC_4s6 - es-ES: Reserva - - id: MLC_yT - es-ES: Reserva - - id: MLC_3d7 - es-ES: Reserva - - id: MLC_5BY - es-ES: Reserva - - id: MLC_3UX - es-ES: Reserva - - id: MLC_36f - es-ES: Reserva - - id: MLC_4sv - es-ES: Reserva - - id: MLC_335 - es-ES: Reserva - - id: MLC_4QK - es-ES: Reserva - - id: MLC_3Lq - es-ES: Reserva - - id: MLC_48T - es-ES: Orden calentar - - id: MLC_3GV - es-ES: Orden enfriar - - id: MLC_4bD - es-ES: Set point calentamiento/enfriamiento - - id: MLC_VF - es-ES: Secuencia iniciada - - id: MLC_4E5 - es-ES: Secuencia finalizada - - id: MLC_3rN - es-ES: Etapa actual - - id: MLC_4ZU - es-ES: Texto etapa - - id: MLC_4hV - es-ES: Etapa 100 - - id: MLC_4yf - es-ES: Etapa 110 - - id: MLC_3WW - es-ES: Etapa 120 - - id: MLC_RY - es-ES: Etapa 140 - - id: MLC_4zV - es-ES: Etapa 150 - - id: MLC_4rE - es-ES: Etapa 160 - - id: MLC_VJ - es-ES: Etapa 170 - - id: MLC_3ad - es-ES: Etapa 180 - - id: MLC_4EE - es-ES: Etapa 190 - - id: MLC_4HZ - es-ES: Etapa 999 - - id: MLC_w2 - es-ES: Tiempo de etapa - - id: MLC_3Le - es-ES: Activar - - id: MLC_3H7 - es-ES: Reset - - id: MLC_45E - es-ES: Actual - - id: MLC_589 - es-ES: Set point - - id: MLC_4SA - es-ES: Restante - - id: MLC_cd - es-ES: Pausa - - id: MLC_3iL - es-ES: Continuar - - id: MLC_4Bd - es-ES: '@Change log' - - id: MLC_4KF - es-ES: =============== Auxiliares - - id: MLC_4JJ - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_5A4 - es-ES: =============== Estado secuencia - - id: MLC_3ra - es-ES: Pausa - - id: MLC_3PP - es-ES: Paro de secuencia - - id: MLC_4Jc - es-ES: Texto Etapa - - id: MLC_42S - es-ES: =============== Secuencia - - id: MLC_3Hs - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3hP - es-ES: Etapa 140 - Homogenizacion en tanque - - id: MLC_3LE - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_33A - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_3E6 - es-ES: Contador tiempo - - id: MLC_3K2 - es-ES: Temporizadores - - id: MLC_4Rw - es-ES: =============== Salidas - - id: MLC_U6 - es-ES: Orden calentar / enfriar - - id: MLC_3cC - es-ES: Agitador tanque - Orden de marcha - - id: MLC_5BJ - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_4c9 - es-ES: Secuencia iniciada - - id: MLC_3Tb - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7dcl deleted file mode 100644 index 1f93442..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7dcl +++ /dev/null @@ -1,675 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15182"; - S7_BlockTitle := "MLC_TA"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15182_ZC_FERM_ESPERA_PH" - VAR_INPUT - { S7_MLC := "MLC_d3" } - NombreSecuencia : String := 'HOMOGENIZAR'; - { S7_MLC := "MLC_3A6" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4MM" } - Ack : Bool; - { S7_MLC := "MLC_3EG" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_TF" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3zG" } - EnEtapa : Bool; - { S7_MLC := "MLC_fD" } - OrdenPausa : Bool; - { S7_MLC := "MLC_an" } - ConfirmacionPulsador : Bool; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_3Pn" } - TipoEtapa := (), - { S7_MLC := "MLC_4bS" } - P_Real_1 := (), - { S7_MLC := "MLC_4RZ" } - P_Real_2 := (), - { S7_MLC := "MLC_3vG" } - P_Real_3 := (), - { S7_MLC := "MLC_jt" } - P_Real_4 := (), - { S7_MLC := "MLC_3EH" } - P_Real_5 := (), - { S7_MLC := "MLC_3MQ" } - P_Real_6 := (), - { S7_MLC := "MLC_3KM" } - P_Real_7 := (), - { S7_MLC := "MLC_rx" } - P_Real_8 := (), - { S7_MLC := "MLC_3SN" } - P_Real_9 := (), - { S7_MLC := "MLC_ge" } - P_Real_10 := (), - { S7_MLC := "MLC_36D" } - P_Real_11 := (), - { S7_MLC := "MLC_59q" } - P_Real_12 := (), - { S7_MLC := "MLC_384" } - P_Real_13 := (), - { S7_MLC := "MLC_3AV" } - P_Real_14 := (), - { S7_MLC := "MLC_3N4" } - P_Real_15 := (), - { S7_MLC := "MLC_4zN" } - P_Real_16 := (), - { S7_MLC := "MLC_mW" } - P_Real_17 := (), - { S7_MLC := "MLC_3Pe" } - P_Int_1 := (), - { S7_MLC := "MLC_4WL" } - P_Int_2 := (), - { S7_MLC := "MLC_4KE" } - P_Int_3 := (), - { S7_MLC := "MLC_47f" } - P_Int_4 := (), - { S7_MLC := "MLC_4JS" } - P_Int_5 := (), - { S7_MLC := "MLC_4Xa" } - P_Int_6 := (), - { S7_MLC := "MLC_wj" } - P_Int_7 := (), - { S7_MLC := "MLC_3sg" } - P_Int_8 := (), - { S7_MLC := "MLC_3M5" } - P_Int_9 := (), - { S7_MLC := "MLC_4QT" } - P_Int_10 := (), - { S7_MLC := "MLC_53j" } - P_Int_11 := (), - { S7_MLC := "MLC_47x" } - P_Int_12 := (), - { S7_MLC := "MLC_3Ra" } - P_Int_13 := (), - { S7_MLC := "MLC_4Q2" } - P_Int_14 := (), - { S7_MLC := "MLC_TW" } - P_Int_15 := (), - { S7_MLC := "MLC_pu" } - P_String_1 := (), - { S7_MLC := "MLC_3g8" } - P_String_2 := (), - { S7_MLC := "MLC_34N" } - P_String_3 := (), - { S7_MLC := "MLC_3SC" } - P_String_4 := (), - { S7_MLC := "MLC_4nh" } - P_String_5 := (), - { S7_MLC := "MLC_52B" } - P_String_6 := (), - { S7_MLC := "MLC_48Z" } - P_String_7 := (), - { S7_MLC := "MLC_xg" } - P_String_8 := (), - { S7_MLC := "MLC_4Km" } - P_String_9 := (), - { S7_MLC := "MLC_32s" } - P_String_10 := () - ); - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3Eu" } - PermisoPulsador : Bool; - { S7_MLC := "MLC_3Kk" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_3kC" } - FinSecuencia : Bool; - VisMinutosRestantes : Bool; - MinutosRestantes : Int; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_43X" } - s_EtapaActual : Int; - { S7_MLC := "MLC_3Um" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_3UZ" } - (), - { S7_MLC := "MLC_4qn" } - (), - { S7_MLC := "MLC_vn" } - (), - { S7_MLC := "MLC_4HK" } - (), - { S7_MLC := "MLC_VN" } - (), - { S7_MLC := "MLC_3rJ" } - (), - { S7_MLC := "MLC_4WJ" } - (), - { S7_MLC := "MLC_xa" } - (), - { S7_MLC := "MLC_4ig" } - (), - 6(()), - { S7_MLC := "MLC_3wB" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_3XQ" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_ZW" } - Activar : Bool; - { S7_MLC := "MLC_52z" } - Reset : Bool; - { S7_MLC := "MLC_3zF" } - Actual : Int; - { S7_MLC := "MLC_SZ" } - SP : Int; - { S7_MLC := "MLC_3Yy" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_4mT" } - (), - { S7_MLC := "MLC_4Je" } - () - ]; - END_VAR - VAR RETAIN - s_ContadorTiempo : _.UDT_ZC_CONTADOR_MINUTOS; - END_VAR - VAR_TEMP - for_i : Int; - t_MinutosInt : Int; - t_MinutosRestantes : Int; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4qC" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15182_ZC_FERM_ESPERA_PH - Descripcion: Bloque de gestión de fase homogenizar - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 08.07.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3WU" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_37Y" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_SP" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_53y" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_UA" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - REPOSO'); - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - ESPERA'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3DX" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Bb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4ic" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - Contact( #ConfirmacionPulsador ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_wt" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_cr" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_56Y" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3JN" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_45j" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_55m" - } - NETWORK - RUNG wire#powerrail - "FC15027_ZC_CONTADOR_MINUTOS"( - Pulso1seg := #Pulso1Seg, - Iniciar := wire#w1, - Reset := wire#w2, - Contador := #s_ContadorTiempo - ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - END_RUNG wire#w1 - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - END_RUNG wire#w2 - RUNG wire#powerrail - { - S7_Templates := "[SrcType := UDInt, DestType := Int]" - } - Convert( - in := #s_ContadorTiempo.Minuto, - out => #t_MinutosInt - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_49V" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3UA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #t_MinutosInt, - in2 := #Parametros.P_Int_1 - ) - Coil( #PermisoPulsador ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3wZ" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - Sub( - in1 := #Parametros.P_Int_1, - in2 := #t_MinutosInt, - out => #t_MinutosRestantes - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #t_MinutosRestantes, - in2 := 0 - ) - Move( - in := 0, - out1 => #t_MinutosRestantes - ) - END_RUNG - RUNG wire#w1 - Move( - in := #t_MinutosRestantes, - out1 => #MinutosRestantes - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #t_MinutosRestantes, - in2 := 0 - ) - Coil( #VisMinutosRestantes ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Ld" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3VC" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7res deleted file mode 100644 index 08355ad..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15182_ZC_FERM_ESPERA_PH.s7res +++ /dev/null @@ -1,191 +0,0 @@ -MultiLingualTexts: - - id: MLC_TA - es-ES: FB15182_ZC_FERM_ESPERA_PH - - id: MLC_d3 - es-ES: Nombre de la secuencia - - id: MLC_3A6 - es-ES: Pulso 1 segundo - - id: MLC_4MM - es-ES: Acuse general - - id: MLC_3EG - es-ES: Orden marcha secuencia - - id: MLC_TF - es-ES: Estado proceso principal en marcha - - id: MLC_3zG - es-ES: En etapa - - id: MLC_fD - es-ES: Orden pausa adicional - - id: MLC_an - es-ES: Confirmacion pulsador aceptar - - id: MLC_3Pn - es-ES: . - - id: MLC_4bS - es-ES: Reserva - - id: MLC_4RZ - es-ES: Reserva - - id: MLC_3vG - es-ES: Reserva - - id: MLC_jt - es-ES: Reserva - - id: MLC_3EH - es-ES: Reserva - - id: MLC_3MQ - es-ES: Reserva - - id: MLC_3KM - es-ES: Reserva - - id: MLC_rx - es-ES: Reserva - - id: MLC_3SN - es-ES: Reserva - - id: MLC_ge - es-ES: Reserva - - id: MLC_36D - es-ES: Reserva - - id: MLC_59q - es-ES: Reserva - - id: MLC_384 - es-ES: Reserva - - id: MLC_3AV - es-ES: Reserva - - id: MLC_3N4 - es-ES: Reserva - - id: MLC_4zN - es-ES: Reserva - - id: MLC_mW - es-ES: Reserva - - id: MLC_3Pe - es-ES: TiempoMinimoConfirmacionPH - - id: MLC_4WL - es-ES: Reserva - - id: MLC_4KE - es-ES: Reserva - - id: MLC_47f - es-ES: Reserva - - id: MLC_4JS - es-ES: Reserva - - id: MLC_4Xa - es-ES: Reserva - - id: MLC_wj - es-ES: Reserva - - id: MLC_3sg - es-ES: Reserva - - id: MLC_3M5 - es-ES: Reserva - - id: MLC_4QT - es-ES: Reserva - - id: MLC_53j - es-ES: Reserva - - id: MLC_47x - es-ES: Reserva - - id: MLC_3Ra - es-ES: Reserva - - id: MLC_4Q2 - es-ES: Reserva - - id: MLC_TW - es-ES: Reserva - - id: MLC_pu - es-ES: Reserva - - id: MLC_3g8 - es-ES: Reserva - - id: MLC_34N - es-ES: Reserva - - id: MLC_3SC - es-ES: Reserva - - id: MLC_4nh - es-ES: Reserva - - id: MLC_52B - es-ES: Reserva - - id: MLC_48Z - es-ES: Reserva - - id: MLC_xg - es-ES: Reserva - - id: MLC_4Km - es-ES: Reserva - - id: MLC_32s - es-ES: Reserva - - id: MLC_3Eu - es-ES: Permiso pulsador aceptar - - id: MLC_3Kk - es-ES: Secuencia iniciada - - id: MLC_3kC - es-ES: Secuencia finalizada - - id: MLC_43X - es-ES: Etapa actual - - id: MLC_3Um - es-ES: Texto etapa - - id: MLC_3UZ - es-ES: Etapa 100 - - id: MLC_4qn - es-ES: Etapa 110 - - id: MLC_vn - es-ES: Etapa 120 - - id: MLC_4HK - es-ES: Etapa 140 - - id: MLC_VN - es-ES: Etapa 150 - - id: MLC_3rJ - es-ES: Etapa 160 - - id: MLC_4WJ - es-ES: Etapa 170 - - id: MLC_xa - es-ES: Etapa 180 - - id: MLC_4ig - es-ES: Etapa 190 - - id: MLC_3wB - es-ES: Etapa 999 - - id: MLC_3XQ - es-ES: Tiempo de etapa - - id: MLC_ZW - es-ES: Activar - - id: MLC_52z - es-ES: Reset - - id: MLC_3zF - es-ES: Actual - - id: MLC_SZ - es-ES: Set point - - id: MLC_3Yy - es-ES: Restante - - id: MLC_4mT - es-ES: Pausa - - id: MLC_4Je - es-ES: Continuar - - id: MLC_4qC - es-ES: '@Change log' - - id: MLC_3WU - es-ES: =============== Auxiliares - - id: MLC_37Y - es-ES: =============== Estado secuencia - - id: MLC_SP - es-ES: Pausa - - id: MLC_53y - es-ES: Paro de secuencia - - id: MLC_UA - es-ES: Texto Etapa - - id: MLC_3DX - es-ES: =============== Secuencia - - id: MLC_3Bb - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_4ic - es-ES: Etapa 140 - Espera PH - - id: MLC_wt - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_cr - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_56Y - es-ES: Contador tiempo - - id: MLC_3JN - es-ES: Temporizadores - - id: MLC_45j - es-ES: =============== Auxiliares - - id: MLC_55m - es-ES: Contador tiempo espera PH - - id: MLC_49V - es-ES: =============== Salidas - - id: MLC_3UA - es-ES: Permiso pulsador aceptar - - id: MLC_3wZ - es-ES: Minutos Restantes - - id: MLC_Ld - es-ES: Secuencia iniciada - - id: MLC_3VC - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7dcl deleted file mode 100644 index 12f8f0c..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7dcl +++ /dev/null @@ -1,772 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15183"; - S7_BlockTitle := "MLC_wZ"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_UserDefinedId := "FB15183_ZC_FERM_CORTE"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15183_ZC_FERM_CORTE" - VAR_INPUT - { S7_MLC := "MLC_xt" } - NombreSecuencia : String := 'ADICION PRODUCTO'; - { S7_MLC := "MLC_4dm" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4Td" } - Ack : Bool; - { S7_MLC := "MLC_3sV" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_5C2" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_4UU" } - EnEtapa : Bool; - { S7_MLC := "MLC_3Qf" } - OrdenPausa : Bool; - { S7_MLC := "MLC_3GT" } - TT_Tanque : Real; - { S7_MLC := "MLC_545" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_5B4" } - TipoEtapa := (), - { S7_MLC := "MLC_jP" } - P_Real_1 := (), - { S7_MLC := "MLC_3YD" } - P_Real_2 := (), - { S7_MLC := "MLC_3qC" } - P_Real_3 := (), - { S7_MLC := "MLC_3GH" } - P_Real_4 := (), - { S7_MLC := "MLC_4FM" } - P_Real_5 := (), - { S7_MLC := "MLC_42j" } - P_Real_6 := (), - { S7_MLC := "MLC_3BU" } - P_Real_7 := (), - { S7_MLC := "MLC_4Gr" } - P_Real_8 := (), - { S7_MLC := "MLC_3P2" } - P_Real_9 := (), - { S7_MLC := "MLC_4JA" } - P_Real_10 := (), - { S7_MLC := "MLC_cD" } - P_Real_11 := (), - { S7_MLC := "MLC_WG" } - P_Real_12 := (), - { S7_MLC := "MLC_46Y" } - P_Real_13 := (), - { S7_MLC := "MLC_zR" } - P_Real_14 := (), - { S7_MLC := "MLC_WY" } - P_Real_15 := (), - { S7_MLC := "MLC_4rJ" } - P_Real_16 := (), - { S7_MLC := "MLC_4gq" } - P_Real_17 := (), - { S7_MLC := "MLC_3wT" } - P_Int_1 := (), - { S7_MLC := "MLC_4Ve" } - P_Int_2 := (), - { S7_MLC := "MLC_4jB" } - P_Int_3 := (), - { S7_MLC := "MLC_4im" } - P_Int_4 := (), - { S7_MLC := "MLC_4at" } - P_Int_5 := (), - { S7_MLC := "MLC_39j" } - P_Int_6 := (), - { S7_MLC := "MLC_3aY" } - P_Int_7 := (), - { S7_MLC := "MLC_53F" } - P_Int_8 := (), - { S7_MLC := "MLC_NV" } - P_Int_9 := (), - { S7_MLC := "MLC_qa" } - P_Int_10 := (), - { S7_MLC := "MLC_3jV" } - P_Int_11 := (), - { S7_MLC := "MLC_4sa" } - P_Int_12 := (), - { S7_MLC := "MLC_4Fv" } - P_Int_13 := (), - { S7_MLC := "MLC_5BQ" } - P_Int_14 := (), - { S7_MLC := "MLC_3ed" } - P_Int_15 := (), - { S7_MLC := "MLC_3fn" } - P_String_1 := (), - { S7_MLC := "MLC_3tF" } - P_String_2 := (), - { S7_MLC := "MLC_4tB" } - P_String_3 := (), - { S7_MLC := "MLC_3u4" } - P_String_4 := (), - { S7_MLC := "MLC_3st" } - P_String_5 := (), - { S7_MLC := "MLC_4uA" } - P_String_6 := (), - { S7_MLC := "MLC_YA" } - P_String_7 := (), - { S7_MLC := "MLC_54J" } - P_String_8 := (), - { S7_MLC := "MLC_4LP" } - P_String_9 := (), - { S7_MLC := "MLC_4LN" } - P_String_10 := () - ); - END_VAR - VAR_OUTPUT - MarchaAgitador : Bool; - VelocidadAgitador : Real; - { S7_MLC := "MLC_xE" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_4iX" } - SP_CalEnf : Real; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_4cU" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_Rz" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_58Q" } - s_EtapaActual : Int; - { S7_MLC := "MLC_WX" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - 3(()), - { S7_MLC := "MLC_3EW" } - (), - { S7_MLC := "MLC_4GX" } - (), - { S7_MLC := "MLC_3HH" } - (), - 4(()), - { S7_MLC := "MLC_3WM" } - (), - { S7_MLC := "MLC_44e" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4Ge" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_4uP" } - Activar : Bool; - { S7_MLC := "MLC_4F5" } - Reset : Bool; - { S7_MLC := "MLC_539" } - Actual : Int; - { S7_MLC := "MLC_3cm" } - SP : Int; - { S7_MLC := "MLC_4vE" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3Hq" } - (), - { S7_MLC := "MLC_357" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - { S7_MLC := "MLC_4c4" } - s_NumeroCiclosAgitador : Int; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenEnfriar : Bool; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4bn" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15183_ZC_FERM_CORTE - Descripcion: Bloque de gestión de fase adicion de producto - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 08.07.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3m2" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4kS" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5BN" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3jE" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - CORTE'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Wt" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3M4" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_iK" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_ZW" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - wire#w1 - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - Move( - in := 0, - out1 => #s_NumeroCiclosAgitador - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Rb" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[4] ) - Move( - in := 1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_NumeroCiclosAgitador, - in2 := #Parametros.P_Int_1 - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ch" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[10] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3W3" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4cX" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4ap" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg:=#Pulso1Seg, - TON:=#s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF:=#s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Ke" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4KK" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - I_Contact( #s_Pausa_V ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_2 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_3 - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4A8" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - I_Contact( #s_FF[1].Estado_Flip ) - P_Trig( #s_Pulsos[11] ) - Contact( #s_FF[1].Orden_Activar ) - { S7_Templates := "DestType := Int" } - Inc( #s_NumeroCiclosAgitador ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_432" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XA" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - I_Contact( #s_Pausa_M ) - wire#w1 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w2 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w2 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenEnfriar ) - Coil( #OrdenEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - R_Coil( #s_OrdenEnfriar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Jp" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - I_Contact( #s_Pausa_M ) - Contact( #s_FF[1].Estado_Flip ) - Coil( #MarchaAgitador ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3p4" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_1; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_2; - #t_x1 := #Parametros.P_Real_3; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_4; - #t_y1 := #Parametros.P_Real_11; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3JG" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4zE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7res deleted file mode 100644 index 38c2886..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15183_ZC_FERM_CORTE.s7res +++ /dev/null @@ -1,193 +0,0 @@ -MultiLingualTexts: - - id: MLC_wZ - es-ES: FB15183_ZC_FERM_CORTE - - id: MLC_xt - es-ES: Nombre de la secuencia - - id: MLC_4dm - es-ES: Pulso 1 segundo - - id: MLC_4Td - es-ES: Acuse general - - id: MLC_3sV - es-ES: Orden marcha secuencia - - id: MLC_5C2 - es-ES: Estado proceso principal en marcha - - id: MLC_4UU - es-ES: En etapa - - id: MLC_3Qf - es-ES: Orden pausa adicional - - id: MLC_3GT - es-ES: Temperatura tanque - - id: MLC_545 - es-ES: Nivel tanque - - id: MLC_5B4 - es-ES: . - - id: MLC_jP - es-ES: AgitadorVelocidadFija - - id: MLC_3YD - es-ES: AgitadorVolumenMinControl - - id: MLC_3qC - es-ES: AgitadorVolumenMaxControl - - id: MLC_3GH - es-ES: AgitadorVelocidadMin - - id: MLC_4FM - es-ES: AgitadorVelocidadMax - - id: MLC_42j - es-ES: SPTemperatura - - id: MLC_3BU - es-ES: HisteresisTemp - - id: MLC_4Gr - es-ES: Reserva - - id: MLC_3P2 - es-ES: Reserva - - id: MLC_4JA - es-ES: Reserva - - id: MLC_cD - es-ES: Reserva - - id: MLC_WG - es-ES: Reserva - - id: MLC_46Y - es-ES: Reserva - - id: MLC_zR - es-ES: Reserva - - id: MLC_WY - es-ES: Reserva - - id: MLC_4rJ - es-ES: Reserva - - id: MLC_4gq - es-ES: Reserva - - id: MLC_3wT - es-ES: AgitadorNumeroCiclos - - id: MLC_4Ve - es-ES: Reserva - - id: MLC_4jB - es-ES: AgitadorTiempoOFF - - id: MLC_4im - es-ES: AgitadorTiempoON - - id: MLC_4at - es-ES: TipoAgitacionVelocidad - - id: MLC_39j - es-ES: Reserva - - id: MLC_3aY - es-ES: Reserva - - id: MLC_53F - es-ES: Reserva - - id: MLC_NV - es-ES: Reserva - - id: MLC_qa - es-ES: Reserva - - id: MLC_3jV - es-ES: Reserva - - id: MLC_4sa - es-ES: Reserva - - id: MLC_4Fv - es-ES: Reserva - - id: MLC_5BQ - es-ES: Reserva - - id: MLC_3ed - es-ES: Reserva - - id: MLC_3fn - es-ES: Reserva - - id: MLC_3tF - es-ES: Reserva - - id: MLC_4tB - es-ES: Reserva - - id: MLC_3u4 - es-ES: Reserva - - id: MLC_3st - es-ES: Reserva - - id: MLC_4uA - es-ES: Reserva - - id: MLC_YA - es-ES: Reserva - - id: MLC_54J - es-ES: Reserva - - id: MLC_4LP - es-ES: Reserva - - id: MLC_4LN - es-ES: Reserva - - id: MLC_xE - es-ES: Orden enfriar - - id: MLC_4iX - es-ES: Set point calentamiento/enfriamiento - - id: MLC_4cU - es-ES: Secuencia iniciada - - id: MLC_Rz - es-ES: Secuencia finalizada - - id: MLC_58Q - es-ES: Etapa actual - - id: MLC_WX - es-ES: Texto etapa - - id: MLC_3EW - es-ES: Etapa 130 - - id: MLC_4GX - es-ES: Etapa 140 - - id: MLC_3HH - es-ES: Etapa 150 - - id: MLC_3WM - es-ES: Etapa 999 - - id: MLC_44e - es-ES: Incrementar numero de ciclos - - id: MLC_4Ge - es-ES: Tiempo de etapa - - id: MLC_4uP - es-ES: Activar - - id: MLC_4F5 - es-ES: Reset - - id: MLC_539 - es-ES: Actual - - id: MLC_3cm - es-ES: Set point - - id: MLC_4vE - es-ES: Restante - - id: MLC_3Hq - es-ES: Pausa - - id: MLC_357 - es-ES: Continuar - - id: MLC_4c4 - es-ES: Numero de ciclos de agitador - - id: MLC_4bn - es-ES: '@Change log' - - id: MLC_3m2 - es-ES: =============== Estado secuencia - - id: MLC_4kS - es-ES: Pausa - - id: MLC_5BN - es-ES: Paro de secuencia - - id: MLC_3jE - es-ES: Texto Etapa - - id: MLC_3Wt - es-ES: =============== Auxiliares - - id: MLC_3M4 - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_iK - es-ES: =============== Secuencia - - id: MLC_ZW - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3Rb - es-ES: Etapa 140 - Corte - - id: MLC_4Ch - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_3W3 - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4cX - es-ES: Contador tiempo - - id: MLC_4ap - es-ES: Temporizadores - - id: MLC_4Ke - es-ES: =============== Auxiliares - - id: MLC_4KK - es-ES: Gestion Flip Flop agitador - - id: MLC_4A8 - es-ES: Gestion Numero de cliclos - - id: MLC_432 - es-ES: =============== Salidas - - id: MLC_XA - es-ES: Orden calentar / enfriar - - id: MLC_3Jp - es-ES: Orden agitador - - id: MLC_3p4 - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_3JG - es-ES: Secuencia iniciada - - id: MLC_4zE - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7dcl deleted file mode 100644 index d488744..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7dcl +++ /dev/null @@ -1,812 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockNumber := "15184"; - S7_BlockTitle := "MLC_3iB"; - S7_Family := "ZeusControl"; - S7_Optimized := "TRUE"; - S7_PreferredLanguage := "LAD"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15184_ZC_FERM_FIN_PREP" - VAR_INPUT - { S7_MLC := "MLC_4B4" } - NombreSecuencia : String := 'HOMOGENIZAR'; - { S7_MLC := "MLC_4du" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_3JS" } - Ack : Bool; - { S7_MLC := "MLC_4Jb" } - OrdenMarcha : Bool; - { S7_MLC := "MLC_55u" } - EstadoEnMarcha : Bool; - { S7_MLC := "MLC_3dF" } - EnEtapa : Bool; - { S7_MLC := "MLC_4DW" } - OrdenPausa : Bool; - EstadoBocaHombre : Bool; - { S7_MLC := "MLC_3yL" } - TT_Tanque : Real; - { S7_MLC := "MLC_3dt" } - LT_Tanque : Real; - Parametros : _.UDT_ZC_RECETA_BATCH_ETAPA := ( - { S7_MLC := "MLC_ZK" } - TipoEtapa := (), - { S7_MLC := "MLC_3N9" } - P_Real_1 := (), - { S7_MLC := "MLC_rL" } - P_Real_2 := (), - { S7_MLC := "MLC_3LR" } - P_Real_3 := (), - { S7_MLC := "MLC_38U" } - P_Real_4 := (), - { S7_MLC := "MLC_3nE" } - P_Real_5 := (), - { S7_MLC := "MLC_4jc" } - P_Real_6 := (), - { S7_MLC := "MLC_3b2" } - P_Real_7 := (), - { S7_MLC := "MLC_T2" } - P_Real_8 := (), - { S7_MLC := "MLC_56f" } - P_Real_9 := (), - { S7_MLC := "MLC_3cf" } - P_Real_10 := (), - { S7_MLC := "MLC_is" } - P_Real_11 := (), - { S7_MLC := "MLC_4L2" } - P_Real_12 := (), - { S7_MLC := "MLC_3qj" } - P_Real_13 := (), - { S7_MLC := "MLC_3uM" } - P_Real_14 := (), - { S7_MLC := "MLC_nA" } - P_Real_15 := (), - { S7_MLC := "MLC_46R" } - P_Real_16 := (), - { S7_MLC := "MLC_53V" } - P_Real_17 := (), - { S7_MLC := "MLC_4dP" } - P_Int_1 := (), - { S7_MLC := "MLC_dK" } - P_Int_2 := (), - { S7_MLC := "MLC_4ra" } - P_Int_3 := (), - { S7_MLC := "MLC_3We" } - P_Int_4 := (), - { S7_MLC := "MLC_W3" } - P_Int_5 := (), - { S7_MLC := "MLC_37d" } - P_Int_6 := (), - { S7_MLC := "MLC_32n" } - P_Int_7 := (), - { S7_MLC := "MLC_yg" } - P_Int_8 := (), - { S7_MLC := "MLC_42x" } - P_Int_9 := (), - { S7_MLC := "MLC_5CD" } - P_Int_10 := (), - { S7_MLC := "MLC_3h9" } - P_Int_11 := (), - { S7_MLC := "MLC_3Gn" } - P_Int_12 := (), - { S7_MLC := "MLC_3ZK" } - P_Int_13 := (), - { S7_MLC := "MLC_Yn" } - P_Int_14 := (), - { S7_MLC := "MLC_3J3" } - P_Int_15 := (), - { S7_MLC := "MLC_49q" } - P_String_1 := (), - { S7_MLC := "MLC_42y" } - P_String_2 := (), - { S7_MLC := "MLC_4ZF" } - P_String_3 := (), - { S7_MLC := "MLC_3AM" } - P_String_4 := (), - { S7_MLC := "MLC_48a" } - P_String_5 := (), - { S7_MLC := "MLC_4kJ" } - P_String_6 := (), - { S7_MLC := "MLC_Pb" } - P_String_7 := (), - { S7_MLC := "MLC_3wX" } - P_String_8 := (), - { S7_MLC := "MLC_N6" } - P_String_9 := (), - { S7_MLC := "MLC_3fH" } - P_String_10 := () - ); - END_VAR - VAR_OUTPUT - MarchaAgitador : Bool; - VelocidadAgitador : Real; - { S7_MLC := "MLC_3FM" } - OrdenCalentar : Bool; - { S7_MLC := "MLC_3dP" } - OrdenEnfriar : Bool; - { S7_MLC := "MLC_4qy" } - SP_CalEnf : Real; - VisibilidadCalEnf : Bool; - { S7_MLC := "MLC_ie" } - SecuenciaIniciada : Bool; - { S7_MLC := "MLC_iG" } - FinSecuencia : Bool; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_4jN" } - s_EtapaActual : Int; - { S7_MLC := "MLC_3BG" } - s_TextoEtapa : String[100]; - s_Pausa_M : Bool; - s_Pausa_V : Bool; - s_Continuar : Bool; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Pulsos : Array[0..15] of Bool := [ - { S7_MLC := "MLC_4uQ" } - (), - { S7_MLC := "MLC_4w8" } - (), - { S7_MLC := "MLC_34H" } - (), - { S7_MLC := "MLC_3Bb" } - (), - { S7_MLC := "MLC_mm" } - (), - { S7_MLC := "MLC_MW" } - (), - { S7_MLC := "MLC_3ry" } - (), - { S7_MLC := "MLC_3Vb" } - (), - { S7_MLC := "MLC_35A" } - (), - 6(()), - { S7_MLC := "MLC_3s9" } - () - ]; - END_VAR - VAR RETAIN - { S7_MLC := "MLC_ae" } - s_TiempoEtapa : STRUCT - { S7_MLC := "MLC_nk" } - Activar : Bool; - { S7_MLC := "MLC_ip" } - Reset : Bool; - { S7_MLC := "MLC_3fp" } - Actual : Int; - { S7_MLC := "MLC_599" } - SP : Int; - { S7_MLC := "MLC_gE" } - Restante : Int; - END_STRUCT; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Setpoint := "False"; - S7_Visibility := "Hidden := External" - } - s_TON : Array[1..#NUM_MAX_TON] of _.UDT_ZC_DISP_TON := [ - { S7_MLC := "MLC_3nR" } - (), - { S7_MLC := "MLC_3Xz" } - () - ]; - s_FF : Array[1..#NUM_MAX_FF] of _.UDT_ZC_DISP_FF; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenCalentar : Bool; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_OrdenEnfriar : Bool; - END_VAR - VAR_TEMP - for_i : Int; - t_TempHistSuperior : Real; - t_TempHistInferior : Real; - t_x0 : Real; - t_x1 : Real; - t_x : Real; - t_y0 : Real; - t_y1 : Real; - END_VAR - VAR CONSTANT - SiempreON : Bool := TRUE; - SiempreOFF : Bool := FALSE; - NUM_MAX_TON : Int := 2; - NUM_MAX_FF : Int := 1; - END_VAR - - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_4VP" - } - NETWORK - (* - ============================================================================ - ZEUS CONTROL, S.A. - (c)Copyright (2024) All Rights Reserved - ----------------------------------------------------------------------------- - - Software: TIA Portal 18 - Restricciones: PLC serie 1200/1500 - - - Nombre: FB15184_ZC_FERM_FIN_PREP - Descripcion: Bloque de gestión de fase homogenizar - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripción - - 01.00.00 08.07.2025 (ABH) Primera versión - - ============================================================================ - *) - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vx" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Q6" - } - NETWORK - RUNG wire#powerrail - Add( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistSuperior - ) - Sub( - in1 := #Parametros.P_Real_6, - in2 := #Parametros.P_Real_7, - out => #t_TempHistInferior - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Tp" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_5CB" - } - NETWORK - RUNG wire#powerrail - Contact( #SiempreON ) - wire#w1 - Contact( #OrdenPausa ) - wire#w2 - S_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w1 - I_Contact( #EstadoEnMarcha ) - END_RUNG wire#w2 - RUNG wire#w1 - Contact( #s_Pausa_M ) - wire#w3 - Move( - in := 3, - out1 => #s_TON[1].SP - ) - Coil( #s_TON[1].IN ) - END_RUNG - RUNG wire#w3 - Contact( #s_TON[1].Q ) - I_Contact( #s_Continuar ) - S_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w1 - I_Contact( #OrdenPausa ) - Contact( #EstadoEnMarcha ) - wire#w4 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w4 - S_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - Contact( #s_Continuar ) - wire#w5 - Move( - in := 3, - out1 => #s_TON[2].SP - ) - Coil( #s_TON[2].IN ) - END_RUNG - RUNG wire#w5 - Contact( #s_TON[2].Q ) - wire#w6 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w6 - R_Coil( #s_Continuar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - wire#w7 - R_Coil( #s_Pausa_M ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Pausa_V ) - END_RUNG - RUNG wire#w7 - R_Coil( #s_Continuar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Td" - } - NETWORK - RUNG wire#powerrail - I_Contact( #EnEtapa ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_3ED" - } - NETWORK - // ================================================================ - // TEXTO ETAPA - CASE #s_EtapaActual OF - 0: - #s_TextoEtapa := CONCAT_STRING(IN1:= #NombreSecuencia,IN2:= ' - REPOSO'); - - - 140: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN PREPARACION'); - - 999: - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FIN DE SECUENCIA'); - - ELSE - #s_TextoEtapa := CONCAT_STRING(IN1 := #NombreSecuencia, IN2 := ' - FUERA DE ETAPA'); - END_CASE; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_XS" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_vu" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Contact( #EnEtapa ) - Contact( #OrdenMarcha ) - Move( - in := 140, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3yM" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - wire#w1 - P_Trig( #s_Pulsos[3] ) - Move( - in := #Parametros.P_Int_1, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - Contact( #SiempreOFF ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 999, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_mY" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - wire#w1 - P_Trig( #s_Pulsos[15] ) - Move( - in := 3, - out1 => #s_TiempoEtapa.SP - ) - END_RUNG - RUNG wire#w1 - I_Contact( #EnEtapa ) - S_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - Move( - in := 0, - out1 => #s_EtapaActual - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3Bx" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4wF" - } - NETWORK - RUNG wire#powerrail - Contact( #s_TiempoEtapa.Activar ) - wire#w1 - Contact( #EstadoEnMarcha ) - I_Contact( #s_Pausa_M ) - Contact( #Pulso1Seg ) - { S7_Templates := "SrcType := Int" } - LT_Contact( - in1 := #s_TiempoEtapa.Actual, - in2 := #s_TiempoEtapa.SP - ) - { S7_Templates := "DestType := Int" } - Inc( #s_TiempoEtapa.Actual ) - END_RUNG - RUNG wire#w1 - Contact( #s_TiempoEtapa.Reset ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Actual - ) - END_RUNG - RUNG wire#w1 - R_Coil( #s_TiempoEtapa.Activar ) - END_RUNG - RUNG wire#powerrail - Sub( - in1 := #s_TiempoEtapa.SP, - in2 := #s_TiempoEtapa.Actual, - out => #s_TiempoEtapa.Restante - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_TiempoEtapa.Restante, - in2 := 0 - ) - Move( - in := 0, - out1 => #s_TiempoEtapa.Restante - ) - END_RUNG - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_dV" - } - NETWORK - - // ============================================================================ - // TON - FOR #for_i := 1 TO #NUM_MAX_TON DO - "FC2928_ZC_TON_INDV"(Pulso1seg := #Pulso1Seg, - TON := #s_TON[#for_i]); - END_FOR; - - // ============================================================================ - // FF - FOR #for_i := 1 TO #NUM_MAX_FF DO - "FC2926_ZC_FF_INDV"(Pulso1Seg := #Pulso1Seg, - FF := #s_FF[#for_i]); - END_FOR; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_Td" - } - NETWORK - RUNG wire#powerrail - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4xq" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_15, - in2 := 1 - ) - { S7_Templates := "SrcType := Int" } - GE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - LE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - I_Contact( #s_Pausa_M ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 0 - ) - wire#w2 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w3 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w3 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistSuperior - ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w2 - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_7, - in2 := 1 - ) - wire#w4 - Move( - in := #Parametros.P_Real_6, - out1 => #SP_CalEnf - ) - wire#w5 - { S7_Templates := "SrcType := Real" } - GE_Contact( - in1 := #TT_Tanque, - in2 := #SP_CalEnf - ) - S_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w5 - { S7_Templates := "SrcType := Real" } - LE_Contact( - in1 := #TT_Tanque, - in2 := #t_TempHistInferior - ) - R_Coil( #s_OrdenEnfriar ) - END_RUNG - RUNG wire#w4 - R_Coil( #s_OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Coil( #VisibilidadCalEnf ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenCalentar ) - Coil( #OrdenCalentar ) - END_RUNG - RUNG wire#w1 - Contact( #s_OrdenEnfriar ) - Coil( #OrdenEnfriar ) - END_RUNG - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - NE_Contact( - in1 := #s_EtapaActual, - in2 := 150 - ) - R_Coil( #s_OrdenEnfriar ) - R_Coil( #s_OrdenCalentar ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4jx" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 140 - ) - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_2, - in2 := 0 - ) - I_Contact( #s_Pausa_M ) - Contact( #EstadoBocaHombre ) - { S7_Templates := "SrcType := Real" } - GT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_2 - ) - { S7_Templates := "SrcType := Real" } - LT_Contact( - in1 := #LT_Tanque, - in2 := #Parametros.P_Real_3 - ) - wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 0 - ) - Move( - in := #Parametros.P_Int_4, - out1 => #s_FF[1].Config_SetPointTiempoFlip - ) - Move( - in := #Parametros.P_Int_3, - out1 => #s_FF[1].Config_SetPointTiempoFlop - ) - Coil( #s_FF[1].Orden_Activar ) - END_RUNG - RUNG wire#w1 - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #Parametros.P_Int_6, - in2 := 1 - ) - wire#w2 - Coil( #MarchaAgitador ) - END_RUNG - RUNG wire#w1 - Contact( #s_FF[1].Estado_Flip ) - END_RUNG wire#w2 - END_NETWORK - { - S7_Language := "SCL"; - S7_NetworkTitle := "MLC_56S" - } - NETWORK - - IF #Parametros.P_Int_5 = 1 THEN - // ============================================================================= - //VELOCIDAD FIJA - #VelocidadAgitador := #Parametros.P_Real_1; - ELSE - // ============================================================================= - //VELOCIDAD POR NIVEL - #t_x0 := #Parametros.P_Real_2; - #t_x1 := #Parametros.P_Real_3; - #t_x := #LT_Tanque; - #t_y0 := #Parametros.P_Real_4; - #t_y1 := #Parametros.P_Real_5; - #VelocidadAgitador := #t_y0 + (#t_y1 - #t_y0) * ((#t_x - #t_x0) / (#t_x1 - #t_x0)); - IF #VelocidadAgitador > #t_y1 THEN - #VelocidadAgitador := #t_y1; - END_IF; - IF #VelocidadAgitador < #t_y0 THEN - #VelocidadAgitador := #t_y0; - END_IF; - END_IF; - - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_4Nk" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - GT_Contact( - in1 := #s_EtapaActual, - in2 := 0 - ) - Coil( #SecuenciaIniciada ) - END_RUNG - END_NETWORK - { - S7_Language := "LAD"; - S7_NetworkTitle := "MLC_3rE" - } - NETWORK - RUNG wire#powerrail - { S7_Templates := "SrcType := Int" } - EQ_Contact( - in1 := #s_EtapaActual, - in2 := 999 - ) - Coil( #FinSecuencia ) - END_RUNG - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7res deleted file mode 100644 index 7a119b1..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/400_Secuencias/400_Fermentadores/QuitarTextos/FB15184_ZC_FERM_FIN_PREP.s7res +++ /dev/null @@ -1,197 +0,0 @@ -MultiLingualTexts: - - id: MLC_3iB - es-ES: FB15184_ZC_FERM_FIN_PREP - - id: MLC_4B4 - es-ES: Nombre de la secuencia - - id: MLC_4du - es-ES: Pulso 1 segundo - - id: MLC_3JS - es-ES: Acuse general - - id: MLC_4Jb - es-ES: Orden marcha secuencia - - id: MLC_55u - es-ES: Estado proceso principal en marcha - - id: MLC_3dF - es-ES: En etapa - - id: MLC_4DW - es-ES: Orden pausa adicional - - id: MLC_3yL - es-ES: Temperatura tanque - - id: MLC_3dt - es-ES: Nivel tanque - - id: MLC_ZK - es-ES: . - - id: MLC_3N9 - es-ES: AgitadorVelocidadFija - - id: MLC_rL - es-ES: AgitadorVolumenMinControl - - id: MLC_3LR - es-ES: AgitadorVolumenMaxControl - - id: MLC_38U - es-ES: AgitadorVelocidadMin - - id: MLC_3nE - es-ES: AgitadorVelocidadMax - - id: MLC_4jc - es-ES: SPTemperatura - - id: MLC_3b2 - es-ES: HisteresisTemp - - id: MLC_T2 - es-ES: Reserva - - id: MLC_56f - es-ES: Reserva - - id: MLC_3cf - es-ES: Reserva - - id: MLC_is - es-ES: Reserva - - id: MLC_4L2 - es-ES: Reserva - - id: MLC_3qj - es-ES: Reserva - - id: MLC_3uM - es-ES: Reserva - - id: MLC_nA - es-ES: Reserva - - id: MLC_46R - es-ES: Reserva - - id: MLC_53V - es-ES: Reserva - - id: MLC_4dP - es-ES: Reserva - - id: MLC_dK - es-ES: Reserva - - id: MLC_4ra - es-ES: AgitadorTiempoOFF - - id: MLC_3We - es-ES: AgitadorTiempoON - - id: MLC_W3 - es-ES: TipoAgitacionVelocidad - - id: MLC_37d - es-ES: TipoAgitacionTiempo - - id: MLC_32n - es-ES: TipoControlTemperatura - - id: MLC_yg - es-ES: Reserva - - id: MLC_42x - es-ES: Reserva - - id: MLC_5CD - es-ES: Reserva - - id: MLC_3h9 - es-ES: Reserva - - id: MLC_3Gn - es-ES: Reserva - - id: MLC_3ZK - es-ES: Reserva - - id: MLC_Yn - es-ES: Reserva - - id: MLC_3J3 - es-ES: Reserva - - id: MLC_49q - es-ES: Reserva - - id: MLC_42y - es-ES: Reserva - - id: MLC_4ZF - es-ES: Reserva - - id: MLC_3AM - es-ES: Reserva - - id: MLC_48a - es-ES: Reserva - - id: MLC_4kJ - es-ES: Reserva - - id: MLC_Pb - es-ES: Reserva - - id: MLC_3wX - es-ES: Reserva - - id: MLC_N6 - es-ES: Reserva - - id: MLC_3fH - es-ES: Reserva - - id: MLC_3FM - es-ES: Orden calentar - - id: MLC_3dP - es-ES: Orden enfriar - - id: MLC_4qy - es-ES: Set point calentamiento/enfriamiento - - id: MLC_ie - es-ES: Secuencia iniciada - - id: MLC_iG - es-ES: Secuencia finalizada - - id: MLC_4jN - es-ES: Etapa actual - - id: MLC_3BG - es-ES: Texto etapa - - id: MLC_4uQ - es-ES: Etapa 100 - - id: MLC_4w8 - es-ES: Etapa 110 - - id: MLC_34H - es-ES: Etapa 120 - - id: MLC_3Bb - es-ES: Etapa 140 - - id: MLC_mm - es-ES: Etapa 150 - - id: MLC_MW - es-ES: Etapa 160 - - id: MLC_3ry - es-ES: Etapa 170 - - id: MLC_3Vb - es-ES: Etapa 180 - - id: MLC_35A - es-ES: Etapa 190 - - id: MLC_3s9 - es-ES: Etapa 999 - - id: MLC_ae - es-ES: Tiempo de etapa - - id: MLC_nk - es-ES: Activar - - id: MLC_ip - es-ES: Reset - - id: MLC_3fp - es-ES: Actual - - id: MLC_599 - es-ES: Set point - - id: MLC_gE - es-ES: Restante - - id: MLC_3nR - es-ES: Pausa - - id: MLC_3Xz - es-ES: Continuar - - id: MLC_4VP - es-ES: '@Change log' - - id: MLC_vx - es-ES: =============== Auxiliares - - id: MLC_4Q6 - es-ES: Gestion calentamiento - Calculo histeresis - - id: MLC_4Tp - es-ES: =============== Estado secuencia - - id: MLC_5CB - es-ES: Pausa - - id: MLC_3Td - es-ES: Paro de secuencia - - id: MLC_3ED - es-ES: Texto Etapa - - id: MLC_XS - es-ES: =============== Secuencia - - id: MLC_vu - es-ES: Etapa 000 - Espera orden de marcha - - id: MLC_3yM - es-ES: Etapa 140 - Fin preparacion - - id: MLC_mY - es-ES: Etapa 999 - Fin de secuencia - - id: MLC_3Bx - es-ES: =============== Gestion tiempo de etapa y temporizadores - - id: MLC_4wF - es-ES: Contador tiempo - - id: MLC_dV - es-ES: Temporizadores - - id: MLC_Td - es-ES: =============== Salidas - - id: MLC_4xq - es-ES: Orden calentar / enfriar - - id: MLC_4jx - es-ES: Agitador tanque - Orden de marcha - - id: MLC_56S - es-ES: Agitador tanque - Consigna velocidad - - id: MLC_4Nk - es-ES: Secuencia iniciada - - id: MLC_3rE - es-ES: Fin secuencia diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/FC17_ZC_GEST_ALM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Alarmas/FC17_ZC_GEST_ALM.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/FC17_ZC_GEST_ALM.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Alarmas/FC17_ZC_GEST_ALM.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/FC17_ZC_GEST_ALM.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Alarmas/FC17_ZC_GEST_ALM.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/FC17_ZC_GEST_ALM.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Alarmas/FC17_ZC_GEST_ALM.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/DB11_INF.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/DB11_INF.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/DB11_INF.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/DB11_INF.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/DB11_INF.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/DB11_INF.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/DB11_INF.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/DB11_INF.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15051_ZC_INF_CPR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15051_ZC_INF_CPR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15051_ZC_INF_CPR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15051_ZC_INF_CPR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15051_ZC_INF_CPR.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15051_ZC_INF_CPR.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15051_ZC_INF_CPR.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15051_ZC_INF_CPR.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15052_ZC_INF_PROD_MEM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15052_ZC_INF_PROD_MEM.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15052_ZC_INF_PROD_MEM.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15052_ZC_INF_PROD_MEM.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15052_ZC_INF_PROD_MEM.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15052_ZC_INF_PROD_MEM.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15052_ZC_INF_PROD_MEM.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15052_ZC_INF_PROD_MEM.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15053_ZC_INF_LIMP_MAQ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15053_ZC_INF_LIMP_MAQ.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15053_ZC_INF_LIMP_MAQ.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15053_ZC_INF_LIMP_MAQ.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15053_ZC_INF_LIMP_MAQ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15053_ZC_INF_LIMP_MAQ.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FB15053_ZC_INF_LIMP_MAQ.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FB15053_ZC_INF_LIMP_MAQ.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC11_ZC_INF_GESTOR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC11_ZC_INF_GESTOR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC11_ZC_INF_GESTOR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC11_ZC_INF_GESTOR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC11_ZC_INF_GESTOR.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC11_ZC_INF_GESTOR.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC11_ZC_INF_GESTOR.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC11_ZC_INF_GESTOR.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC12_ZC_INF_REGISTRO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC12_ZC_INF_REGISTRO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC12_ZC_INF_REGISTRO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC12_ZC_INF_REGISTRO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC12_ZC_INF_REGISTRO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC12_ZC_INF_REGISTRO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/FC12_ZC_INF_REGISTRO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Informes/FC12_ZC_INF_REGISTRO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC15_ZC_GEST_PREAL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC15_ZC_GEST_PREAL.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC15_ZC_GEST_PREAL.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC15_ZC_GEST_PREAL.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC15_ZC_GEST_PREAL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC15_ZC_GEST_PREAL.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC15_ZC_GEST_PREAL.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC15_ZC_GEST_PREAL.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC16_ZC_GEST_PINT.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC16_ZC_GEST_PINT.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC16_ZC_GEST_PINT.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC16_ZC_GEST_PINT.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC16_ZC_GEST_PINT.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC16_ZC_GEST_PINT.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/FC16_ZC_GEST_PINT.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Parametros/FC16_ZC_GEST_PINT.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl similarity index 98% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl index aa675ec..cbcb6e5 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7dcl @@ -19,10 +19,10 @@ FUNCTION_BLOCK "FB15200_ZC_SYNC_RECETA_PANEL" } RutaCarpetaRecetas : String[25] := '\temp\RecetasScada\'; FechaHoraActual : DTL; - TiempoRetardoInicio : Time := T#20s; - TiempoRetardoHmi : Time := T#10s; - TiempoComprobacion : Time := T#500ms; - TiempoError : Time := T#8s; + TiempoRetardoInicio : Time := T#20S; + TiempoRetardoHmi : Time := T#10S; + TiempoComprobacion : Time := T#500MS; + TiempoError : Time := T#8S; END_VAR VAR_OUTPUT RETAIN ErrorImportar : Bool; diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Recetas/FB15200_ZC_SYNC_RECETA_PANEL.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15050_ZC_CHEQUEO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15050_ZC_CHEQUEO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15050_ZC_CHEQUEO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15050_ZC_CHEQUEO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15050_ZC_CHEQUEO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15050_ZC_CHEQUEO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15050_ZC_CHEQUEO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15050_ZC_CHEQUEO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15055_ZC_HORAS_MAQUINA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15055_ZC_HORAS_MAQUINA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15055_ZC_HORAS_MAQUINA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15055_ZC_HORAS_MAQUINA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15055_ZC_HORAS_MAQUINA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15055_ZC_HORAS_MAQUINA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15055_ZC_HORAS_MAQUINA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15055_ZC_HORAS_MAQUINA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15056_ZC_SIVE_MEMBRANA_CARE.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15057_ZC_CONT_PROD_MEM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15057_ZC_CONT_PROD_MEM.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15057_ZC_CONT_PROD_MEM.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15057_ZC_CONT_PROD_MEM.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15057_ZC_CONT_PROD_MEM.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15057_ZC_CONT_PROD_MEM.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FB15057_ZC_CONT_PROD_MEM.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FB15057_ZC_CONT_PROD_MEM.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FC15106_ZC_GESTION_LISTA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FC15106_ZC_GESTION_LISTA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FC15106_ZC_GESTION_LISTA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FC15106_ZC_GESTION_LISTA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FC15106_ZC_GESTION_LISTA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FC15106_ZC_GESTION_LISTA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/FC15106_ZC_GESTION_LISTA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Registros/FC15106_ZC_GESTION_LISTA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/DB20_GESTION_SCADA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/DB20_GESTION_SCADA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/DB20_GESTION_SCADA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/DB20_GESTION_SCADA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/DB20_GESTION_SCADA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/DB20_GESTION_SCADA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/DB20_GESTION_SCADA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/DB20_GESTION_SCADA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/FC20_GESTION_SCADA.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/FC20_GESTION_SCADA.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/FC20_GESTION_SCADA.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/FC20_GESTION_SCADA.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/FC20_GESTION_SCADA.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/FC20_GESTION_SCADA.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Scada/FC20_GESTION_SCADA.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Scada/FC20_GESTION_SCADA.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/DB7_TRZ.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/DB7_TRZ.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/DB7_TRZ.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/DB7_TRZ.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/DB7_TRZ.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/DB7_TRZ.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/DB7_TRZ.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/DB7_TRZ.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC7_ZC_TRZ_GESTOR.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/FC8_ZC_TRZ_REGISTRO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/EnDesarrollo/FB15148_ZC_SEC_MB_CLIENT.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15148_ZC_SEC_MB_CLIENT.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/EnDesarrollo/FB15148_ZC_SEC_MB_CLIENT.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15148_ZC_SEC_MB_CLIENT.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/EnDesarrollo/FB15148_ZC_SEC_MB_CLIENT.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15148_ZC_SEC_MB_CLIENT.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/EnDesarrollo/FB15148_ZC_SEC_MB_CLIENT.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15148_ZC_SEC_MB_CLIENT.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7dcl deleted file mode 100644 index e63d26a..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7dcl +++ /dev/null @@ -1,307 +0,0 @@ -{ - S7_Author := "ABH"; - S7_BlockComment := "MLC_44J"; - S7_BlockNumber := "15150"; - S7_BlockTitle := "MLC_42L"; - S7_EditorMode := "SCL"; - S7_Family := "ZeusControl"; - S7_IECCheck := "TRUE"; - S7_Optimized := "TRUE"; - S7_Version := "1.0" -} -FUNCTION_BLOCK "FB15150_ZC_SEC_S7COM" - VAR_INPUT - { S7_MLC := "MLC_4vr" } - Habilitar : Bool := FALSE; - { S7_MLC := "MLC_38z" } - Iniciar : Bool; - { S7_MLC := "MLC_4x4" } - Ack : Bool; - { S7_MLC := "MLC_4Zq" } - Pulso1Seg : Bool; - { S7_MLC := "MLC_4vy" } - NumeroBloques : Int := 1; - { S7_MLC := "MLC_3Tv" } - TiempoEspera : Int := 10; - NDR_DONE : Array[1..#N_MAX] of Bool; - ERROR : Array[1..#N_MAX] of Bool; - END_VAR - VAR_OUTPUT - { S7_MLC := "MLC_3m5" } - Finalizado : Bool; - { S7_MLC := "MLC_4P8" } - EnEjecuccion : Bool; - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_4Ba" - } - AlgunError : Bool := FALSE; - EnError : Array[1..#N_MAX] of Bool := [ - 8(FALSE) - ]; - REQ : Array[1..#N_MAX] of Bool; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_4dP"; - S7_Visibility := "Hidden := External" - } - s_Etapa : Int := #REPOSO; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_Ph"; - S7_Visibility := "Hidden := External" - } - s_IndiceActual : Int; - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_V6"; - S7_Visibility := "Hidden := External" - } - s_AlgunError : Bool := FALSE; - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_LF"; - S7_Visibility := "Hidden := External" - } - s_NumeroBloques : Int; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_MLC := "MLC_4Vt"; - S7_Visibility := "Hidden := External" - } - s_TiempoEsperaActual : Int; - END_VAR - VAR - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_Error : Array[1..#N_MAX] of Bool := [ - 8(FALSE) - ]; - END_VAR - VAR RETAIN - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_NumeroError : Array[1..#N_MAX] of UInt; - { - S7_Access := "ReadOnly := External"; - S7_Visibility := "Hidden := External" - } - s_NumeroDone : Array[1..#N_MAX] of UInt; - END_VAR - VAR_TEMP - for_i : Int; - END_VAR - VAR CONSTANT - { S7_MLC := "MLC_4p6" } - REPOSO : Int := 0; - { S7_MLC := "MLC_4jG" } - PROCESANDO : Int := 10; - { S7_MLC := "MLC_376" } - N_MAX : Int := 8; - END_VAR - - { S7_Language := "SCL" } - NETWORK - REGION DESCRIPCION - //======================================================================= - // (C)Copyright ZeusControl 2024 - 2026 - //======================================================================= - (* - ### Información del Sistema - | Hardware Compatible | Entorno de Ingeniería | - |---------------------|-----------------------| - | PLC serie 1200/1500 | TIA Portal 18 | - - --- - ### Descripción Funcional - El bloque `FB15150_ZC_SEC_S7COM` implementa un gestor de comunicaciones secuenciales S7 (PUT/GET) que ejecuta, de forma ordenada y con gestión de errores, una secuencia de peticiones a otros tantos bloques de comunicación. Garantiza que las operaciones se lancen una a una, esperando a la finalización de cada una (correcta o con error) antes de continuar con la siguiente, y permite acotar el tiempo de espera por petición para detectar bloqueos de la comunicación. - - Funcionalidades principales: - - Habilitación y Ack: cuando el bloque se deshabilita (`#Habilitar := FALSE`) o se activa la entrada de acuse `#Ack`, se reinicializan todas las variables internas y de salida, se vacían los flags de error, se resetea la etapa a `REPOSO` y se sale del bloque mediante `RETURN`. - - Límite de dimensionamiento: se valida `#NumeroBloques` contra la constante de dimensionamiento `#N_MAX`, acotando el valor entre 1 y `#N_MAX`. - - Arranque ordenado: cuando se recibe la entrada `#Iniciar` estando en `REPOSO`, se inicializa el índice de proceso, se limpian las peticiones y los flags de error, y se transita a la etapa `PROCESANDO`. - - Procesamiento secuencial: para cada bloque actual, se lanza la activación de `#REQ` y se monitorizan las señales de fin `#NDR_DONE` y `#ERROR`. Se avanza al siguiente bloque tanto en caso de éxito como de error. - - Control de tiempo de espera: si la petición actual no finaliza antes de cumplir `#TiempoEspera` (incrementado con `#Pulso1Seg`), se da por fallida y se avanza al siguiente bloque, contabilizándolo como error. - - Salidas de estado: `#EnEjecuccion` indica que la secuencia está en curso (`#s_Etapa <> REPOSO`) y `#Finalizado` indica que la secuencia ha concluido. Por cada bloque se expone `#EnError` y un `#AlgunError` global que se activa si cualquier petición ha fallado. - - > **Restricciones:** Ninguna. - - --- - ### Dependencias Requeridas - | Tipo | Elementos | - |------|-----------| - | FC | - | - | FB | - | - | DB | - | - | UDT | - | - - --- - ### Historial de Cambios - | Versión | Fecha | Técnico | Cambios | - |----------|------------|---------|---------| - | 00.00.01 | 24.05.2023 | (ABH) | Primera versión. | - | 00.00.02 | 21.09.2023 | (ABH) | Cambio a SCL. | - | 00.00.03 | 24.08.2025 | (ABH) | Se añade tiempo de espera para dar como error. | - | 01.00.00 | 02.07.2026 | (ABH) | Refactorización de lógica para estandarización. Se añade constante de dimensionamiento. | - *) - END_REGION DESCRIPCION - - - // ========================================================================================================== - REGION HABILITACION - - // En caso de no estar habilitado el bloque o pulsar el boton ACK, reinicializamos valores y salimos inmediatamente - IF NOT #Habilitar OR #Ack THEN - #s_AlgunError := FALSE; - FOR #for_i := 1 TO #N_MAX DO - #REQ[#for_i] := FALSE; - #s_Error[#for_i] := FALSE; - #s_NumeroDone[#for_i] := 0; - #s_NumeroError[#for_i] := 0; - #EnError[#for_i] := FALSE; - END_FOR; - - #s_Etapa := #REPOSO; - #s_TiempoEsperaActual := 0; - #s_IndiceActual := 1; - - #Finalizado := FALSE; - #EnEjecuccion := FALSE; - #AlgunError := FALSE; - - RETURN; - END_IF; - - END_REGION HABILITACION - - - // ========================================================================================================== - REGION LIMITES - - // Traspaso de numero de bloques a variable interna - #s_NumeroBloques := #NumeroBloques; - - // Limite de bloques - IF #s_NumeroBloques > #N_MAX THEN - #s_NumeroBloques := #N_MAX; - ELSIF #s_NumeroBloques < 1 THEN - #s_NumeroBloques := 1; - END_IF; - - END_REGION LIMITES - - - // ========================================================================================================== - REGION ORDEN_DE_INICIO - - IF #Habilitar AND #s_Etapa = #REPOSO AND #Iniciar THEN - - #s_AlgunError := FALSE; - #s_Etapa := #PROCESANDO; - #s_IndiceActual := 1; // Apuntamos al primer BLOQUE - - // Reinicializamos las variables REQ y ERROR antes de empezar - FOR #for_i := 1 TO #N_MAX DO - #REQ[#for_i] := FALSE; - #s_Error[#for_i] := FALSE; - END_FOR; - - #s_TiempoEsperaActual := 0; - END_IF; - - END_REGION ORDEN_DE_INICIO - - - // ========================================================================================================== - REGION SECUENCIA - - CASE #s_Etapa OF - - #REPOSO: - ; // Esperando orden de inicio - - #PROCESANDO: - - // Verificacion de final de la secuencia - IF #s_IndiceActual > #s_NumeroBloques THEN - // Si hemos procesado todos los bloques, finalizamos la secuencia - #s_Etapa := #REPOSO; - RETURN; - END_IF; - - // Procesamos - REGION GESTION_COMUNICACIONES - - // Lanzamos orden request para el bloque de comunicaciones - #REQ[#s_IndiceActual] := TRUE; - - // Esperamos a que finalice correctamente el bloque de comunicaciones - IF #NDR_DONE[#s_IndiceActual] THEN - - #REQ[#s_IndiceActual] := FALSE; - #s_NumeroDone[#s_IndiceActual] += 1; - #s_TiempoEsperaActual := 0; - - // Avanzamos al siguiente bloque de comunicaciones - #s_IndiceActual += 1; - - // En caso de error o Timeout - ELSIF #ERROR[#s_IndiceActual] OR #s_TiempoEsperaActual >= #TiempoEspera THEN - - #s_Error[#s_IndiceActual] := TRUE; - #REQ[#s_IndiceActual] := FALSE; - #s_NumeroError[#s_IndiceActual] += 1; - #s_TiempoEsperaActual := 0; - - // Avanzamos al siguiente bloque de comunicaciones - #s_IndiceActual += 1; - - END_IF; - - // Contador de tiempo de Timeout - IF #Pulso1Seg THEN - #s_TiempoEsperaActual += 1; - END_IF; - - END_REGION GESTION_COMUNICACIONES - - ELSE - #s_Etapa := #REPOSO; - - END_CASE; - - END_REGION SECUENCIA - - - // ========================================================================================================== - REGION SALIDAS - - #Finalizado := (#s_Etapa = #REPOSO); - #EnEjecuccion := (#s_Etapa <> #REPOSO); - - // Gestion señales de salida de bloque - #s_AlgunError := FALSE; - FOR #for_i := 1 TO #N_MAX DO - #EnError[#for_i] := #s_Error[#for_i]; - IF #s_Error[#for_i] THEN - #s_AlgunError := TRUE; - END_IF; - END_FOR; - - #AlgunError := #s_AlgunError; - - END_REGION SALIDAS - - - END_NETWORK -END_FUNCTION_BLOCK diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7res deleted file mode 100644 index 2ebf9f5..0000000 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/600_Comunicaciones/FB15150_ZC_SEC_S7COM.s7res +++ /dev/null @@ -1,64 +0,0 @@ -MultiLingualTexts: - - id: MLC_42L - es-ES: FB15150_ZC_SEC_GET - - id: MLC_44J - es-ES: |- - ZEUS CONTROL, S.A. - (c)Copyright (2023) All Rights Reserved - -------------------------------------------------------------------------------------- - - Software: TIA Portal 16 - Restricciones: PLC serie 1200/1500 - - Nombre: FB15150_ZC_SEC_GET - Descripcion: Bloque de funcion para gestion de comunicaciones secuenciales GET. - - Dependencias: - FC: - - FB: - - DB: - - UDT: - - - - Change log: - - Version Fecha Tecnico a cargo Descripcion - - 01.00.00    24.05.2023  (ABH)   Primera version - 01.00.01 21.09.2023 (ABH) Cambio a SCL. - - //===================================================================================== - - id: MLC_4vr - es-ES: Habilitacion General - - id: MLC_38z - es-ES: Iniciar secuencia - - id: MLC_4x4 - es-ES: Acuse general para resetear la secuencia - - id: MLC_4Zq - es-ES: Pulso 1 segundo - - id: MLC_4vy - es-ES: Numero de bloques de comunicacion en la secuencia - - id: MLC_3Tv - es-ES: Tiempo espera estado bloque comunicacion - - id: MLC_3m5 - es-ES: Secuencia finalizada - - id: MLC_4P8 - es-ES: Secuencia en ejecucion - - id: MLC_4Ba - es-ES: Algun error - - id: MLC_4dP - es-ES: Etapa actual - - id: MLC_Ph - es-ES: Indice actual del bloque de comunicacion en ejecuccion - - id: MLC_V6 - es-ES: Indicador de algun error - - id: MLC_LF - es-ES: Numero de bloques - - id: MLC_4Vt - es-ES: Tiempo de espera actual - - id: MLC_4p6 - es-ES: Etapa reposo - - id: MLC_4jG - es-ES: Etapa procesando - - id: MLC_376 - es-ES: Numero maximo de bloques de comunicacion diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15990_FAT_DI.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15990_FAT_DI.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15990_FAT_DI.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15990_FAT_DI.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15991_FAT_DO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15991_FAT_DO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15991_FAT_DO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15991_FAT_DO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15992_FAT_AI.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15992_FAT_AI.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15992_FAT_AI.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15992_FAT_AI.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15993_FAT_AO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15993_FAT_AO.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/DB15993_FAT_AO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/DB15993_FAT_AO.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl similarity index 99% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl index a867228..a2e2c51 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15990_ZC_FAT_DI.s7dcl @@ -48,7 +48,7 @@ FUNCTION_BLOCK "FB15990_ZC_FAT_DI" { S7_MLC := "MLC_dZ" } "DB" : Byte := 16#84; { S7_MLC := "MLC_536" } - PERIFERIA : Byte := 16#1; + PERIFERIA : Byte := 16#01; END_VAR { S7_Language := "SCL" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15990_ZC_FAT_DI.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15990_ZC_FAT_DI.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15990_ZC_FAT_DI.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15990_ZC_FAT_DI.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl similarity index 99% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl index 0ef3402..6239a69 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15991_ZC_FAT_DO.s7dcl @@ -53,7 +53,7 @@ FUNCTION_BLOCK "FB15991_ZC_FAT_DO" { S7_MLC := "MLC_3Rj" } "DB" : Byte := 16#84; { S7_MLC := "MLC_Ww" } - PERIFERIA : Byte := 16#1; + PERIFERIA : Byte := 16#01; END_VAR { S7_Language := "SCL" } diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15991_ZC_FAT_DO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15991_ZC_FAT_DO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15991_ZC_FAT_DO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15991_ZC_FAT_DO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl similarity index 99% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl index 64a5d16..d14eb5b 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15992_ZC_FAT_AI.s7dcl @@ -36,7 +36,7 @@ FUNCTION_BLOCK "FB15992_ZC_FAT_AI" { S7_MLC := "MLC_pG" } "DB" : Byte := 16#84; { S7_MLC := "MLC_sK" } - PERIFERIA : Byte := 16#1; + PERIFERIA : Byte := 16#01; { S7_MLC := "MLC_3aw" } VALOR_MAX_TARJETA : Real := 27648.0; END_VAR diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15992_ZC_FAT_AI.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15992_ZC_FAT_AI.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15992_ZC_FAT_AI.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15992_ZC_FAT_AI.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl similarity index 99% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl index b092868..ea55c6f 100644 --- a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl +++ b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15993_ZC_FAT_AO.s7dcl @@ -42,7 +42,7 @@ FUNCTION_BLOCK "FB15993_ZC_FAT_AO" { S7_MLC := "MLC_cU" } "DB" : Byte := 16#84; { S7_MLC := "MLC_53q" } - PERIFERIA : Byte := 16#1; + PERIFERIA : Byte := 16#01; { S7_MLC := "MLC_4js" } VALOR_MAX_TARJETA : Real := 27648.0; VALOR_CERO : Word; diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15993_ZC_FAT_AO.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15993_ZC_FAT_AO.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_PruebasCuadros/FB15993_ZC_FAT_AO.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_PruebasCuadros/FB15993_ZC_FAT_AO.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/DB15994_ZC_INICIALIZAR_DISP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/DB15994_ZC_INICIALIZAR_DISP.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/DB15994_ZC_INICIALIZAR_DISP.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/DB15994_ZC_INICIALIZAR_DISP.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/DB15995_ZC_BUSCAR_DIR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/DB15995_ZC_BUSCAR_DIR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/DB15995_ZC_BUSCAR_DIR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/DB15995_ZC_BUSCAR_DIR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15994_ZC_INICIALIZAR_DISP.s7res diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15995_ZC_BUSCAR_DIR.s7dcl b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15995_ZC_BUSCAR_DIR.s7dcl similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15995_ZC_BUSCAR_DIR.s7dcl rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15995_ZC_BUSCAR_DIR.s7dcl diff --git a/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15995_ZC_BUSCAR_DIR.s7res b/PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15995_ZC_BUSCAR_DIR.s7res similarity index 100% rename from PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT/900_Utilidades/FB15995_ZC_BUSCAR_DIR.s7res rename to PLC/Bloques de programa/ZC_Estandar_Alimentacion/900_FAT_Utilidades/FB15995_ZC_BUSCAR_DIR.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_EA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_EA.s7dcl similarity index 96% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_EA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_EA.s7dcl index b8c0b9a..82af2f2 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_EA.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_EA.s7dcl @@ -31,9 +31,9 @@ { S7_MLC := "MLC_4ym" } Config_HisteresisTipo : Bool := FALSE; { S7_MLC := "MLC_X8" } - Aux_oldAlarma : Bool := false; + Aux_oldAlarma : Bool := FALSE; { S7_MLC := "MLC_3nK" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_3EA" } Config_TipoAcceso : SInt := 0; { S7_MLC := "MLC_3SU" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_EA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_EA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_EA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_EA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_ED.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_ED.s7dcl similarity index 94% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_ED.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_ED.s7dcl index eda29b9..1859a01 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_ED.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_ED.s7dcl @@ -23,9 +23,9 @@ { S7_MLC := "MLC_hA" } Config_HabilitarInvertir : Bool := FALSE; { S7_MLC := "MLC_53f" } - Aux_oldActivado : Bool := false; + Aux_oldActivado : Bool := FALSE; { S7_MLC := "MLC_3c7" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_q2" } Config_TipoAcceso : SInt := 0; { S7_MLC := "MLC_4Rw" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_ED.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_ED.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_ED.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_ED.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF_SEC.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF_SEC.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF_SEC.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF_SEC.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF_SEC.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF_SEC.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_FF_SEC.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_FF_SEC.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M.s7dcl similarity index 98% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M.s7dcl index 568892b..abae2ab 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M.s7dcl @@ -51,7 +51,7 @@ { S7_MLC := "MLC_Zh" } Aux_oldAlarma : Bool; { S7_MLC := "MLC_4LF" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_v8" } Config_TipoAcceso : SInt := 0; { S7_MLC := "MLC_34L" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_MEDIA_VOLUMEN.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_SINA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_SINA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_SINA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_SINA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_SINA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_SINA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_SINA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_SINA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_VF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_VF.s7dcl similarity index 98% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_VF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_VF.s7dcl index 67748c6..fa5011c 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_VF.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_VF.s7dcl @@ -59,7 +59,7 @@ { S7_MLC := "MLC_3rf" } Aux_oldAlarma : Bool; { S7_MLC := "MLC_Qs" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_iR" } Config_TipoAcceso : SInt := 0; { S7_MLC := "MLC_4Gv" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_VF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_VF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_M_VF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_M_VF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_PID.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_PID.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_PID.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_PID.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_PID.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_PID.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_PID.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_PID.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SA.s7dcl similarity index 96% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SA.s7dcl index 7e54ba3..767092f 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SA.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SA.s7dcl @@ -29,9 +29,9 @@ { S7_MLC := "MLC_4JA" } Config_HabilitarAlarmaMax : Bool := FALSE; { S7_MLC := "MLC_4DP" } - Aux_oldAlarma : Bool := false; + Aux_oldAlarma : Bool := FALSE; { S7_MLC := "MLC_SD" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_4Aq" } Estado_SeguridadOk : Bool := TRUE; { S7_MLC := "MLC_N9" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SD.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SD.s7dcl similarity index 97% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SD.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SD.s7dcl index 20b2a12..36c5d21 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SD.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SD.s7dcl @@ -29,7 +29,7 @@ { S7_MLC := "MLC_4bL" } Aux_oldActivado : Bool; { S7_MLC := "MLC_46S" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_32j" } Estado_SeguridadOk : Bool := TRUE; { S7_MLC := "MLC_xE" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SD.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SD.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_SD.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_SD.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOF.s7dcl similarity index 67% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOF.s7dcl index 0f9bf33..55d838d 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOF.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOF.s7dcl @@ -6,8 +6,8 @@ UDT_ZC_DISP_TOF : STRUCT SP : Int := 5; ET : Int := 0; - IN : Bool := false; - Q : Bool := false; - OldActivar : Bool := false; + IN : Bool := FALSE; + Q : Bool := FALSE; + OldActivar : Bool := FALSE; END_STRUCT; END_TYPE diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TON.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TON.s7dcl similarity index 77% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TON.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TON.s7dcl index d61de8a..002e3be 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TON.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TON.s7dcl @@ -6,7 +6,7 @@ UDT_ZC_DISP_TON : STRUCT SP : Int := 5; ET : Int := 0; - IN : Bool := false; - Q : Bool := false; + IN : Bool := FALSE; + Q : Bool := FALSE; END_STRUCT; END_TYPE diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TON.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TON.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TON.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TON.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TONR.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TONR.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TONR.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TONR.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TONR.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TONR.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TONR.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TONR.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOT.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOT.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOT.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOT.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOT.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOT.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TOT.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TOT.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ_AE.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ_AE.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ_AE.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ_AE.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ_AE.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ_AE.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_TQ_AE.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_TQ_AE.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_V.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_V.s7dcl similarity index 98% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_V.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_V.s7dcl index ef22136..68201dd 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_V.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_V.s7dcl @@ -53,7 +53,7 @@ { S7_MLC := "MLC_4ng" } Aux_oldAlarma : Bool; { S7_MLC := "MLC_47D" } - Aux_oldAutoMan : Bool := false; + Aux_oldAutoMan : Bool := FALSE; { S7_MLC := "MLC_3RG" } Config_TipoAcceso : SInt := 0; { S7_MLC := "MLC_4Zw" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_V.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_V.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Estandar/UDT_ZC_DISP_V.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Estandar/UDT_ZC_DISP_V.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_EA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_EA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_EA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_EA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_EA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_EA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_EA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_EA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_ED.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_ED.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_ED.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_ED.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_ED.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_ED.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_ED.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_ED.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_M_VF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_PID.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_PID.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_PID.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_PID.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_PID.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_PID.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_PID.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_PID.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_SA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_SA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_SA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_SA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_SA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_SA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_SA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_SA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_TOT.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_TOT.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_TOT.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_TOT.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_TOT.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_TOT.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_TOT.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_TOT.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_V.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_V.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_V.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_V.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_V.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_V.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Interfaz/UDT_ZC_DISP_INTF_V.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Interfaz/UDT_ZC_DISP_INTF_V.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_EA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_EA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_EA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_EA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_EA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_EA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_EA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_EA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_ED.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_ED.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_ED.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_ED.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_ED.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_ED.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_ED.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_ED.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_SINA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_M_VF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_PID.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_PID.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_PID.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_PID.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_PID.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_PID.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_PID.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_PID.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SD.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SD.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SD.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SD.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SD.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SD.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_SD.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_SD.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TOT.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_TQ_AE.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_V.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_V.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_V.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_V.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_V.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_V.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos/200_Multiplexado/UDT_ZC_DISP_MUX_V.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/200_Dispositivos_Multiplexado/UDT_ZC_DISP_MUX_V.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_ENTIDAD.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_ENTIDAD.s7dcl similarity index 77% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_ENTIDAD.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_ENTIDAD.s7dcl index ec6fd29..f40741e 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_ENTIDAD.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_ENTIDAD.s7dcl @@ -12,31 +12,31 @@ Asignacion : Int; Estado : STRUCT { S7_MLC := "MLC_3m7" } - Disponible : Bool := false; + Disponible : Bool := FALSE; { S7_MLC := "MLC_4qE" } - Capturada : Bool := false; + Capturada : Bool := FALSE; { S7_MLC := "MLC_e2" } - EnProduccion : Bool := false; + EnProduccion : Bool := FALSE; { S7_MLC := "MLC_3KD" } - EnCIP : Bool := false; + EnCIP : Bool := FALSE; { S7_MLC := "MLC_3mz" } - EnSIP : Bool := false; + EnSIP : Bool := FALSE; { S7_MLC := "MLC_hr" } - EnStandby : Bool := false; + EnStandby : Bool := FALSE; { S7_MLC := "MLC_3uF" } - Limpia : Bool := false; + Limpia : Bool := FALSE; { S7_MLC := "MLC_4WZ" } - Sucia : Bool := false; + Sucia : Bool := FALSE; { S7_MLC := "MLC_3Wr" } Esterilizada : Bool; { S7_MLC := "MLC_yi" } - ConProducto : Bool := false; + ConProducto : Bool := FALSE; { S7_MLC := "MLC_3xM" } - ConAgua : Bool := false; + ConAgua : Bool := FALSE; { S7_MLC := "MLC_TM" } - Vacia : Bool := false; - R_Bool_12 : Bool := false; - R_Bool_13 : Bool := false; + Vacia : Bool := FALSE; + R_Bool_12 : Bool := FALSE; + R_Bool_13 : Bool := FALSE; R_Bool_14 : Bool; R_Bool_15 : Bool; { S7_MLC := "MLC_4Nv" } diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_ENTIDAD.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_ENTIDAD.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_ENTIDAD.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_ENTIDAD.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_LITROS_ETAPA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_LITROS_ETAPA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_LITROS_ETAPA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_LITROS_ETAPA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_LITROS_ETAPA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_LITROS_ETAPA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_LITROS_ETAPA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_LITROS_ETAPA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_PROCESO.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_PROCESO.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_PROCESO.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_PROCESO.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_PROCESO.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_PROCESO.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_PROCESO.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_PROCESO.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_TIEMPO_ETAPA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_TIEMPO_ETAPA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_TIEMPO_ETAPA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_TIEMPO_ETAPA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_TIEMPO_ETAPA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_TIEMPO_ETAPA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Proceso/UDT_ZC_PRO_TIEMPO_ETAPA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Gestor/UDT_ZC_PRO_TIEMPO_ETAPA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ACIDO.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_AGUA_RECUP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_DESINF.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_ESTERIL.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_LINEA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_RECHAZOS.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CIP_SOSA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CPR.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CPR.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CPR.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CPR.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CPR.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CPR.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_CPR.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_CPR.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_ENT.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_ENT.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_ENT.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_ENT.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_ENT.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_ENT.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Procesos/300_Interfaces/UDT_ZC_PRO_INTF_ENT.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/300_Proceso_Interfaces/UDT_ZC_PRO_INTF_ENT.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_CHEQUEO_RUTA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_CHEQUEO_RUTA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_CHEQUEO_RUTA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_CHEQUEO_RUTA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_CHEQUEO_RUTA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_CHEQUEO_RUTA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_CHEQUEO_RUTA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_CHEQUEO_RUTA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ESTADOS.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ESTADOS.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ESTADOS.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ESTADOS.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ESTADOS.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ESTADOS.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ESTADOS.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ESTADOS.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ORDENES.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ORDENES.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ORDENES.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ORDENES.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ORDENES.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ORDENES.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASES_ORDENES.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASES_ORDENES.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ESTADO.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ESTADO.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ESTADO.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ESTADO.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ESTADO.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ESTADO.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ESTADO.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ESTADO.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_AGUA_RECUP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_LIMP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_RECUP_RECHAZ_4.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/400_Secuencias_CIP/UDT_ZC_CIP_FASE_ORDEN_SOLO_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/UDT_ZC_ALARMA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Alarmas/UDT_ZC_ALARMA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/UDT_ZC_ALARMA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Alarmas/UDT_ZC_ALARMA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/UDT_ZC_ALARMA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Alarmas/UDT_ZC_ALARMA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Alarmas/UDT_ZC_ALARMA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Alarmas/UDT_ZC_ALARMA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_CPR_ACUM.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_CPR_ACUM.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_CPR_ACUM.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_CPR_ACUM.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_CPR_ACUM.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_CPR_ACUM.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_CPR_ACUM.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_CPR_ACUM.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CHEQUEO.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CHEQUEO.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CHEQUEO.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CHEQUEO.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CHEQUEO.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CHEQUEO.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CHEQUEO.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CHEQUEO.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CIP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CIP.s7dcl similarity index 94% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CIP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CIP.s7dcl index aa35c30..2d58f34 100644 --- a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CIP.s7dcl +++ b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CIP.s7dcl @@ -96,11 +96,11 @@ FinalizadoManual : Bool; ValidacionParametros : Bool; ReservaBool_3 : Bool; - ReservaBool_4 : Bool := false; - ReservaBool_5 : Bool := false; - ReservaBool_6 : Bool := false; - ReservaBool_7 : Bool := false; - InformeFinalizado : Bool := false; + ReservaBool_4 : Bool := FALSE; + ReservaBool_5 : Bool := FALSE; + ReservaBool_6 : Bool := FALSE; + ReservaBool_7 : Bool := FALSE; + InformeFinalizado : Bool := FALSE; ReservaInt_1 : Int; ReservaInt_2 : Int; ReservaInt_3 : Int; diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CIP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CIP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CIP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CIP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CPR_PROD.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CPR_PROD.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CPR_PROD.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CPR_PROD.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CPR_PROD.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CPR_PROD.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_CPR_PROD.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_CPR_PROD.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DATOS.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DATOS.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DATOS.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DATOS.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DATOS.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DATOS.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DATOS.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DATOS.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DOSIFICACION.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DOSIFICACION.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DOSIFICACION.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DOSIFICACION.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DOSIFICACION.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DOSIFICACION.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_DOSIFICACION.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_DOSIFICACION.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_GESTION.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_GESTION.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_GESTION.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_GESTION.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_GESTION.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_GESTION.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_GESTION.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_GESTION.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_LIMP_MAQ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_LIMP_MAQ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_LIMP_MAQ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_LIMP_MAQ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_LIMP_MAQ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_LIMP_MAQ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_LIMP_MAQ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_LIMP_MAQ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_PROD_MEM.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_PROD_MEM.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_PROD_MEM.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_PROD_MEM.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_PROD_MEM.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_PROD_MEM.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Informes/UDT_ZC_INF_PROD_MEM.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Informes/UDT_ZC_INF_PROD_MEM.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PINT.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PINT.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PINT.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PINT.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PINT.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PINT.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PINT.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PINT.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PREAL.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PREAL.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PREAL.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PREAL.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PREAL.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PREAL.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Parametros/UDT_ZC_PREAL.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Parametros/UDT_ZC_PREAL.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_ETAPA.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_BATCH_FASE_AD_PROD_REAL.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ACIDO_LIMP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_COMUNES.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_DESINF_LIMP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_ESTERIL.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_HOMOG.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_RECHAZOS.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOLO_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_ENJ.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Recetas/UDT_ZC_RECETA_CIP_SOSA_LIMP.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_CONT_PROD_MEM.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_CONT_PROD_MEM.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_CONT_PROD_MEM.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_CONT_PROD_MEM.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_CONT_PROD_MEM.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_CONT_PROD_MEM.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_CONT_PROD_MEM.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_CONT_PROD_MEM.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_LISTA_ORIG_DEST.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_LISTA_ORIG_DEST.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_LISTA_ORIG_DEST.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_LISTA_ORIG_DEST.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_LISTA_ORIG_DEST.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_LISTA_ORIG_DEST.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_LISTA_ORIG_DEST.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_LISTA_ORIG_DEST.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Registros/UDT_ZC_SIVE_MEMBRANA_CARE.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_DATOS.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_DATOS.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_DATOS.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_DATOS.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_DATOS.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_DATOS.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_DATOS.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_DATOS.s7res diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_GESTION.s7dcl b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_GESTION.s7dcl similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_GESTION.s7dcl rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_GESTION.s7dcl diff --git a/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_GESTION.s7res b/PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_GESTION.s7res similarity index 100% rename from PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_GestionDatos/500_Trazabilidad/UDT_ZC_TRZ_GESTION.s7res rename to PLC/Tipos de datos PLC/ZC_Estandar_Alimentacion/500_Datos_Trazabilidad/UDT_ZC_TRZ_GESTION.s7res