Depending on your jurisdiction the requirements will change. We have found that by sourcing this type of work out to a third party engineering firm you can pass the liability to them as well, and keep the costs low if you are not familiar with complying with said regulations. It is also useful to include in your project planning for new equipment, specifications that the manufacterer ensure the machinery complies with local regulations. We have recently undergone extensive guarding projects for our plant and this is how we have started approaching these issues.