That fault signal is common with the mains of the motor. You cannot hook it up directly to inputs on the masso as it will create a ground loop. Please check these boards that will help you wire this:
https://cnc4pc.com/c86-connector-for...ontroller.html
https://cnc4pc.com/c34-connector-g320-drivers.html
Arturo Duncan
https://cnc4pc.com