7i76e analog spindle doesn't start
23 Feb 2022 12:17 - 23 Feb 2022 12:33 #235594
by cheburs
7i76e analog spindle doesn't start was created by cheburs
Hi,
Im trying to configure vfd to mesa TB4.
I have connected as follows:
7I76 TB4 VFD
1 SPINDLE- ==> AI1 COMMON GND
2 SPINDLE OUT ==> ANALOG INPUT AI1
3 SPINDLE+ ==> 10V OUT VFD VS (jumper set so it gives +10V)
4
5 SPINDLE ENA- ==> DI1 / setting no 7: - Forward (FWD) running command terminal
6 SPINDLE ENA+ ==> +24V from vfd
7 SPINDLE DIR- ==> DI2 / setting no 8: - Reverse (REV)running command terminal
8 SPINDLE DIR+ ==> +24V from vfd
I can measure 10v between pin 1-3
And when starting spindle from linuxcnc voltages also adjusts according to speed. 10v=24000 rpm etc
But it just doesnt turn.
VFD display readout also adjusts to correct Hz. 24000 = 800 Hz when controlling speed from linuxcnc
VFD manual - www.simphoenix.com/uploads/34a3ef73.pdf
Im guessing im missing some kind of enable.
Spindle INI section:HAL:
Im trying to configure vfd to mesa TB4.
I have connected as follows:
7I76 TB4 VFD
1 SPINDLE- ==> AI1 COMMON GND
2 SPINDLE OUT ==> ANALOG INPUT AI1
3 SPINDLE+ ==> 10V OUT VFD VS (jumper set so it gives +10V)
4
5 SPINDLE ENA- ==> DI1 / setting no 7: - Forward (FWD) running command terminal
6 SPINDLE ENA+ ==> +24V from vfd
7 SPINDLE DIR- ==> DI2 / setting no 8: - Reverse (REV)running command terminal
8 SPINDLE DIR+ ==> +24V from vfd
I can measure 10v between pin 1-3
And when starting spindle from linuxcnc voltages also adjusts according to speed. 10v=24000 rpm etc
But it just doesnt turn.
VFD display readout also adjusts to correct Hz. 24000 = 800 Hz when controlling speed from linuxcnc
VFD manual - www.simphoenix.com/uploads/34a3ef73.pdf
Im guessing im missing some kind of enable.
Spindle INI section:
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 24000
OUTPUT_SCALE = 24000
OUTPUT_MIN_LIMIT = 3000
OUTPUT_MAX_LIMIT = 24000
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
addf abs.spindle servo-thread
addf lowpass.spindle servo-thread
#*******************
# SPINDLE
#*******************
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 => pid.s.command
net spindle-vel-fb-rpm => pid.s.feedback
net spindle-output <= pid.s.output
# ---setup spindle control signals---
net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm <= spindle.0.speed-out
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-enable <= spindle.0.on
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse
net spindle-brake <= spindle.0.brake
net spindle-revs => spindle.0.revs
net spindle-at-speed => spindle.0.at-speed
net spindle-vel-fb-rps => spindle.0.speed-in
net spindle-index-enable <=> spindle.0.index-enable
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-output => 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 at speed signals---
sets spindle-at-speed true
Attachments:
Last edit: 23 Feb 2022 12:33 by cheburs.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
23 Feb 2022 14:47 #235611
by tommylight
Replied by tommylight on topic 7i76e analog spindle doesn't start
Does the VFD have a screen with a keypad?
Most of those will require setting them to "remote" control from that panel.
Most of those will require setting them to "remote" control from that panel.
Please Log in or Create an account to join the conversation.
23 Feb 2022 14:48 #235613
by Aciera
I haven't plowed through the whole manual so I'm not sure if the Digital Inputs can be set to either sourcing or sinking but to me it looks like you need to connect the digital inputs to 'CM' not +24V.
Replied by Aciera on topic 7i76e analog spindle doesn't start
5 SPINDLE ENA- ==> DI1 / setting no 7: - Forward (FWD) running command terminal
6 SPINDLE ENA+ ==> +24V from vfd
7 SPINDLE DIR- ==> DI2 / setting no 8: - Reverse (REV)running command terminal
8 SPINDLE DIR+ ==> +24V from vfd
I haven't plowed through the whole manual so I'm not sure if the Digital Inputs can be set to either sourcing or sinking but to me it looks like you need to connect the digital inputs to 'CM' not +24V.
Attachments:
Please Log in or Create an account to join the conversation.
23 Feb 2022 16:58 - 23 Feb 2022 17:00 #235626
by cheburs
Replied by cheburs on topic 7i76e analog spindle doesn't start
Attachments:
Last edit: 23 Feb 2022 17:00 by cheburs.
Please Log in or Create an account to join the conversation.
24 Feb 2022 14:43 #235698
by cheburs
Replied by cheburs on topic 7i76e analog spindle doesn't start
Connected from 24+ to CM in VFD and spindle now runs. Hurray!
However need to look into rev running, because it does not spin backwards right now. When commanded rev it spins same direction forward.
However need to look into rev running, because it does not spin backwards right now. When commanded rev it spins same direction forward.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.125 seconds