Hi everyone. Sorry if this question has been covered elsewhere on the forum. I dug around quite a bit and read the "Encoder Basics" thread but couldn't find an answer.
I have a bed mill that was set up by Wesel/First with an M-15 controller and SEM servo motors. Sadly, the Z-axis was busted when I got to it. (I'm not sure if the problem was with the motor or encoder, but I was told it was the motor.) I bought a rebuilt unit from Radwell with the same model number (MTS30U4-42), hoping it would make replacement straightforward. Unfortunately, the encoder on the new motor is lower profile, and despite having the same model number, the new motor body is shorter overall, so maybe it's not quite the same. After installing it, I tried running an autotune, but the controller cancelled itself while running the Z-axis with a "Z-axis position error." I attempted to jog the Z-axis via the +/- buttons on the control panel, which was also problematic, resulting in motion in only one direction.
According to Radwell, the new encoder is an Accu-coder 755A-01-S-1000-R-HV-1-SF-S-N. The M-15 was previously configured for an 8000 counts/rev encoder. I don't know how the 1000 cycles/rev in the Accu-coder model number relates to that, but I tried changing the "Encoder counts/rev." in the controller config to various values and either none were appropriate, or some other configuration is also incorrect. I am able to jog in both directions with different counts/rev specified, but in that case also quickly encounter "Z-axis full power w/o motion" errors.
I've attached a bunch of photos and will also post files from the M-15's "Report" function. Hopefully someone will recognize the mistakes I'm making.
Thanks for any help!
Setting up new motor/encoder on Wesel bed mill (RESOLVED)
Moderator: cnckeith
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Setting up new motor/encoder on Wesel bed mill (RESOLVED)
Last edited by nop on Thu May 07, 2020 2:24 pm, edited 1 time in total.
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Re: Setting up new motor/encoder on Wesel bed mill
Here's report.zip and some encoder info.
- Attachments
-
- encoder specs - 0.pdf
- (1.07 MiB) Downloaded 110 times
-
- encoder drawing - 0.pdf
- (299.95 KiB) Downloaded 101 times
-
- report.zip
- (5.76 KiB) Downloaded 125 times
-
- Posts: 7166
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Setting up new motor/encoder on Wesel bed mill
i would guess the encoder is a 1000 line which is 4000 counts per rev. before running auto tune you have to make sure the installed encoder is working correctly, does it count up and down properly in the PID screen? you can look at the allin1dc manual for guidance on this process. best move would have been to order a replacement motor from centroid and it would have been plug and play:-))
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Re: Setting up new motor/encoder on Wesel bed mill
No doubt! Somehow that perfectly obvious idea didn't even cross my mind. Live and learn. Next time I will take that route, for sure.
I didn't know about the procedure for confirming encoder communication, so thanks for the tip! It will be my next step.cnckeith wrote: ↑Thu May 07, 2020 6:40 pmi would guess the encoder is a 1000 line which is 4000 counts per rev. before running auto tune you have to make sure the installed encoder is working correctly, does it count up and down properly in the PID screen? you can look at the allin1dc manual for guidance on this process.
Re: Setting up new motor/encoder on Wesel bed mill
Next, you will likely find that the real problem is that you need to reverse the polarity of the power going to the motor.
Then, if you find that it moves under control with no stall message, but moves the wrong way, report back here and we can go over how to reverse direction and correct the limit switches to match.
Then, if you find that it moves under control with no stall message, but moves the wrong way, report back here and we can go over how to reverse direction and correct the limit switches to match.
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Re: Setting up new motor/encoder on Wesel bed mill
Thanks again for the tips, and sorry it's taken me a while to respond. Unfortunately, the machine is an hour and a half away, and this virus lock-down business doesn't make getting up there any easier.
Today, I disconnected the Z-axis motor from the machine and did the manual encoder test. Feedback is smooth, but absolute position decreases with CCW motion (increases w/CW motion), so opposite from what the manual specifies. Does it sound like reversing the polarity of power to the motor should be the next step? Or is enabling direction reverse in the controller configuration an option?
Thanks!
Today, I disconnected the Z-axis motor from the machine and did the manual encoder test. Feedback is smooth, but absolute position decreases with CCW motion (increases w/CW motion), so opposite from what the manual specifies. Does it sound like reversing the polarity of power to the motor should be the next step? Or is enabling direction reverse in the controller configuration an option?
Thanks!
Re: Setting up new motor/encoder on Wesel bed mill
If you get a runaway and "410 ... position error" whenever you try to move, then you should reverse the polarity of the power to the motor.
The "Direction Reversal" software setting is for matching the motor+encoder combination to your preferred axis direction, after you have the motor and encoder wired to match each other.
The "Direction Reversal" software setting is for matching the motor+encoder combination to your preferred axis direction, after you have the motor and encoder wired to match each other.
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Re: Setting up new motor/encoder on Wesel bed mill
OK, thanks for clarifying that, snw. I'll keep the direction reversal setting unchanged ("N") for the time being.
Something I didn't consider yesterday was whether the result of the absolute position test depended on the counts/rev value set in the encoder configuration. Should I try again after setting it to 4000? I believe it was still at the original 8000 when I did the test.
Assuming that's not the issue, should my next step be to reverse polarity of power to the motor? When I first installed the motor and ran autotune, the controller gave a "Z-axis position error" (I didn't see a 410 code, but maybe that's due to the software version). Those errors seemed to be replaced by "Z-axis full power w/o motion" after I changed the encoder counts/rev to 4000.
One more question: is it OK to run the motor without a load on it (with it disconnected from the machine)?
Something I didn't consider yesterday was whether the result of the absolute position test depended on the counts/rev value set in the encoder configuration. Should I try again after setting it to 4000? I believe it was still at the original 8000 when I did the test.
Assuming that's not the issue, should my next step be to reverse polarity of power to the motor? When I first installed the motor and ran autotune, the controller gave a "Z-axis position error" (I didn't see a 410 code, but maybe that's due to the software version). Those errors seemed to be replaced by "Z-axis full power w/o motion" after I changed the encoder counts/rev to 4000.
One more question: is it OK to run the motor without a load on it (with it disconnected from the machine)?
Re: Setting up new motor/encoder on Wesel bed mill
The "Abs Pos" display is in raw encoder counts, and thus is not affected in any way by the Counts/Rev and Revs/Inch values on the Machine Configuration screen.
Yes, it is okay to run servo motors with no load on them.
Yes, it is okay to run servo motors with no load on them.
-
- Posts: 17
- Joined: Mon Apr 13, 2020 9:37 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: Yes
Re: Setting up new motor/encoder on Wesel bed mill
That's great to know. The next chance I get, I'll crack open the cabinet and try reversing polarity on the Z-axis.
Thanks, again!
Thanks, again!