spindle turns when energized, should not
26 Nov 2015 15:20 - 26 Nov 2015 15:21 #65826
by PCW
Replied by PCW on topic spindle turns when energized, should not
There are actually 2 power supplies needed by the SPINX1
One is the 5V logic power on TB1 (most likely from the PC)
The other is the voltage for the spindle potentiometer simulator on TB2
This voltage is normally suppled by the motor controller to TB2s SP+ and SP-
pins.
The SP+, SP- and SPV pins are meant to connect where a external
speed control potentiometer would connect to the drive. SP+ is the high
side (full speed) of the potentiometer, SP- is the low side (0 speed)
and SPV is the wiper connection. The potentiometer simulation has some limitations.
One is that the voltage between SP+ and SP- must be between 5V and 15V
The other is that the potentiometer simulator draws about 6 mA so the drive must be able
to supply this current without significant voltage drop.
If the drive has a voltage input (say 0 to 10V) instead of a potentiometer connection
you must supply the 10V to SP+ and SP- from an external source
One is the 5V logic power on TB1 (most likely from the PC)
The other is the voltage for the spindle potentiometer simulator on TB2
This voltage is normally suppled by the motor controller to TB2s SP+ and SP-
pins.
The SP+, SP- and SPV pins are meant to connect where a external
speed control potentiometer would connect to the drive. SP+ is the high
side (full speed) of the potentiometer, SP- is the low side (0 speed)
and SPV is the wiper connection. The potentiometer simulation has some limitations.
One is that the voltage between SP+ and SP- must be between 5V and 15V
The other is that the potentiometer simulator draws about 6 mA so the drive must be able
to supply this current without significant voltage drop.
If the drive has a voltage input (say 0 to 10V) instead of a potentiometer connection
you must supply the 10V to SP+ and SP- from an external source
Last edit: 26 Nov 2015 15:21 by PCW.
The following user(s) said Thank You: comjon
Please Log in or Create an account to join the conversation.
26 Nov 2015 16:05 #65828
by comjon
Replied by comjon on topic spindle turns when energized, should not
What you say makes sense. To clarify: Is the 10v supplied on the TB2 side VDC ?
In supplying the 10v, if I understand what you are saying, the SP- and SP+ would have an wire for external power AND a wire to the Minarik terminal posts for the GND and V (hot) ? The SP- would receive GND power and wire to the Minarik teminal post GND, the SP+ would receive the 10V external supplied and wire to Minarik terminal post for the hot wire, correct ?
In supplying the 10v, if I understand what you are saying, the SP- and SP+ would have an wire for external power AND a wire to the Minarik terminal posts for the GND and V (hot) ? The SP- would receive GND power and wire to the Minarik teminal post GND, the SP+ would receive the 10V external supplied and wire to Minarik terminal post for the hot wire, correct ?
Please Log in or Create an account to join the conversation.
26 Nov 2015 16:17 #65829
by andypugh
Replied by andypugh on topic spindle turns when energized, should not
No.
Just pretend that the potentiometer terminals of the SPINX1 are a potentiometer. Don't connect any external power supplies to the Minarek, it's anybodies guess what that would do, but it might involve smoke.
The Minarek manual shows how to wire an external speed pot. The SPIN1X is an external speed pot. Just wire it like one.
Just pretend that the potentiometer terminals of the SPINX1 are a potentiometer. Don't connect any external power supplies to the Minarek, it's anybodies guess what that would do, but it might involve smoke.
The Minarek manual shows how to wire an external speed pot. The SPIN1X is an external speed pot. Just wire it like one.
The following user(s) said Thank You: comjon
Please Log in or Create an account to join the conversation.
26 Nov 2015 16:19 #65830
by cncbasher
Replied by cncbasher on topic spindle turns when energized, should not
their is no need to supply any external voltage , just wire as if a pot as we have said
and it will work fine
and it will work fine
The following user(s) said Thank You: comjon
Please Log in or Create an account to join the conversation.
26 Nov 2015 17:39 #65834
by comjon
Replied by comjon on topic spindle turns when energized, should not
"WIRE IT 'TIL YOU FIRE IT" ![;) ;)](/media/kunena/emoticons/wink.png)
Through a combination of Hal edits and wiring changes the spindle was bludgeoned into working with S commands. Lots of calibration still needed, spindle not turning anywhere near it's potential Max rpms, but the proof of concept is in place.
It's Turkey Time !!!!
Thanks EVERYONE for your help. Will document and post bunch of helpful stuff soon.
![;) ;)](/media/kunena/emoticons/wink.png)
Through a combination of Hal edits and wiring changes the spindle was bludgeoned into working with S commands. Lots of calibration still needed, spindle not turning anywhere near it's potential Max rpms, but the proof of concept is in place.
It's Turkey Time !!!!
Thanks EVERYONE for your help. Will document and post bunch of helpful stuff soon.
Please Log in or Create an account to join the conversation.
28 Nov 2015 00:14 #65898
by comjon
Replied by comjon on topic spindle turns when energized, should not
PCW,
The Spinx1 is turning my spindle with S commands. My maximum rpms are likely around 600, yet the motor is capable of much higher speeds, at least 3000 rpms.
You mentioned earlier a second power supply. Am I correct if I want to up my rpms I will need to add this 2nd supply to my Spinx1 on the SP terminal side to do ? Is this what you are suggesting ?
The Spinx1 is turning my spindle with S commands. My maximum rpms are likely around 600, yet the motor is capable of much higher speeds, at least 3000 rpms.
You mentioned earlier a second power supply. Am I correct if I want to up my rpms I will need to add this 2nd supply to my Spinx1 on the SP terminal side to do ? Is this what you are suggesting ?
Please Log in or Create an account to join the conversation.
28 Nov 2015 00:42 #65899
by andypugh
First of all, check what your PWM duty-cycle is with Halmeter. Perhaps this is just a PWM scaling issue.
Replied by andypugh on topic spindle turns when energized, should not
The Spinx1 is turning my spindle with S commands. My maximum rpms are likely around 600, yet the motor is capable of much higher speeds, at least 3000 rpms.
First of all, check what your PWM duty-cycle is with Halmeter. Perhaps this is just a PWM scaling issue.
Please Log in or Create an account to join the conversation.
28 Nov 2015 12:34 #65933
by comjon
Replied by comjon on topic spindle turns when energized, should not
Pwmgen.0.max-dc is set to 1
How might scaling or other values be suppressing the Max rpms?
How might scaling or other values be suppressing the Max rpms?
Please Log in or Create an account to join the conversation.
28 Nov 2015 12:53 #65935
by andypugh
Replied by andypugh on topic spindle turns when energized, should not
What is the input to your pwmgen? Is it spindle speed?
What is the scaling of the pwmgen, does it match the max spindle speed?
In other words, are you sure that the output of the pwmgen is 100% duty cycle?
Is this a parallel port system? (I have lost track).
If it is a parallel port system, then make sure that "reset" isn't enabled on the PWM pin.
What is the scaling of the pwmgen, does it match the max spindle speed?
In other words, are you sure that the output of the pwmgen is 100% duty cycle?
Is this a parallel port system? (I have lost track).
If it is a parallel port system, then make sure that "reset" isn't enabled on the PWM pin.
Please Log in or Create an account to join the conversation.
28 Nov 2015 15:21 #65945
by comjon
Replied by comjon on topic spindle turns when energized, should not
It may be easier to attach my Hal file when I get back to my shop and take less time, for example, I assume with pwmgen input you are asking me to look for something like pwmgen.0.spindle-speed <= input, but I am not familair enough with Hal syntax to discern.
This is a parport system, and I do not believe many of the settings you are asking me to confirm exist in my current Hal file. I assume your questions are with respect to the Hal file.I did not see a PWM reset in the Hal file.
This is a parport system, and I do not believe many of the settings you are asking me to confirm exist in my current Hal file. I assume your questions are with respect to the Hal file.I did not see a PWM reset in the Hal file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds