It sounds like nothing here complies at all with any standards, first you would need to do a risk assessment to establish the safety level/category the safety control system falls into, then you would design the appropriate system to suit the application.
I would recommend you bring somebody in to do this simply because you are asking the question to start with, I'm not suggesting you are not capable of incorporating a compliant system but this stretches beyond a chat on a forum, any advice we offer is based on the info you supply and if any is incorrect or something vital is missed this could lead to incorrect advice and when this is a safety critical system then it is not worth the risk.
I will also add as I do often in similar threads, any upgrade or alteration you make to the control system will put all legal responsibility for the safe functionality of the machine and those using it, as well as this in asking the question it is likely you do not do this kind of work normally and it is highly likely your personal or company insurance will not cover you to do this work so I would be very wary about taking on this task.
A key point in design (safety category in mind) is that the system is fail safe thus simply breaking supplies to contactors or run signals is unlikely to comply.