- Hardware & Machines
- CNC Machines
- Milling Machines
- Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier
- new2linux
- Offline
- Platinum Member
- Posts: 710
- Thank you received: 9
all help warmly welcomed
many thanks!
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5009
- Thank you received: 1442
But to get to the root of your real question. In Halscope you will want to look at the hal pins "hm2_5i25.0.encoder.nn.input-a" and "hm2_5i25.0.encoder.nn.input-b" (replacing nn with the number of the encoder input you want to use such as 00,01,02...)
PS: Remember Halscope can only sample these signals at the the servo thread rate. So try not to turn the encoder at a rate that might output pulses faster than about 500/sec, or you will get misleading results.
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
- Posts: 710
- Thank you received: 9
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5009
- Thank you received: 1442
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
- Posts: 710
- Thank you received: 9
Quote from Todd
"We only suggested adding wires from the A and B terminals of the 7i77 to the encoder A and B terminals of the servo drive, to enable Velocity control of the drive and make tuning them easier."
This would be a set of leads going under the same screw (location 1 & 4, TB3; both 00 & 01 encoders) on the encoder plug on the 7i77 card (A and B terminals) to AMC (P1-Siginal Drive) pin 6 (ENCODER-B IN) and pin 7 (ENCODER-A IN) as per (sheet 4 of 9) of AB15A100 manual.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
- Posts: 623
- Thank you received: 75
This would be a set of leads going under the same screw (location 1 & 4, TB3; both 00 & 01 encoders) on the encoder plug on the 7i77 card (A and B terminals) to AMC (P1-Siginal Drive) pin 6 (ENCODER-B IN) and pin 7 (ENCODER-A IN) as per (sheet 4 of 9) of AB15A100 manual.
P1 (pin 1 on signal connector) based on your attached drive pdf is a 10v output! Why connect to that? Your encoders are getting power from the 7i77 5v. If anything you would share ground on pin 2 (signal ground) if that is the correct pdf.
Correction, I just read that wrong. coffee not kicked in yet LOL... you are just calling out the P1 connector and not actually connecting to pin 1, if I understand correcly?
You may still need to connect ground pin.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
- Posts: 623
- Thank you received: 75
Todd, Many, many thanks for your help. I have used the pin selection you suggested, no motion or change of any kind. No DRO. Through process of elimination, the last component is the 7i77 card. To edit this to accept a different encoder at different location like TB4 (encoder 03 & 04). Is this how I should be thinking about this?
How are you moving the table? I suggest manually moving the table with the servo powered off to see if the dro counts.
I would connect your new encoder to the 7i77 1st to see if you can get it to read in then make the connection to the drive.
If you're switching to another encoder connection on the board make sure the hal and ini are configured correctly.
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
- Posts: 710
- Thank you received: 9
Many thanks!!
I have plugged power supply in to the wall and released e-stop, the software was in process of boot up and as soon as releasing e-stop x axis started jerking and red LED on AMC driver was blinking, so I quickly reset e-stop. Open to ideas. Many thanks!
Edit: I will copy (save as starting point) and edit the .ini & .hal files with the "find and replace" (this is what I recall, maybe not correct) to use TB4 (ENCODER 4 & 5 and TB5; DRV 4 & 5 ). Use 04 and 05 in the edit process. What else should I be thinking about?
Many,many thanks to all for the your help!
Please Log in or Create an account to join the conversation.
- new2linux
- Offline
- Platinum Member
- Posts: 710
- Thank you received: 9
Many thanks
Edit: similar error message.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5009
- Thank you received: 1442
The axis numers can not be skipped and must be in order.
X axis = AXIS_0
Y axis = AXIS_1
Z axis = AXIS_2
Not sure how you ended up with the Axis numbering in your files.
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- CNC Machines
- Milling Machines
- Replacing Advanced Motion Controls "brush type 12A8 with "Axcent" amplifier