An actuating function that allows to switch on and off an actuator