Emcoturn 120 lathe retrofit

More
10 years 3 months ago #77472 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
time to work on the spindle. hooked it up to my first guess and nothing. manual buttons NO, M3 NO. I am not sure if I have the VFD setup or wired correctly or if I have a program issue. so here are the culprits.

spindle section of HAL
Code:
# external input signals # --- SPINDLE-MANUAL-CW --- net spindle-manual-cw <= hm2_7i76e.0.gpio.017.in # --- SPINDLE-MANUAL-CCW --- net spindle-manual-ccw <= hm2_7i76e.0.gpio.018.in # --- SPINDLE-MANUAL-STOP --- net spindle-manual-stop <= hm2_7i76e.0.gpio.019.in #******************* # SPINDLE S #******************* setp pid.s.Pgain [SPINDLE_9]P setp pid.s.Igain [SPINDLE_9]I setp pid.s.Dgain [SPINDLE_9]D setp pid.s.bias [SPINDLE_9]BIAS setp pid.s.FF0 [SPINDLE_9]FF0 setp pid.s.FF1 [SPINDLE_9]FF1 setp pid.s.FF2 [SPINDLE_9]FF2 setp pid.s.deadband [SPINDLE_9]DEADBAND setp pid.s.maxoutput [SPINDLE_9]MAX_OUTPUT setp pid.s.error-previous-target true net spindle-index-enable <=> pid.s.index-enable net spindle-enable => pid.s.enable net spindle-vel-cmd-rpm-abs => pid.s.command net spindle-vel-fb-rpm-abs => pid.s.feedback net spindle-output <= pid.s.output # ---digital potentionmeter output signals/setup--- setp hm2_7i76e.0.7i76.0.0.spinout-minlim [SPINDLE_9]OUTPUT_MIN_LIMIT setp hm2_7i76e.0.7i76.0.0.spinout-maxlim [SPINDLE_9]OUTPUT_MAX_LIMIT setp hm2_7i76e.0.7i76.0.0.spinout-scalemax [SPINDLE_9]OUTPUT_SCALE net spindle-vel-cmd-rpm-abs => hm2_7i76e.0.7i76.0.0.spinout net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena net spindle-ccw => hm2_7i76e.0.7i76.0.0.spindir # ---setup spindle control signals--- net spindle-vel-cmd-rps <= motion.spindle-speed-out-rps net spindle-vel-cmd-rps-abs <= motion.spindle-speed-out-rps-abs net spindle-vel-cmd-rpm <= motion.spindle-speed-out net spindle-vel-cmd-rpm-abs <= motion.spindle-speed-out-abs net spindle-enable <= motion.spindle-on net spindle-cw <= motion.spindle-forward net spindle-ccw <= motion.spindle-reverse net spindle-brake <= motion.spindle-brake net spindle-revs => motion.spindle-revs net spindle-at-speed => motion.spindle-at-speed net spindle-vel-fb-rps => motion.spindle-speed-in net spindle-index-enable <=> motion.spindle-index-enable # ---Setup spindle at speed signals--- sets spindle-at-speed true

spindle section of ini
Code:
#******************** # Spindle #******************** [SPINDLE_9] P = 0.0 I = 0.0 D = 0.0 FF0 = 1.0 FF1 = 0.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 6000.0 OUTPUT_SCALE = 6000 OUTPUT_MIN_LIMIT = 0 OUTPUT_MAX_LIMIT = 6000

will post VFD pages in a few minutes after I scan them

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

More
10 years 3 months ago #77473 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
vfd pages










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

More
10 years 3 months ago - 10 years 3 months ago #77474 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
I am currently set with these options. what I need is to recode the pin designations to work with the fwd, rev and stop shown in the last picture in light blue




Last edit: 10 years 3 months ago by LutzTD.

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

More
10 years 3 months ago - 10 years 3 months ago #77507 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
looks like I need a relay for the spindle, yippie :unsure:

ENA- ---> GND
ENA+ ---> RELAY COM
RELAY NO ---> FWD
RELAY NC ---> REV

RELAY COIL+ ---> +24V
RELAY COIL- ---> DIR+
DIR- ---> GND
Last edit: 10 years 3 months ago by LutzTD.

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

More
10 years 3 months ago - 10 years 3 months ago #77509 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
revised spindle connections, I will likely put the 5v pot back as it looks like the problem was the direction and enable. I will see if I can start from the panel and control speed with the pot until I get the relay


Last edit: 10 years 3 months ago by LutzTD.

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

More
10 years 3 months ago #77599 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
revised again. as far as my ME background circuit reading tells me, the VFD wants its logic ground as the signal for direction so I have this thought to use two relays. Can the 7i76e be used to act as a relay for an external signal ground? If not I will have to use relays. This assumes it picks the direction (fires direction relay) before it enables the spindle.


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

Time to create page: 0.401 seconds
Powered by Kunena Forum