The profiling machine is available in various sizes, with standard solutions the machine can be designed to meet customer requirements. The profiling machine can be carried out with a different number of milling stations, with each other and/or adjacent milling heads. The milling head is fixed in height or can be adjusted up and down. The profiling machine can be used for the production of various profile shapes, e.g. for log houses, as well as for the production of boards or square woods. This type of board production and square wood production is particularly efficient in the production of weak wood and is very well suited in pallet production, among other things.