Let we have the following exact sequence of vector bundles on an complex smooth projective algebraic surface $X$ in $\mathbb P^3$ given by :
$0 \to E \to \mathcal O_X^{\oplus r} \to F \to 0$
where, it's given that $E$ is vector bundle and $F$ is a coherent sheaf on $X$ supported on a codimension $1$ subscheme of $X$.
Then since rank is additive we must have rank$(E) =r-\text{rank}(F)$. But I have come across situation where for $r=2$ it's mentioned that rank$(E) =r$.
Then is it so that $F$ being supported on a codimension $1$ subscheme means that it has always $0$ rank?
Here by rank I mean the complex dimension of the vector space which is obtained as the stalk at the generic point.
Any help from anyone is welcome.