From talking to Dean, I think this sketch shows the correct wiring: . He also mentioned linking this into the estop and safety relay circuit but I haven't figured that out yet. Suffice to say I had it wrong before!