pfalcon said:
You have several major errors as you have described your machine. Please review NFPA79-2007 before you proceed.
1) When tripping an Estop circuit you must stop all hazardous motion. This means that clamps should not change state when the power is killed due to an Estop, ram heads must not drop, etc.
2) You are reaching into a hazard area therefore the light curtain must guarantee safety - not an Estop. This is typically done with "muting". The light curtain must be clear OR the machine motion must be secure. The light curtain must be "hardwired" with the "muting" to guarantee safety against the protected motion. Not necessarily the Estop.
3) All safety issues must be protected by safety rated equipment. Until the NFPA79-2007 this meant that you could not use a PLC at all as a safety device. Now you can use safety controllers as long as access to their programming is properly restricted. A standard PLC cannot be used with the light curtain. The safety controllers are the only legitimate "softwire" permitted.
Please respect the NFPA79 as you would respect the NFPA70.
Estops are covered in NFPA79-2007-9.X
Stop categories are defined at 9.2.2
Category 0 is immediate uncontrolled removal of power to actuators
Category 1 is controlled stop then removal of power to actuators
Category 2 is controlled stop with retained power to actuators
Estops are category 0 or 1 and stated at 9.2.5.4.1 and determined by risk assessment
Light curtain category is 0, 1, or 2 as determined by risk assessment
A light curtain may use the Estop circuit.
A light curtain is not required to use the Estop circuit.
A light curtain usually does not use the Estop circuit because we normally want a category 2 stop.
As stated in an early post if you wish to use a controller with the light curtain you may use any controller that is safety rated. They usually are marked in special colors like red. According to NFPA79-2007-9.4.3.2 there are additional restrictions on programmable devices.