spindle turns when energized, should not

More
29 Nov 2015 16:24 #66013 by comjon
I have a link to the Spinx1 manual.

I added the invert to the enable pin14 as Andy suggested.

Please understand, I am likely creating comedy of errors in my approach to this and dragging you guys through issues the result of my lack of experience. :blush:

I have a physical pot I am replacing, and this was wired prior to any alteration to the Minarik as follows (if looking at the pot from the top down).

left pin -> Minarik S3 terminal post
middle pin wiper -> Minarik S2 post
right pin -> Minarik S1 post

The Spinx1 turns the spindle and responds to S commands, but at rpms less than full throttle, when wired as follows:

SP- -> Minarik S2
SPV -> Minarik S3
SP+ -> Minarik S1

The spindle turns at full throttle when I switch the SPV to Minarik S1 and SP+ to Minarik S3, but does not accept S commands not M05. In this scenario I believe I am essentially shorting the Minarik to full voltage.

Both of the above scenarios are with the hal file I most recently posted.

I posted a link to the Minarik manual earlier, but here it is again .

I appreciate all the help I am receiving.

Thank you.

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

More
29 Nov 2015 16:47 #66014 by andypugh

left pin -> Minarik S3 terminal post
middle pin wiper -> Minarik S2 post
right pin -> Minarik S1 post

The Spinx1 turns the spindle and responds to S commands, but at rpms less than full throttle, when wired as follows:

SP- -> Minarik S2
SPV -> Minarik S3
SP+ -> Minarik S1


SPV should replace the wiper on the potentiometer.

You probably need to use the SPINX1 "enable" outputs to turn the drive on and off, because I think that the potentiometer is stopped in the middle position.

To get the same effect with the SPIN1X you will need to set pwmgen.0.offset to 5000 rpm and set the pwmgen.0.scale to 10000rpm.
linuxcnc.org/docs/2.7/html/man/man9/pwmgen.9.html

But first, it looks like you need to read:
en.wikipedia.org/wiki/Potentiometer#Theory_of_operation

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

More
29 Nov 2015 17:56 - 29 Nov 2015 17:56 #66022 by PCW
I would wire
SP- --> Minarik S1
SPV --> Minarik S2
SP+ --> MinarikS3

and then check the voltage from SP- to SP+
If this voltage is not 5V or more the SPINX1 will not work in this mode

If this is the case it should work in Minarik's 0 to 5V mode
but you need to supply a isolated 5VDC power to the SPINX1's VP+ and VP- pins
and wire according to the Minarik manual for 0-5V control.

A small 5V wall adapter (cell phone charger for example)
can be used as an isolated 5V supply isolated
Last edit: 29 Nov 2015 17:56 by PCW.
The following user(s) said Thank You: comjon

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

More
01 Dec 2015 21:43 #66183 by comjon
PCW,

I will try the 5vdc power supply to the SP- and SP+ as you suggested because the voltage between GND and POS on the Spinx1 is only 1v in the current wiring setup.

In the Minarik 32001 manual I shared in an earlier post, the diagram shows only a wire to the S2 and INH2 (see page 15) and states S3 should not be wired. What the manual does not say is whether any connection should be made between the Spinx1 and S1. I'd prefer not to burn up my boards and thought you might share some insight.

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

More
05 Dec 2015 17:23 - 05 Dec 2015 17:25 #66470 by comjon
Spindle working, accepting M05 and M03 commands. There seems to be a voltage drop at higher rpms, and AXIS freezes the mouse at these higher rpms.

I will begin documenting and post my known solution somewhere on LinuxCNC for review and feedback. My solution is not what the Minarik manual suggests, but it works and hopefully all necessary is some HAL File editing and wiring tweaks.

Thank you Andy, cncbasher, PCW, and OTC for your help.
Last edit: 05 Dec 2015 17:25 by comjon. Reason: Name change

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

More
05 Dec 2015 17:33 #66471 by andypugh

AXIS freezes the mouse at these higher rpms. .


That's weird. Maybe an electrical interference problem? Is it a wired mouse?
Does it happen with other GUIs?

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

More
05 Dec 2015 17:46 #66472 by cncbasher
m3 and m5 are pure start & stop , so they should not interfere ..
as andy suggests , sounds more like interference issues .. or ground loops etc

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

More
09 Dec 2015 14:44 #66686 by comjon
Switched to a wireless mouse, that solved the issue.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum