Hello Guest it is January 19, 2021, 12:38:13 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - murilolana

Pages: 1
1
VB and the development of wizards / Tool zeroing macro help
« on: November 08, 2012, 08:01:40 PM »
Hi everyone,

I need some help on writing a macro for zeroing the tool. I always zero the tool by the center of the work piece, so I touch one side of the piece with the tool or edge finder, then zero it, go to the other side and touch the piece again; then I divide the DRO value by 2 and that's it. same procedure for both x & y axis.
So, here's my idea: a macro that would get the DRO value, divide it by two, move the axis to this new value and zero the tool.
Can anyone help me writing this?

Thanks

2
 Hey guys,

I'm having some problems setting up my electronics. The configuration is: SS, C11G,  G320X, KL2200 spindle, keling VFD22, 72V 20amp power supply.
I've pre assembled everything on a MDF sheet, just for testing the motors, drivers, bob and VFD. Everything seemed to be fine on these tests.  I could even  calibrate the spindle and the VFD  didn' t cause any interference that I could notice. 
Now my machine is assembled and I started to wire limit switches and everything else for testing. I could tune motors and put the limit switches to work, but when I tried to run the spindle the system crashed. As soon as I gave a M3S*********x command I got the following message:

Error returned from USB function FT_write
Error: FTDI USB DRIVER ERROR

ERROR = FT_IO_ERROR

Bytes requested: 192
Bytes written: 0

I couldn't run the spindle for 1 second cause in the moment the CW relay turned on, the SS crashed. When this occurs the red led on the SS stops to blink and I need to switch it off and restart Mach3.
I unpluged the spindle cable and gave the M3S*********x command again and got no problem, so the VFD itself is not causing the noise to SS board. I figured out that the spindle is causing the noise, somehow it is throwing interference through its cable.
I'm powering the analog 0-10v spindle speed control with an ATX power supply that I took from an old computer. The C11G was being powered with a 5v regulated power supply, so I tried using the 5v output from the ATX instead and got the spindle to run, but still crashing after a while. 
After all the testings I presume it is a grounding problem and need help solving this. 

Does anyone experienced this ?
I've read somethings about ground loop but I don't know much of electrical theory. Can someone explain me what it is, how it occurs and what should I do to avoid it?
Which is the best way to ground everything?
I've disabled the mechanical limit switches because I think they were making things worse. Is there a way to ground or shield them against noise?
Does anyone know if a wrong wiring of the UVW inputs on the VFD could cause noise issues?

Please someone help me! I really need to get my machine to work. 

Thanks

3
General Mach Discussion / Spindle speed fine tuning
« on: October 19, 2011, 05:04:42 PM »
Hi everyone,

Today I finally got the C11G analog output to "talk" to the VFD, but I still need some help with spindle speed fine tuning.
I've followed the steps of the support doc available in the forum and got a good result on the high rpm settings, but accuracy gets bad as I low the rpm...
If I give a max speed command, I get 10,03V at the output, which makes the VFD to run at 400Hz, but if I command half the speed I get 197Hz when it should be 200Hz and that difference get bigger as a low the speed. If I set the speed at 10% of max I get 35Hz instead of 40Hz, and in this case, the difference is about 300 rpm.
So, the linearity is kind of OK but a little displaced at its botton.
I wish to know if is there a way to fine tune this.

Can anyone help me with this?

By the way, I'm using a KL-2200 spindle with the KL-VFD22 (Huanyang VFD), C11G bob, SS, G320X drivers.
Here is a picture of the components pre-assembled for testing and configuring:
Thanks.

4
SmoothStepper USB / Help! Servo turns CW only with SS
« on: October 03, 2011, 05:57:24 PM »
Hi everyone,

I just bought a SS last week and hooked up one servo today to test it. I`m using a C11G bob, G320x drivers and now the SS.
I`ve connected everything and tunned as a X axis, but no matter wich direction I jog, the servo only spins CW. I press the left arrow and it spins CW, I press the right arrow and it spins CW anyway...

Can anyone help me?

I`ve tested the C11G bob without the SS once and it worked ok, although not so smooth.

Thanks.

Pages: 1