1 is for the SSR, 1 for the E-stop, and 1 for the controller permissive. I like to isolate the controller from the world with relays, optical or electromechanical. In general no direct connection between power components and the controller outputs or inputs. Normally the only thing I direct connect to a controller is the encoder inputs and the analog servo control outputs, everything else is isolated.
The exact relays that I use depends on the application, but when I'm doing my own stuff, normally whatever I have on the shelf.
Jim Dawson
Sandy, Oregon, USA
Here is an updated drawing, this is the way my E-stop/servo power is actually wired, using 3 relays.
Jim Dawson
Sandy, Oregon, USA
Anilam normally used Gray(-) and Orange(+) for the DC power to the servo amps. The Green with Yellow band should be earth ground. The other 2 wires may the servo amp command signal, or could be the enable.
A picture would be helpful.
Jim Dawson
Sandy, Oregon, USA
If your drives are Servo Dynamics then:
The Standard Signal Input (pin 2) and Signal Common (pin 4) would go to the command output of the Mesa board
The Tach Input (pin 3) and Tach Common (pin 4) should go to direct to the motor tach.
Jim Dawson
Sandy, Oregon, USA
A quick Google search did not turn up a manual for that drive, but what I described above should be more or less correct, but you are going to have to confirm the actual pins used.
Jim Dawson
Sandy, Oregon, USA
I would not expect that wire to go to the 7i77 board, most likely that cable goes to the motor. But confirm that is a ground wire for sure, and where it is connected on the other end.
Jim Dawson
Sandy, Oregon, USA
OK, that helps, then I would ground them to a panel ground.
Jim Dawson
Sandy, Oregon, USA
ENA - and ENA+ are the enable pins, it might be possible to use these, but many times can be unused. The AOUT is the command signal, and the GND is the command common. These would be connected to the command input pins on the drive.
Jim Dawson
Sandy, Oregon, USA