
FUNCTION FC46 : bool

VAR_TEMP
    i: INT;
END_VAR
VAR_INPUT
    section: INT;
END_VAR
// logique inverse : renvois true si aucun chariot en position 0 de la section X
    FC46 := true;
    FOR i:= 1 TO 9 DO
        IF "gestionChariotDB".chariot[i,0] = section AND "gestionChariotDB".chariot[i,2] = 0 THEN
            FC46 := false;
        END_IF;
    END_FOR;
END_FUNCTION
