Está en la página 1de 1

Universidad de Oviedo

252 - Problemas M340 ISA

if (Mx_FC2 and not Mx_FC1) or not Mx_paro then


reset (Qx_Mojado);
end_if;

(* Control del puesto de detergente *)


if Qx_Cinta and Mx_FC2 then
set (Qx_Detergente);
end_if;

if (Mx_FC3 and not Mx_FC2) or not Mx_paro then


reset (Qx_Detergente);
end_if;

(* Control del puesto de cepillado-aclarado *)


if Qx_Cinta and Mx_FC3 then
set (Qx_CepiAclarado);
end_if;

if (Mx_FC4 and not Mx_FC3) or not Mx_paro then


reset (Qx_CepiAclarado);
end_if;

(* Control del puesto de secado *)


if Qx_Cinta and Mx_FC4 then
set (Qx_Secado);
end_if;

if (Mx_FC5 and not Mx_FC4) or not Mx_paro then


reset (Qx_Secado);
end_if;

(* Puestos llenos *)
If Qx_Mojado and Qx_Detergente and Qx_CepiAclarado and Qx_Secado then
set(Mx_Lleno);
end_if;

If not Qx_Cinta then


reset (Mx_Lleno);
end_if;

(* Control de la barrera *)
if Mx_Lleno then
set (Qx_Bajar);
end_if;

if Mx_Fcc then
reset (Qx_Bajar);
end_if;

if not Mx_Lleno and Mx_Pev then


set (Qx_Subir);
end_if;

También podría gustarte