Hi Robbert,
it all depends on the category of the pressure equipment.
the PED excludes pressure equipment that is incorporated in a machine, but only if it is up to category I (so, II, III and IV are in the scope of the PED). art 1.3.6
the machinery directive excludes (parts of) machines that...