The VFD as programable Relay Outputs FA, FB, FC which you can tie into your e-stop system, I haven't got a manual to hand but I think it's parameter PD52, with this you can set to the relay to fire when an error occurs.