According to the Machinery directive certain actions are required in order to explain the general process, there is a harmonized standard for the risk assessment process, EN ISO 12100, providing the principles of the Risk assessment process.
The risk assessment process in EN ISO 12100
The risk reduction of hazards involving control systems.