7i76 spindle control

More
29 Sep 2020 08:10 - 07 Oct 2020 09:21 #184251 by centreline
Hi all,
I have 7i76 and want to control my vfd for the spindle. It seems a bit of a odd unit because it has different contacts for fwd and reverse along with a analog input voltage for speed. Its a altivar18 vfd if that matters.

I have it wired with DIR+ connected to the control contact +ve feed (L0+), and DIR- to the fwd input on the vfd (Li1), and analog voltage control set up. That is working in forwards with speed control/fwd direction from Linuxcnc gui.
It needs either fwd (Li1) OR reverse(Li2) selected to move, if both are activated the vfd wont start, so if I wire DIR up to the reverse contact (Li2) and Ena to Li1, because Enable & Dir is triggered it doesnt spin. I could ignore enable, and use DIR to switch into forward, but then how to select reverse using the 7i76.

So my problem is how to wire/switch direction from fwd to reverse with this vfd, any suggestions?

To head off the why bother with reverse at all, I need reverse because I've kept the mechanical low speed gearbox in my machine's spindle, and in low the spindle rotates the opposite sense even though the vfd is spinning it "forwards". Previously with a parport and spindle control board + linuxcnc I had it set up with a gearbox component that knew from the rpm and a mechanical gear selector contact which way was needed to rotate the vfd to make the spindle spin the right way regardless of speed commanded.
Last edit: 07 Oct 2020 09:21 by centreline. Reason: marked it resolved

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

More
29 Sep 2020 08:13 #184252 by centreline
Replied by centreline on topic 7i76 spindle control
I'll add the altivar instructions diagram to make it clearer hopefully.
Switch wiring


vfd pin functions
Attachments:

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

More
29 Sep 2020 09:02 #184256 by rodw
Replied by rodw on topic 7i76 spindle control
The way I read the docs, fwd and reverse need to be connected to seperate 7i76 outputs per this heading
linuxcnc.org/docs/2.8/html/examples/spin...l#_spindle_direction
So then those outputs should trigger separate relays that connect LO+ with Li1 (forward) and Li2 (reverse)
Be sure to add a flyback diode around the relay coil with the diode band pointing toward the 7i76 output
That way direction will be controlled by M3 and M4
The following user(s) said Thank You: centreline

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

More
29 Sep 2020 10:05 #184261 by tommylight
Replied by tommylight on topic 7i76 spindle control

I have it wired with DIR+ connected to the control contact +ve feed (L0+), and DIR- to the fwd input on the vfd (Li1), and analog voltage control set up. That is working in forwards with speed control/fwd direction from Linuxcnc gui.
It needs either fwd (Li1) OR reverse(Li2) selected to move, if both are activated the vfd wont start, so if I wire DIR up to the reverse contact (Li2) and Ena to Li1, because Enable & Dir is triggered it doesnt spin. I could ignore enable, and use DIR to switch into forward, but then how to select reverse using the 7i76.

Why would you do that? Where did you get that wiring idea?
7i76 has a connector for wiring VFD's to it, so read the manual.
I am skipping the wiring for now to give you time to read that and find where the VFD should be wired.

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

More
29 Sep 2020 10:26 #184265 by centreline
Replied by centreline on topic 7i76 spindle control
tommylight, I have read the manual, Its how I got the spindle to rotate and speed control to work. But most the threads I can find use a enable wire on the vfd to start, and a dir input wire to swap direction. This vfd doesn't behave like that.
I have the connections from tb4 to the vfd as follows
TB4 VFD
1 Spindle- ---> Com
2 Spindle out --> A/1
3 Spindle +v --> +10
4 NC
5 Ena
> ? (as per text, I have no enable and cant use it for reverse)
6 Ena +
>? (as per text, I have no enable and cant use it for reverse)
7 Spindle Dir ---> Li1
8 Spindle Dir+ --> LO+

RodW, last time I had a spindle control board and I used a relay on it to swap dir between the fwd and reverse inputs to select direction in that way, Someone suggested there would be a way to do this without a external relay using the native 7i76 connections so that's what I'm trying to figure out.

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

More
29 Sep 2020 10:44 #184267 by rodw
Replied by rodw on topic 7i76 spindle control


RodW, last time I had a spindle control board and I used a relay on it to swap dir between the fwd and reverse inputs to select direction in that way, Someone suggested there would be a way to do this without a external relay using the native 7i76 connections so that's what I'm trying to figure out.


Oops I got it a bit wrong. I've never used a spindle. The direction signals are on TB4 spindle interface.

Look at the circuit diagram. It shows the fwd and rev have a switch between the input and +24v on the VFD.
The 7i76 outputs are not switches.
I think you need relays!

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

More
29 Sep 2020 10:46 #184268 by centreline
Replied by centreline on topic 7i76 spindle control
I'm probably wrong about no Enable on the vfd on reflection, If removing the +24 -> LO+ jumper on the vfd itself disables the drive, I'll test, and if so I can enable the motion with the 7i76's ena outputs, and have a external relay driven by 7i76 DIR output to switch between forward and reverse with a single output.

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

More
29 Sep 2020 10:55 #184269 by tommylight
Replied by tommylight on topic 7i76 spindle control

TB4 VFD
1 Spindle- ---> Com
2 Spindle out --> A/1
3 Spindle +v --> +10
4 NC
5 Ena
> ? (as per text, I have no enable and cant use it for reverse)
6 Ena +
>? (as per text, I have no enable and cant use it for reverse)
7 Spindle Dir ---> Li1
8 Spindle Dir+ --> LO+

That is how it should be. Above you had Dir + and Dir- so that was wrong in many levels.
On your last post you are on the right track as that could work.

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

More
29 Sep 2020 11:11 #184273 by rodw
Replied by rodw on topic 7i76 spindle control

.... and have a external relay driven by 7i76 DIR output to switch between forward and reverse with a single output.


I don't think you can use a single relay. M3 turns on the dir+ direction. M4 turns on the dir- direction. These two signals are managed by linuxcnc and will never be enabled at the same time. eg an M4 will cancel any active M3 and vice versa.

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

More
29 Sep 2020 11:58 #184277 by tommylight
Replied by tommylight on topic 7i76 spindle control
But they will not cancel "enable", so his method should still work by making the default forward and when the relay is triggered to go in reverse, so the relay would be active only on M4.
The following user(s) said Thank You: rodw, centreline

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

Moderators: PCWjmelson
Time to create page: 0.207 seconds
Powered by Kunena Forum