Setting up AMC BE25A20 in torque mode?
Can anyone help me out, I'm trying to setup Linuxcnc with Mesa 5i25 and 7i77 and AMC 25a20 servo drives, I'm told it's easier and better to have the servos run in torque mode, but I can't seem to find anything that tells me how to do this. I would really like to find a wiring diagram, that would really help me out alot if someone could point me in the right direction, I've searched everywhere and can't find what I need.
Any help would be greatly appreciated.
Thanks Mike
Re: Setting up AMC BE25A20 in torque mode?
Quote:
Originally Posted by
CATCH22
Can anyone help me out, I'm trying to setup Linuxcnc with Mesa 5i25 and 7i77 and AMC 25a20 servo drives, I'm told it's easier and better to have the servos run in torque mode, but I can't seem to find anything that tells me how to do this. I would really like to find a wiring diagram, that would really help me out alot if someone could point me in the right direction, I've searched everywhere and can't find what I need.
Any help would be greatly appreciated.
Thanks Mike
Wiring of a analog drive in torque mode is no different than velocity mode with the exception that the drive will not use tachometer feedback, so the tachometer will not be connected to the drive
You do need to setup the drive in torque mode (this is like done with jumpers or dip switch settings and this should be covered in the drive manual)
Re: Setting up AMC BE25A20 in torque mode?
1. I would expect a fault when linuxCNC is enabled because normally with AMC drives the inhibit input is open when enabled and
grounded when disabled ( which is rather crazy since an unconnected input enables the drives ) You probably need a relay
driven by enable and wire the NC contacts to the "inhibit" lines change the "inhibit" to "enable"
2. I would first try with no control connections to the drive, if you still get a fault, the trouble maybe in the drive, drive power, drive--> motor connection etc
Re: Setting up AMC BE25A20 in torque mode?
I have worked with this drive and Galil motion control cards.
Enable/inhibit goes to an open collector https://en.wikipedia.org/wiki/Open_collector on the galil card.
basically the drive needs to see either an open or a ground through a correctly sized resistor to enable the drive. Same idea needs to be done with your control.
Re: Setting up AMC BE25A20 in torque mode?
Quote:
Originally Posted by
Karl_T
I have worked with this drive and Galil motion control cards.
Enable/inhibit goes to an open collector
https://en.wikipedia.org/wiki/Open_collector on the galil card.
basically the drive needs to see either an open or a ground through a correctly sized resistor to enable the drive. Same idea needs to be done with your control.
Right thats doable with the 7I77s optocoupler outputs, _except_ that in most cases the AMC drives are assembled/jumpered with the "inhibit when grounded option"
so the default optocoupler enable circuitry will not work since the outputs are "on" when enabled and the drive needs an "off" when enabled signal
Re: Setting up AMC BE25A20 in torque mode?
This may not hep the OP, but here are the instructions for flipping the output on a Galil card:
The standard configuration of the AEN signal is TTL active high. In other words, the
AEN signal will be high when the controller expects the amplifier to be enabled. The
polarity and the amplitude can be changed if you are using the ICM-1900 interface board.
To change the polarity from active high (5 volts = enable, zero volts = disable) to active
low (zero volts = enable, 5 volts = disable), replace the 7407 IC with a 7406. Note that
many amplifiers designate the enable input as ‘inhibit’.
Re: Setting up AMC BE25A20 in torque mode?
I am currently working on a retrofit using the Mesa 7i92, 7i77, and AMC 30A8 drives in torque mode which should be very similar to your setup. I don't know if you have seen them, but AMC has multiple manuals on their site that provide details on how to setup the drives in torque mode, adjust offsets, and such. Go to their website and search for your model:
https://www.a-m-c.com/products/?page=product&id=25A20
This will give you the datasheet for your specific model. On the above page, if you click on the reserved and discontinued items link, there will be a link to the classic analog drives HW manual which has a bunch of good information on setting up the drives. A direct link is here:
https://www.a-m-c.com/wp-content/upl...alog_Panel.pdf
PCW_MESA is correct in that the inhibit line left open enables the drive by default (it has an internal pull-up to +5VDC). I wanted the drive to be disabled by default and and didn't want to modify the drive's circuit board so I am using a normally closed solid state relay to pull the inhibit line to ground at power up or any other time when either the E-Stop is triggered or the drive enable switch isn't turned on. I also use another NC SSR for the fault line feedback to the 7i77 since I'm using 24VDC for field IO and the AMC drive uses a 5VDC TTL output. I can provide a hand drawn schematic for my interface board if you are interested. It uses 6 x CPC1333G ICs (4 pin DIP NC SPST SSR) and 6 resistors for current limiting.
I am currently working on tuning this and can get it to a following error of < 0.0005 at specific cutting speeds but currently need a max following error of around 0.005 to handle high speed direction changes. I think my encoders may not be helping here (magnetic AMT113Q-V). I haven't actually tried making chips with it yet in CNC mode as I currently have the upper end of the head torn apart for maintenance and to add a spindle encoder (J head clone).
Sean
3 Attachment(s)
Re: Setting up AMC BE25A20 in torque mode?
Quote:
Originally Posted by
CATCH22
Hey Sean, I would like a drawing of your electronics if you wouldn't mind, I could possibly copy it to get mine setup.
Thanks Mike
Sure, here are some pics of the wiring diagrams and the board I made to do the interfacing. The analog pairs don't go through the board but rather are direct connected. The EStop connection shown is to my EStop relay which for this item is wired normally open (E-Stop tripped) to digital ground. R1, R2, and R3 should be 200 - 1K ohms and R4, R5, and R6 should be 1K - 6K ohms. I used 1K for all 6. Ideally R4, R5, and R6 would be closer to 5K to reduce the current draw. Let me know if you have any other questions on this.
Attachment 421156
Attachment 421158
Attachment 421160