- Posts: 1943
- Thank you received: 0
Wiring a Chinese servo to a 7i77. Setup for yet another newbie
\tommylight wrote:
Also +-10V from Mesa to pin 25 and 13 respectively .SPH wrote: TB3 PIN FUNCTION DIR
1 QA0 TO 7I77 PA+ pin 20
2 /QA0 TO 7I77 PA- pin19
3 GND FROM 7I77 GND pin 1
4 QB0 TO 7I77 PB+ pin 18
5 /QB0 TO 7I77 PB- pin 17
6 +5V FROM 7I77 do not connect
7 IDX0 TO 7I77 do not connect
8 /IDX0 TO 7I77 do not connect
Drive enable from Mesa to pin 29 and 9.
Why are you not connecting the index of the encoders?
Please Log in to join the conversation.
The drive enable is so obvious now, thanks. Don’t know what was thinking.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Back to it, the Z or index pins are 15 for enc+ and 16 for enc-.
Please Log in to join the conversation.
SPH wrote: Let me know how the index connects and I’ll wire it in. Perhaps tommylight’s directions were just the basics?
The drive enable is so obvious now, thanks. Don’t know what was thinking.
How did you wire the enable pins?
Also make sure you have the correct motor selected in the programming. I am still looking for my parameter sheet. It is in a backup and I haven't located it yet.
Please Log in to join the conversation.
I assumed I'd be able to pick up a 12 or 24v signal from the drive though between pin 9 and ground but so far no luck so I'm still a bit lost as to what's going on.
Please Log in to join the conversation.
Its usually a good idea to verify that you can enable /disable
the drive with a mechanical switch before wiring to the 7I77
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
The drive needs external +24v power for it's inputs, DC+ on pin 9 and DC- switched on pin 6 for enable.
External 24v+ to TB5 pin 2, 24v+ switched from TB5 pin 1 to pin 6 on the drive. 24- to pin 6 on the drive.
Enable now works and soft estop also works as expected. I'll get a hard estop working next.
There's about 1/8 of a shaft rotation just as the drive enables. Perhaps something to do with the fairly high rpm drift when the loop isn't closed? Should I be chasing drive parameters to tone this down or is it something in software? I imagine it'll make for a pretty good mechanical 'clunk' when everything connected for real.
Please Log in to join the conversation.
I take it the tuning will be influenced by the actual mechanics of the machine so I shouldn't get too far into the tuning until the servos are actually mounted?
I'll also have the fun job of re-wiring my encoder and motor plugs as I somewhat foolishly decided to use the existing motor cables from the Yaskawas to save a buck. Should'a just spend the buck. The motor cables are easy of course, just the 4 wires. It's the 15 pin encoder cables I'm not too keen on.
Please Log in to join the conversation.
