Emco PC turn 55 upgrade..

More
9 years 8 months ago #88290 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
In pncconfig I've got the spindle moving forward at the correct speed. It took me hours to realize that the gear ratios in the calculator are upside down and backwards. I also had to change the max voltage to 10 to give me the full 0-5v. It must assume that your going to give the 7i76 10v and cut it in half if you select 5.

The problem now is that when I turn the spindle on in axis it just goes to full speed. If I turn it on in mdi with "s500 m03" it still just goes 4000rpm and it does it nearly instantaneously. The plus and minus buttons in manual don't do anything, but if I move the slider below 100% it will slow it down. I also can't get the spindle to run in reverse, although I'll probably never need it to.

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

More
9 years 8 months ago #88293 by PCW
Replied by PCW on topic Emco PC turn 55 upgrade..
If you immediately get full spindle speed from low commanded speeds it indicates
that the spindle analog output scaling is wrong

Can you post your INI and HAL files here? the error should be easy to spot

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

More
9 years 8 months ago #88295 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
..

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

More
9 years 8 months ago - 9 years 8 months ago #88299 by PCW
Replied by PCW on topic Emco PC turn 55 upgrade..
from the hal file:

net spindle-vel-cmd-rpm-abs => hm2_5i25.0.7i76.0.0.spinout
net spindle-vel-cmd-rpm-abs <= motion.spindle-speed-out-abs

These mean that the spindle speed command is sent directly to the 7I76
so if you set S500 , the value 500 will be sent to the hm2_5i25.0.7i76.0.0.spinout pin

From the ini file

# Spindle
#********************
[SPINDLE_9]
P = 1.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 4085.71428571
ENCODER_SCALE = -100.0
OUTPUT_SCALE = 1
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 1

Output scale of 1 means that any number equal to or greater than 1
will result in a full scale output

Ignoring the gear setting (which are unconnected in the hal file), for a simple
4000 RPM full speed spindle you would want:

OUTPUT_SCALE = 4000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 4000
Last edit: 9 years 8 months ago by PCW.
The following user(s) said Thank You: turbo

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

More
9 years 8 months ago #88617 by turbo
Replied by turbo on topic Emco PC turn 55 upgrade..
Is there any reason to use the spindle speed output from the VFD since I've got an encoder? How can I limit my spindle acceleration?

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

More
9 years 8 months ago #88619 by jmelson
Replied by jmelson on topic Emco PC turn 55 upgrade..
No reason to use output from the VFD, the spindle encoder will be the most accurate.

Limiting spindle acceleration should be done by putting a lowpass or limit HAL component between motion.spindle-speed-out and whatever sends the analog voltage to the VFD.

Jon
The following user(s) said Thank You: turbo

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

Time to create page: 0.078 seconds
Powered by Kunena Forum