An arithmetic unit for compiling a program code for operation of a hydraulic assembly with several components, wherein at least one of the components is formed of a hydraulic system including a hydraulic device and an external database, wherein the hydraulic device includes a hydraulic component, a control electronics having a memory and being configured to control the hydraulic component, and an identification element assigned to the hydraulic component, and wherein the arithmetic unit is configured to
- generate the program code from a control logic of the hydraulic assembly entered via a graphical user interface, wherein the components of the hydraulic assembly can be defined via the graphical user interface;
- retrieve specific parameters of the hydraulic component from the external database and integrate them into the program code;
- and
- retrieve operating parameters for the further components from the external database and integrate them into the program code.