Spindle control with 5i25+7177
14 May 2014 00:04 #46896
by treichler
Spindle control with 5i25+7177 was created by treichler
I have updated a knee mill from a FAGOR 8025m controller to a Mesa 5i25+7177 kit and emc2 2.5.4.
It will now run the AXIS splash screen program but still has a couple problems.
1. How to reverse spindle? The spindle VFD drive takes a 0-10V speed signal plus a signal for run and CCW. The .ini and .hal files were generated by PNCconfig, I just changed the spindle scale and limit in the .ini:
[SPINDLE_9]
OUTPUT_SCALE = 2145
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 2145
When reversing the spindle the run and ccw signals are correct but the volts stay a zero. How do I get a negative speed with positive volts out?
I saw someone used a python script for this. Is that necessary?
2. How is the spindle acceleration and deceleration set in the configuration?
It will now run the AXIS splash screen program but still has a couple problems.
1. How to reverse spindle? The spindle VFD drive takes a 0-10V speed signal plus a signal for run and CCW. The .ini and .hal files were generated by PNCconfig, I just changed the spindle scale and limit in the .ini:
[SPINDLE_9]
OUTPUT_SCALE = 2145
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 2145
When reversing the spindle the run and ccw signals are correct but the volts stay a zero. How do I get a negative speed with positive volts out?
I saw someone used a python script for this. Is that necessary?
2. How is the spindle acceleration and deceleration set in the configuration?
Please Log in or Create an account to join the conversation.
14 May 2014 00:14 #46898
by PCW
Replied by PCW on topic Spindle control with 5i25+7177
If you are not using linuxcnc master, you must run the spindle
speed command (motion.spindle-speed-out) though the abs
component since its a signed number (negative for reverse direction)
If you want linuxcnc to limit spindle accel and deccel you can feed the
speed command through the limit2 component
speed command (motion.spindle-speed-out) though the abs
component since its a signed number (negative for reverse direction)
If you want linuxcnc to limit spindle accel and deccel you can feed the
speed command through the limit2 component
The following user(s) said Thank You: treichler
Please Log in or Create an account to join the conversation.
14 May 2014 20:20 #46925
by treichler
Replied by treichler on topic Spindle control with 5i25+7177
Thanks it is all working now.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.416 seconds