Compression machines, plants or systems with reversible cycle not otherwise provided for characterised by the reversing means using six-way valves