Servo Spindle motor encoder Mesa 7i76e

More
26 Mar 2020 18:56 #161603 by Erikcnc

PCW wrote: Can you post you hal and ini files?


Here they are. ini file is set to text file for uploading.

File Attachment:

File Name: EMCOTURN22...3-26.txt
File Size:4 KB

File Attachment:

File Name: EMCOTURN22...3-26.hal
File Size:11 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
26 Mar 2020 19:10 #161606 by PCW
I don't see anything obvious wrong in the hal file but using halmeter
or "watch" on these three pins should help track down the issue:

near.0.in1
near.0.in2
near.0.out

Please Log in or Create an account to join the conversation.

More
28 Mar 2020 12:30 #161798 by andypugh

blazini36 wrote: Since you are not using a timing belt you should spin your spindle by hand and let it drive your motor then you can estimate the difference, how accurate you get is all in how thorough you are. Spin the spindle exactly 1 time and look at how many counts feed back from the motor,


A better way would be to set up a halmeter to count the encoder counts, then zero the encoder and rotate the spindle by hand exactly 20 times (or 50 times if you are very patient). Then divide the total counts by 20. The number you get is the number of motor encoder counts per spindle rotation, and that should be accurate enough for most purposes.

Please Log in or Create an account to join the conversation.

More
28 Mar 2020 12:32 #161799 by andypugh

Erikcnc wrote: i got in my hal file near.0.scale 1.50 now, still no green light.
also near.0.difference value is 3.333333)


Have a look at the inputs of the near component with a couple of halmeters. You might see that one is RPM and one is RPS, or possibly one is positive and one is negative.

Please Log in or Create an account to join the conversation.

More
01 Apr 2020 01:40 #162324 by blazini36

andypugh wrote:

blazini36 wrote: Since you are not using a timing belt you should spin your spindle by hand and let it drive your motor then you can estimate the difference, how accurate you get is all in how thorough you are. Spin the spindle exactly 1 time and look at how many counts feed back from the motor,


A better way would be to set up a halmeter to count the encoder counts, then zero the encoder and rotate the spindle by hand exactly 20 times (or 50 times if you are very patient). Then divide the total counts by 20. The number you get is the number of motor encoder counts per spindle rotation, and that should be accurate enough for most purposes.


I'll agree with you on that, average over 20 would certainly be more precise. Same idea either way though.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum