The disclosure relates to a filling machine (1) for filling a package (2) of a web of packaging material with a food product. The filling machine (1) comprises a jaw system (3) adapted to seal the package (2) after being filled with the food product. The jaw system (3) is equipped with means (4) for providing a unique mark (5) on the package (2). The filling machine (1) further comprises a sensor (7) arranged downstream of the jaw system (3) which is adapted to detect the mark (5) on the package (2), and a cutting knife (8) adapted to cut the package (2) from the web of packaging material. The cutting knife (8) is movably arranged in the filling machine (1), such that the cutting knife (8) can be adjusted in relation to the package (2) based on the detected mark (5) before cutting the package (2) from the web of packaging material. The disclosure also relates to a method for filling a package (2) of a web of packaging material with a food product.
展开▼