Preparing data for the controlling system