
FUNCTION FC44 : VOID
VAR_TEMP
    i: INT;
END_VAR
VAR_INPUT
    chariotNumero: INT;
    section: INT;
END_VAR

//repousse le/les chariot de la sectionX qui serait en position 0 autre que le chariotY en fin de file
FOR i:=1 TO 9 DO
    IF "GestionChariotDB".chariot[i,0] = section AND "GestionChariotDB".chariot[i,2] = 0 AND i <> chariotNumero THEN
        "GestionChariotDB".chariot[i,2]:= "GestionChariotDB".nbChariotSection[section];
    END_IF;
END_FOR; 
END_FUNCTION
