With my recent lathe CNC conversion, I used G320X drives and wanted to be able to use the fault output. The advantage of the fault output is that the system can be programed to shut down other axis when one gets too far out of range (faults). This has saved me a few times when I had a crash :)
The attached image is of the circuit I used to connect the Err/Fault line to the controller. The circuit is used to provide electrical isolation as well as level conversion. As the Enc_VCC and Enc_GND on the G320X is tied to the Servo VCC/GND I wanted to isolate the grounds as well as the power.
The circuit also has a provision for connecting the encoder index pulse back to the controller for homing.
J1 is used to connect to the G320X.
J2 is used to connect to the controller. In my case, the controller IO voltage was 12V (Field_VCC). ERR is an output to the controller and will be low when the drive is faulted or not started. RESET is and input from the controller and is driven high for 1 second during startup to initialize the G320X
U1 is an Analog Devices isolation chip. I used it as I had a bunch lying around and I did not want to load the ERR/RESET pin with an opto-coupler. It transmits the signals from the G320X to the controller. The VDD2 side of this IC can operate from a 5V to 18V supply level.
U2 is an opto-coupler used to pull the ERR/RESET line high to start the G320X. R2 limits current through the input of U2 and must be adjusted for your Field_VCC level.
The attached image is of the circuit I used to connect the Err/Fault line to the controller. The circuit is used to provide electrical isolation as well as level conversion. As the Enc_VCC and Enc_GND on the G320X is tied to the Servo VCC/GND I wanted to isolate the grounds as well as the power.
The circuit also has a provision for connecting the encoder index pulse back to the controller for homing.
J1 is used to connect to the G320X.
J2 is used to connect to the controller. In my case, the controller IO voltage was 12V (Field_VCC). ERR is an output to the controller and will be low when the drive is faulted or not started. RESET is and input from the controller and is driven high for 1 second during startup to initialize the G320X
U1 is an Analog Devices isolation chip. I used it as I had a bunch lying around and I did not want to load the ERR/RESET pin with an opto-coupler. It transmits the signals from the G320X to the controller. The VDD2 side of this IC can operate from a 5V to 18V supply level.
U2 is an opto-coupler used to pull the ERR/RESET line high to start the G320X. R2 limits current through the input of U2 and must be adjusted for your Field_VCC level.