Abstract
A method for controlling a boom system of a crane. The method comprises defining a coordinate of a trip region of the boom system as reference position. Further, the method comprises defining a boundary plane based on the reference position.