FIELD: physics, optics.SUBSTANCE: group of inventions relates to medicine. An ophthalmic laser system comprising: a laser source which forms a laser beam from laser pulses an XY scanner which scans the laser beam in directions transverse to the Z axis a Z scanner which scans the laser beam along the Z axis and includes: a continuous Z scanner which provides continuous scanning of the laser beam along the Z axis and a stepwise Z scanner which provides stepwise scanning of the laser beam along the Z axis, the stepwise Z scanner having one or more movable lenses, wherein the movable lenses can be placed on or outside the path of the laser beam. The method comprises steeps of forming a laser beam by the laser source performing Z scanning of the focal depth of the laser beam by the continuous Z scanner, and performing Z scanning of the focal depth of the laser beam by the stepwise Z scanner by placing one or more movable lenses of the stepwise Z scanner on the path of the laser beam.EFFECT: high efficiency of the system.25 cl, 23 dwg, 14 tblГруппа изобретений относится к медицине. Офтальмологическая лазерная система, содержащая: лазерный источник, который формирует лазерный луч из лазерных импульсов XY-сканер, который сканирует лазерный луч в направлениях, поперечных к оси Z Z-сканер, который сканирует лазерный луч вдоль оси Z и включает в себя: непрерывный Z-сканер, который обеспечивает непрерывное сканирование лазерного луча вдоль оси Z и пошаговый Z-сканер, который обеспечивает пошаговое сканирование лазерного луча вдоль оси Z, пошаговый Z-сканер имеет одну или более перемещаемых линз, при этом перемещаемые линзы могут быть размещены в и вне пути лазерного луча. При этом способ содержит этапы, на которых формируют лазерный луч посредством лазерного источника осуществляют Z-сканирование глубины фокуса лазерного луча посредством непрерывного Z-сканера, и осуществляют Z-сканирование глубины фокуса лазерного луча посредством пошагового Z-сканера путем размещения одной или