The thesis task is to implement the algorithm for the automatic extension link into a proper Dasa computer system in order to control a forwarder crane. The implemented code should be tested at the laboratory crane at Linneus University, Vaxjo.