Directive 2006/42/EC of the European Parliament and of the Council of 17 May 2006 on machinery and amending Directive 95/16/EC regulates a uniform level of protection for accident prevention for machinery and partly completed machinery when placed on the market within the EEA.
The directive describes rules on how to set up robots at your place of use.