Arrangement for setting a valve, and associated valve, which valve is equipped with a plunger which is subject to the action of a valve spring, wherein, by way of the arrangement, the displacement of the plunger that said plunger covers between an open position and a closed position of the valve is detected, said arrangement having an adaptor, which is connected to the valve in a working position and serves for the fastening and holding of the arrangement on the valve, furthermore being equipped with a housing-like holder, on which there is arranged a setting element which has a working piston which is adjustable in its axial direction, and having a control unit, which has a device for detecting the displacement of the plunger and has a device for limiting the stroke of the working piston of the setting element, in which arrangement - the setting element is surrounded by a cage-like hood which, at one end, has a radially outwardly projecting flange against which a compression spring bears with one end, said compression spring being supported with its other end against the holder, - there is arranged on or in the holder a mechanically stable intermediate piece which is guided through said holder and which is movable in an axial direction of the working piston, - the intermediate piece, in a working position, with the adaptor fastened on the valve, bears against the plunger of the valve and is constantly pressed onto the end side of the plunger under the action of a spring, which, at one side, bears against the intermediate piece and, at the other side, bears against the hood, and - the intermediate piece is equipped with part of a two-part sensor arrangement of the control unit, which detects the displacement of the intermediate piece that said intermediate piece covers according to the movement of the plunger of the valve between an open position and a closed position thereof, the other part of said sensor arrangement being attached in a positionally fixed manner to the holder of the arrangement. - the setting element is surrounded by a cage-like hood which, at one end, has a radially outwardly projecting flange against which a compression spring bears with one end, said compression spring being supported with its other end against the holder, - there is arranged on or in the holder a mechanically stable intermediate piece which is guided through said holder and which is movable in an axial direction of the working piston, - the intermediate piece, in a working position, with the adaptor fastened on the valve, bears against the plunger of the valve and is constantly pressed onto the end side of the plunger under the action of a spring, which, at one side, bears against the intermediate piece and, at the other side, bears against the hood, and - the intermediate piece is equipped with part of a two-part sensor arrangement of the control unit, which detects the displacement of the intermediate piece that said intermediate piece covers according to the movement of the plunger of the valve between an open position and a closed position thereof, the other part of said sensor arrangement being attached in a positionally fixed manner to the holder of the arrangement.