Spindle and encoder
14 Aug 2023 16:19 - 14 Aug 2023 16:49 #277974
by smplc
Replied by smplc on topic Spindle and encoder
Then, I'd suppose either the black or white squares are lines similar to a slit on a code wheel. I can try reconfiguring 5 LPR and 20 CPR. The encoder should work well enough because Sherline uses it with their Chucker Lathes, however, nowadays they might use Masso's CNC more often. I like LinuxCNC for the parametric programming and unallocated g-code and I program both.
Last edit: 14 Aug 2023 16:49 by smplc. Reason: 20
Please Log in or Create an account to join the conversation.
14 Aug 2023 16:58 - 14 Aug 2023 16:59 #277981
by smplc
Replied by smplc on topic Spindle and encoder
I set Encoder lines per revolution 5 at Spindle Motor and Spindle Scale Calculation of the PncConfig Wizard. MDI, g97 s1000 m3 and portable tachometer read 665 RPM. The Hal Scope of channels A and B don't appear to improve much. The GUI RPM still shuffles.
Last edit: 14 Aug 2023 16:59 by smplc. Reason: Shuffle.
Please Log in or Create an account to join the conversation.
14 Aug 2023 17:38 #277984
by PCW
Replied by PCW on topic Spindle and encoder
The A/B signals are not affected by any scaling, these are simply representations
of the input signals.
of the input signals.
Please Log in or Create an account to join the conversation.
14 Aug 2023 17:56 - 14 Aug 2023 18:02 #277985
by smplc
Replied by smplc on topic Spindle and encoder
Does A/B or Z adjust the RPM? Are the Encoder lines per revolution 5 correct? I have BobCAD/CAM, an inkjet printer and some blank shipping labels that are designed to cover other shipping labels. I could draft a new black-and-white code wheel. How about 80 or 64 black-and-white lines per revolution? I can draft an additional inset (offset) line for the Z channel too. Would that improve the A and B channels 90 degrees out? Would the analog signal be any squarer?
Last edit: 14 Aug 2023 18:02 by smplc. Reason: Index.
Please Log in or Create an account to join the conversation.
14 Aug 2023 18:06 #277987
by PCW
Replied by PCW on topic Spindle and encoder
If in quadrature mode, both A and B determine the velocity (RPM) value
You cannot change the pitch (PPR) without changing the wheel diameter
because the A/B detectors have a fixed distance on the encoder detector
module to generate the 90 degree phase difference.
What is the diameter of you current wheel?
You cannot change the pitch (PPR) without changing the wheel diameter
because the A/B detectors have a fixed distance on the encoder detector
module to generate the 90 degree phase difference.
What is the diameter of you current wheel?
The following user(s) said Thank You: JPL
Please Log in or Create an account to join the conversation.
14 Aug 2023 18:12 - 14 Aug 2023 18:38 #277990
by smplc
Replied by smplc on topic Spindle and encoder
Approximately 2.500". The Mesa Card 0, TB1/TB2 and pin Spindle signal PWM Gen-P (pg. 2 earlier in string). That probably enables the spindle to be programmed. Should I maintain Encoder lines per revolution 5 meantime using the present encoder and code wheel?
Last edit: 14 Aug 2023 18:38 by smplc. Reason: Add PWM
Please Log in or Create an account to join the conversation.
14 Aug 2023 18:30 #277991
by JPL
AGAIN, the 5 ppr encoder wheel will ONLY work if the diameter is BETWEEN 1.75 and 2.00 inches !!!
here: forum.linuxcnc.org/49-basic-configuratio...oder?start=40#277942
I you are ignoring this fact this will NOT work. PERIOD.
For some reason the wheel you have is just wrong (if it is indeed more than 2.0 inches diameter.)
If you want to do it right just go there: docs.masso.com.au/wiring-and-setup/setup...asso-optical-encoder
Click "generate encoder disk"
Enter the EXACT parameter
Print and attach to your spindle.
First thing you will notice is that there will be more pulses (black/white), 6 or 7 according to the EXACT diameter
Then look at the quadrature same way as before...
Guess what...
Replied by JPL on topic Spindle and encoder
Approximately 2.500". Should I maintain Encoder lines per revolution 5 meantime using the present encode and code wheel?
AGAIN, the 5 ppr encoder wheel will ONLY work if the diameter is BETWEEN 1.75 and 2.00 inches !!!
here: forum.linuxcnc.org/49-basic-configuratio...oder?start=40#277942
I you are ignoring this fact this will NOT work. PERIOD.
For some reason the wheel you have is just wrong (if it is indeed more than 2.0 inches diameter.)
If you want to do it right just go there: docs.masso.com.au/wiring-and-setup/setup...asso-optical-encoder
Click "generate encoder disk"
Enter the EXACT parameter
Print and attach to your spindle.
First thing you will notice is that there will be more pulses (black/white), 6 or 7 according to the EXACT diameter
Then look at the quadrature same way as before...
Guess what...
Please Log in or Create an account to join the conversation.
14 Aug 2023 18:56 #277993
by smplc
Replied by smplc on topic Spindle and encoder
Thanks. The A and B LED's of the encoder card appear to coincide at about a 1.07 radius (2.140 dia.). Is expected the LED's within a diameter 1.75 to 2.00?
Please Log in or Create an account to join the conversation.
14 Aug 2023 19:22 - 14 Aug 2023 19:23 #277995
by smplc
Replied by smplc on topic Spindle and encoder
I just specified the Masso encoder wheel to 2.5 OD and 0.875 ID printed and appears the 2.140 diameter is slightly under the center line of the wheel encoder ring. I'll give that a try.
Last edit: 14 Aug 2023 19:23 by smplc. Reason: Add ID.
Please Log in or Create an account to join the conversation.
14 Aug 2023 19:28 #277998
by JPL
Replied by JPL on topic Spindle and encoder
I'm pretty sure that the diameter you need to enter in the 'generator' should be the same as the diameter of the surface where it is attached. This is pretty much the same diameter as the wheel you've got with the kit from sherline.(shown on the picture you've uploaded earlier)
Do not deduct for the position of the leds or the sensors since the wheel itself should go past those. If the wheel is too small the sensors will only see the edge of the wheel. Correct position is when the sensor are about in the middle of the printed black/white trail. .
Do not deduct for the position of the leds or the sensors since the wheel itself should go past those. If the wheel is too small the sensors will only see the edge of the wheel. Correct position is when the sensor are about in the middle of the printed black/white trail. .
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds