Bridgeport Torq-Cut TC4G Retrofit

More
5 years 8 months ago - 5 years 8 months ago #197680 by Todd Zuercher
Have you tuned the PID loops in Linuxcnc? A servo can't work without tuning, and every one is different and requires it's own specific settings for the specific application you are using it in. For example 4 identical motors used for for different axis on the same machine will likely all have different optimal PID settings, because each axis will have different inertia, friction, and possibly scale.

Have you read any servo tuning tutorials.
gnipsel.com/linuxcnc/tuning/servo.html

It also doesn't hurt to read some that are not specific to Linuxcnc.
Last edit: 5 years 8 months ago by Todd Zuercher.
The following user(s) said Thank You: chopper79

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

More
5 years 8 months ago #197697 by chopper79
I have not went into the tuning yet as I am not even able to jog more than 1/8 of a rotation of motor shaft before the following error occurs. I did set my following error to 1.0" and still could not get the machine to jog hardly at all until the following error occurred.

Based on my experience with other retrofits I have never had to adjust the PID to get basic movement. Once basic movement with a large error is achieved then I tune everything in. Either I am lucky or something else is going on with my setup. Here is the current status of lets just go with Y axis

* Axis is stationary when enabled (No runaway or movement of any kind, minus dither of 0.0001")
* When trying to jog axis the motor will move about 1/8 of a rotation and then fault with a following error
* Increased error to 1.0" which allows for maybe 1/2 rotation of motor shaft
* Jog speed set at 10 IPM (slow rotation of motor shaft)
* Jog speed set at 600 IPM (Same slow rotation as 10 IPM)

I have not adjusted any PID items yet. Just seemed odd that there was no basic movement of the machine like the other 8 times I did retrofits. I also have not put a VOM on the +/-10 to see what the voltage is either so I can not report that.

Encoder scale math (Please verify) 8192 p/r x 4 / 12.0mm (Pitch) = 2730.666 x 25.4 = 69358.933 (Sound correct?)

I will double check a couple things tomorrow and see what happens. I may have a feedback signal, output signal, and scale all incorrect which is causing this. I don't know...

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

More
5 years 8 months ago #197702 by chopper79
Well... I feel like a complete idiot now.

After doing a bit of thinking about my statement earlier on how it seems that something is up with the +/-10v. I decided to check the wiring..

Y axis works wonderfully now. It helps when you do not have the Aout and Gnd swapped for your analog out. The end was cut off so I made a guess at what was what.

I went with a simplistic approach which was Red wire goes to Aout and Black wire goes to Gnd. It is actually the other way Black goes to Aout and Red goes to Gnd.

Well time to do the X and Z axis and hopefully the 7i77 is not damaged. It should not be even though this mistake can damage it.

Will update more tomorrow..

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

More
5 years 8 months ago #197757 by chopper79
Got all X,Y, and Z axis all working (Excluding tuning of the PID)

The spindle issue I mentioned previously is still giving me some grief. Here is what is happening.

* Spindle CW is pressed and the spindle turns on and runs in CCW at -18rpm. (VFD shows FWD)
* Spindle speed increase is pressed (1 click) and spindle changes direction and rotates CW at 94 rpm (VFD shows FWD)
* When I stop the spindle the spindle stops
* Spindle CCW is pressed the spindle rotates CW at +24 rpm (VFD shows REV)

M3s100 starts spindle CW and rotates at +94rpm (VFD shows FWD)
M4s100 starts spindle CW and rotates at +133 rpm (VFD shows REV)

Not exactly sure what is going on at this moment. Any pointers?

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

More
5 years 8 months ago - 5 years 8 months ago #197780 by chopper79
Ok this is for anyone else who is taking on this adventure with one of these machines that has the 626vm3c drive for the spindle. If you take apart your spindle motor to replace bearings or the internal encoder. You have to set the drive up to account for the removal of the encoder in the motor. I marked it before taking off, but when reassembling I must have been off a little bit.

Parameter C1-11 in the drive changes this so you can match your rpm to the new position of the magnetic encoder after rebuild.

After adjusting this I now have FWD and REV correctly working with a speed feedback that matches both the encoder in the spindle motor and the one on the spindle itself.

First time using one of these spindle drives and rebuilding a spindle motor. Learning something new all the time.

Making progress slowly, but worth the struggles so far.
Last edit: 5 years 8 months ago by chopper79.

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

More
5 years 8 months ago - 5 years 8 months ago #197957 by chopper79
Well I am messing with the spindle some more and noticed the following:

Press spindle CW button and the spindle enables and a small amount of voltage is being provided causing the spindle to rotate somewhere between 0 and 1 rpm.

I believe that the issue might be coming from my configuration or LCNC. Maybe not though...

I change the VFD to operate from the keypad on the VFD the spindle works perfect. When I change back to operating the VFD via LCNC the spindle has this light rotation. I also removed the analog wiring from the 7i77 and tested. When the CW button is pressed the FWD indicator on the front of the VFD turns on and no rotation is present. Voltage is present on analog outputs on 7i77 still. I took a voltage measurement on the analog terminals and I am getting ~ 0.006vdc of output from the 7i77 with the CW button pressed and no speed command given.

My question is do I need to scale the output somehow, so the small voltage present is no longer present?

This is preventing me from moving forward with the configuration as I do not want to work on other items (Spindle wise) until I can get this issue squared away. That being said any help would be great.
Last edit: 5 years 8 months ago by chopper79. Reason: Remove picture

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

Time to create page: 0.441 seconds
Powered by Kunena Forum