Pimping the mini-lathe

More
6 years 3 months ago - 6 years 3 months ago #176495 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks Rod.

At this point I am still trying to get my head around the spindle set up. The PNCConf set up the spindle basically as a closed loop servo as far as I can see. Which is pretty cool, but I am a still trying to work out what nets I need to make to get it going, as it is a lot more complicated than what I have on the MAHO.

I have the 7i96 PWM output running through the analog conversion card to the VFD working, and have tested speed control with HALshow to

setp hm2_7i96.0.pwmgen.00.value xxx

I am not sure what LinuxCNC spindle speed signal or pin I need to net to that hm2_7i96.0.pwmgen.00.value , or the associated hm2_7i96.0.pwmgen.00.enable? I get a bit lost in the heirarchy of IOcontrol/Motion/HALUI etc pins which all have some spindle connection.

The next issue is the VFD FWD/REV and Enable signal wiring. Three of the 7i96 outputs are hooked up to the VFD .






I can control the 7i96 switches on and off through the HALshow. However, I can't control the VFD, as there is enough leakage current for the VFD to detect them as always on, as the 7i96 output relays are only 15MOhm when off.
<fake know stuff about electronics>
Do I need to add pull down resisters? There is no information in the VFD manual on the max Voltage threshold before it triggers, so I don't know what to plug into the formula provided here
I have a large selection of 1/4W resisters. I tried adding a 1kOhm resister between VFD X1-14 and GND, but it didn't change the state of the VFD Enable. It stays on.

</faking knowledge>
... or do I have a completely different problem?
Last edit: 6 years 3 months ago by RotarySMP.

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

More
6 years 3 months ago - 6 years 3 months ago #176602 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Just bumping this back up. Does someone have a suggestion of how I can get the 7i96 output signals to switch the VFD reliably please?
Mark
Last edit: 6 years 3 months ago by RotarySMP.

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

More
6 years 2 months ago #176909 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
I was hoping to have Episode up at the normal time, but the 4K render failed over night, and after changing some settings, it took nearly eight hours to render it, and then three hours to upload it. I'm going back to 1080P.


If anyone has input on how to get the VFD's inputs to play nicely with the 7i96 outputs, I would appreciate it. Also any inputs on how the tie the PWNGen into the LinuxCNC/Gmoccapy pins. Thanks.
Mark

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

More
6 years 2 months ago #176921 by PCW
Replied by PCW on topic Pimping the mini-lathe
If the 7I96 outputs seem to be always on, its likely you have the polarity backwards
The following user(s) said Thank You: RotarySMP

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

More
6 years 2 months ago - 6 years 2 months ago #176925 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thank PCW. The polarity of the 7i96 switches? I thought these didn't matter. Would you mind taking a quick look at this latest video, at around minute 13:00 I show the behaviour.
Edit.
The 7i96 seems to switch properly, but "off" is a 2MOhm resistance, not an open circuit.
Mark
Last edit: 6 years 2 months ago by RotarySMP.

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

More
6 years 2 months ago #176927 by PCW
Replied by PCW on topic Pimping the mini-lathe
I can actually see from your wiring that its backwards
( +15 from VFD pin 11 goes to output- pins but should go to output+ pins )
The following user(s) said Thank You: RotarySMP

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

Moderators: piasdom
Time to create page: 0.482 seconds
Powered by Kunena Forum