According to the scheme that you attached, your Brown+Orange wires are for tool setter, Green+Blue should be connected in series with your E-stop switch.