The disclosure relates to a modular blood treatment device (2) with several modules (12, 14, 16, 18, 20, 22) which are configured to be detachably coupled together for performing blood treatment on a patient (10). A main
control unit (26) is configured to control the coupled modules (12, 14, 16, 18, 20, 22) for performing the blood treatment. The blood treatment device (2) has sensors (88, 96; 114, 116, 132, 133, 165, 167, 168; 186, 190, 192) and actuators (82, 86, 94, 100, 102; 111, 113, 120-130; 140, 148, 150, 152-158; 162-164; 174-178; 182, 194, 196). At least two of the modules (12, 14, 16, 18, 20, 22) are designed as self-controlling modules, each comprising as components at least one of the actuators (82, 86, 94, 100, 102; 111, 113, 120-130; 140, 148, 150, 152-158; 162-164; 174-178; 182, 194, 196) and at least one module
control unit (106, 135, 160, 170, 180, 200).The module control units (106, 135, 160, 170, 180, 200) are configured to control at least one
actuator of the same self-control module, to detect a predetermined state change of the self-control module (12, 14, 16, 18, 20, 22) belonging to the respective module
control unit (106, 135, 160, 170, 180, 200), to send a corresponding module state change message directly to at least one other module control unit (106, 135, 160, 170, 180, 200) upon detection of the predetermined state change, to receive a module state change message directly from at least one other module control unit (106, 135, 160, 170, 180, 200), and upon receiving a Module state change message from at least one other module control unit to instruct at least one
actuator of the same self-control module (12, 14, 16, 18, 20, 22) to perform a predetermined action.