
FUNCTION FC63 : byte

VAR_TEMP
    // variables temporaires
    i: int;
END_VAR
FC63 := 17;
FOR i:=1 TO 16 DO
    IF NOT "GestionStock_DB".slotLibre then
        FC63 := INT_TO_BYTE(i);
    END_IF;
END_FOR;

END_FUNCTION
