- Hardware & Machines
- CNC Machines
- Milling Machines
- Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
26 May 2022 16:13 #243916
by Todd Zuercher
Replied by Todd Zuercher on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
I am having trouble telling from your descriptions when or if the drive is enabled or inhibited.
When Linuxcnc is out of e-stop and machine enabled (on, F2), the P1-9 pin that normally floats at 5v, should be pulled low to the the P1-2 ground reference by the ENA+/ENA- connection on the 7i77 card.
You need to set the SW1-5 switch to what ever setting enables the drive when P1-9 is pulled low, and is inhibited when it floats high. I would read that as what the manual calls "Drive Inhibit is active high" which is the "off" position for SW1-5. But confirm with the AMC tech, or test it yourself.
When Linuxcnc is out of e-stop and machine enabled (on, F2), the P1-9 pin that normally floats at 5v, should be pulled low to the the P1-2 ground reference by the ENA+/ENA- connection on the 7i77 card.
You need to set the SW1-5 switch to what ever setting enables the drive when P1-9 is pulled low, and is inhibited when it floats high. I would read that as what the manual calls "Drive Inhibit is active high" which is the "off" position for SW1-5. But confirm with the AMC tech, or test it yourself.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
26 May 2022 17:36 - 26 May 2022 17:37 #243929
by new2linux
Replied by new2linux on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Todd, I have edited the .ini file: Went from 0.05 to 2.0 on the x & y axes (only 2 axes), only edited the MIN_FERROR. AMC & are talking on phone, will have more news soon.
Last edit: 26 May 2022 17:37 by new2linux.
Please Log in or Create an account to join the conversation.
26 May 2022 18:49 - 26 May 2022 18:49 #243934
by new2linux
Replied by new2linux on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Todd Zuercher, Many thanks. I have placed SW1-5 OFF, now both drives have red LEDs are on. I am keeping AMC in the loop & was agreed to try SW1-5=OFF. Soon I need to mount motors on machine so a load can be applied.
Last edit: 26 May 2022 18:49 by new2linux.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
26 May 2022 18:52 #243936
by Todd Zuercher
Replied by Todd Zuercher on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Don't forget, Linuxcnc only reads the ini file at start up time. So If you make changes to it while it is running, they won't take effect until you exit and restart Linuxcnc.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
26 May 2022 19:01 #243937
by Todd Zuercher
Replied by Todd Zuercher on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Good, So you do not currently have the motors mounted to the machine. That is wise for initial testing. You say you have a red led on the drive? What state is Linuxcnc in with the drive's red led on, running, e-stop, machine on? The red led may simply mean that the drive is inhibited, which would be the correct state for all situations except when Linuxcnc is in the machine on state, at which point I think the drive's led should turn green.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
26 May 2022 19:15 - 26 May 2022 20:23 #243939
by new2linux
Replied by new2linux on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
The red LEDs are on both drives, all the time. If you click F2 down, the red LED will flicker ever so slightly, before joint error out. IF sw1-5 is OFF.
Edit:
If SW1-5 is ON, just powered up, so F1 is up; Green LEDs, motors run slow with plenty of torque (if try to hold motor shaft); If all the same but F2 down, red LEDs, motors stop, but turn by hand and see DRO work; F2 up, green LEDs motors slow with torque if try to hold motor shaft.
Edit:
If SW1-5 is ON, just powered up, so F1 is up; Green LEDs, motors run slow with plenty of torque (if try to hold motor shaft); If all the same but F2 down, red LEDs, motors stop, but turn by hand and see DRO work; F2 up, green LEDs motors slow with torque if try to hold motor shaft.
Last edit: 26 May 2022 20:23 by new2linux. Reason: add info if SW1-5 is on
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
26 May 2022 20:32 #243943
by Todd Zuercher
Replied by Todd Zuercher on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Is there any motor movement? The joint following error is triggered by the difference between the commanded position and the feedback position read from the encoders. If that difference exceeds the amount set by FERROR= (following error limit at low speed) and MAX_FERROR= (following error limit at maximum velocity) The actual following error limit is linearly interpolated between those two values depending on the velocity of the joint. When the joint was enabled the motor should have at least turned the amount of the FERROR= before triggering the joint following error.
Possible reasons for the motor to immediately trigger this error would be if the commanded feed back direction was backward, either at the drive or Linuxcnc, or the polarity of the velocity reference is wrong.
Possible reasons for the motor to immediately trigger this error would be if the commanded feed back direction was backward, either at the drive or Linuxcnc, or the polarity of the velocity reference is wrong.
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
26 May 2022 20:52 #243946
by new2linux
Replied by new2linux on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Todd, Thanks!! I power up, (SW1-5=ON) F1 is down, both motors run real slow, green LEDs; F1 is up, motors still run the same slow speed, green LEDs; F2 is Down, motors stop, Red LEDs; F2 is up, motors run real slow, Green LEDs. This is how it appears to work, when the motors are not moving they turn free, this is also the same time red LEDs appear.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
27 May 2022 12:24 #243982
by Todd Zuercher
Replied by Todd Zuercher on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Then yes I think SW1-5 definitely should be in the off position. The drives must be in the inhibited state (red led on, not green) when Linuxcnc is not running.
The next step is to figure out why you are getting the joint alarm alarm immediately after enabling the drive.
What are your current PID settings in Linuxcnc?
The next step is to figure out why you are getting the joint alarm alarm immediately after enabling the drive.
What are your current PID settings in Linuxcnc?
The following user(s) said Thank You: new2linux
Please Log in or Create an account to join the conversation.
27 May 2022 12:58 - 27 May 2022 13:34 #243985
by new2linux
Replied by new2linux on topic Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Thank you, Todd! This is the most current PID settings, I think.
Edit:attached is current pinout (should be the same)
Edit:attached is current pinout (should be the same)
Last edit: 27 May 2022 13:34 by new2linux. Reason: add:halrun.txt
Please Log in or Create an account to join the conversation.
Moderators: piasdom
- Hardware & Machines
- CNC Machines
- Milling Machines
- Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders
Time to create page: 0.138 seconds