Starting from scratch (again) - Next Step - VFD

More
6 years 10 months ago #152416 by mooser
OK, steppers at least partially functioning for now, onto the next step

Existing VFD is a Minarik VFD05-D230-PCM connected to 220v 1ph running a 230v 3ph motor
Existing mach3 setup is 0-10v control (through the C11G BOB via mach it's set to step/dir)
I never got the motor reversal to work properly and had to fake it using m8/m9 to control a relay on the BOB to get teh VFD to reverse, hopefully that's something I can fix now withe linuxcnc and the 7i76

VFD wiring has the following - Voltage following 0-10v


D S3 S2 S1 E1 E2

S3 is not used right now but it's one end of the pot with the other being S1 and the wiper would be S2
S2 and S1 are the GND and 0-10v signal lines

D is the enabled and is connected to E1 via relay on the C11G and controlled by the M3 command
E2 is the direction and is either shorted or open to E1 to change the direction of the motor

(Does seems odd that the D terminal is for Enabled and the E2 terminal is for the Direction but that's what it shows....)

Anyway, apparently that's the Asian way of doing things so I'll need M3 to close the enabled AND close the dir pins and then M4 to close the enabled while opening the dir pin.

Looking at the 7i76 TB4 pins 1,2 and 3 it says that spindle + is one end of the pot, spindle - would be the other and spindle out would be the wiper Good enough I can wire that to S1,3 and 2 respectively

Then it gives me enabled (p6) and dir (pin8) as isolate opto switches so hopefully I can use those to control the two separate switches I need via M3 and M4

Anyway, on the PNCconf under TB4 I only have POT output and POT enabled (under the 0)

1.. Does that just turn everything for the spindle on TB4 on automatically?
2.. It's talking about what happens when +5/-5v is supplied to TB4, do I supply the 10v separately to the card (separate from field power?) I have +/- 5v and +/- 12v available in the cabinet, never thought about needing a separate 10v source
3.. What's the best approach to dealing with the enable and dir switching (VFD wants them connected or open to E1) do they need to go to a separate set of relays then I guess

Thanks for the sanity check

M

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

More
6 years 10 months ago - 6 years 10 months ago #152417 by PCW
Typically the VFD provides the 10V for the 7I76's potentiometer simulator

Since the direction and enable inputs work as contact closures
(the contacts should be replaceable by the 7I76's optos)
no other power supply should be needed

The enable and direction signal polarity are not clear but can be determined
with a voltmeter
Last edit: 6 years 10 months ago by PCW.

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

More
6 years 10 months ago #152418 by mooser
Makes sense then, the 7i76 is truly acting as a pot replacement then. I'll test the enabled - dir switch tomorrow.

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

More
6 years 10 months ago #152668 by mooser
OK, spindle control seems (according to meter and test lights) seems to working and looks to be reversing correctly
I'll have to deal with tuning later

Next step will be the spindle encoder, looks like I'll have to make a different setup than the one currently on the machine though.
Thanks again, stay tuned for a new encoder thread
M

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

More
6 years 10 months ago #153113 by mooser
Found an old US digital encoder, 5v A B with no index, 1000 lines. I might be able to make this fit somewhere with a pulley to the spindle (maybe)

Hooked to TB3 as per the 7i76 manual (pins 7=A+, 9=GND,10=B+ and 12=5v)

As far as I can tell the only setting in pncconf is on conn3 (I'm still really confused with navigating around the pncconf vs pins on the 7i76)
Now, is there a way to test this encoder without having the actual VFD hooked up and the encoder connected to the spindle?
As in can I spin the encoder by hand and see a resulting ??? on the screen?

Also, for threading, can I use a separate single pulse, currently the spindle has a single slot / optical sensor that mach3 was using, I'm thinking that could be wired into pin 13 IDX+ on it's own

M

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

More
6 years 10 months ago #153118 by PCW

mooser wrote: Found an old US digital encoder, 5v A B with no index, 1000 lines. I might be able to make this fit somewhere with a pulley to the spindle (maybe)

Hooked to TB3 as per the 7i76 manual (pins 7=A+, 9=GND,10=B+ and 12=5v)

As far as I can tell the only setting in pncconf is on conn3 (I'm still really confused with navigating around the pncconf vs pins on the 7i76)
Now, is there a way to test this encoder without having the actual VFD hooked up and the encoder connected to the spindle?
As in can I spin the encoder by hand and see a resulting ??? on the screen?

Also, for threading, can I use a separate single pulse, currently the spindle has a single slot / optical sensor that mach3 was using, I'm thinking that could be wired into pin 13 IDX+ on it's own

M


You can test the encoder by connecting it and watching the encoder position (via the watch window or halmeter)
as you turn the encoder shaft

Note that since you have a single ended encoder you will have to jumper the 7I76 encoder inputs for single ended = TTL mode

You can use an independent index source so the slot detector should work OK

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

Moderators: cmorley
Time to create page: 0.072 seconds
Powered by Kunena Forum