Merged requested to merge markus/dev_wip into markus/dev
Adds the possibility to mutually transition between Closing/Opening.
Adds a latch, bHaltOrStopPressed, which is set to TRUE if bHalt or bStop is set in the axis reference. If the bHalt command is initialized during a transition between Closing/Opening and vice versa, the latch is not triggered. Releasing the latch from e.g. a GUI continues the motion.