Wow... That is a weird one!
All the check box does is control whether or not to use a JG command or an OF to run the spindle. It does no other magic.
I assume that your spindle does not use an encoder. If that is the case, then the KP, KI, and KD parameters for the axis driving the spindle all need to be set to 0 and burned with the BN command. Otherwise, you need to have proper PID values to use an encoder.
Maybe your previous card had the PID set to zero and you new one doesn't. That is the only thing I can come up with.
Steve
Hello Steve, just a quick question, I have a Hardinge HNC lathe with a Galil 2130 running a VFD and have it working without the encoder, but how do I tune the (and get the P.I.D Values) so that I can use the encoder that I have on the spindle...it's a 2500 PPR quad encoder 1-1 on the spindle? The encoder is properly wired to the Y(B) axis that sends the 0-10v to the VFD also this encoder has index..does that help anything? hoping I can try threading!
-Roo Trimble...BTW: to see a lot of fun Mach-created widgits take a look at the little car that I bulit...www.roopod.com Thanks in advance!
First, the VFD must be able to run like a servo drive. In most cases, this means that it can accept a +-10v command signal AND allow disabling on its internal PID control loop. This allows the Galil to run the control loop. Then you set up the PID values in the Galil. You cannot have two control loops running! That is a PID fight. Much worse than a cat fight.
As to what values to use for PID in the Galil, that is very VFD/motor dependent. And it is NOTHING like tuning a table load for a servo. Galil has an application note that explains some of the peculiarities.
If the VFD has a setup that shows the internal PID values, you can then use those to figure the ratios between P, I, and D, but the actual numbers will be different on the Galil. If the VFD can't disable its own PID loop (very common, unfortunately), you are then stuck with the unenviable task of trying to match the PID loop on the VFD to the one on the Galil EXACTLY to avoid a PID fight. Not easy to do. But people get lucky sometimes...
Second, only Kenny has threading working on his lathe. And it was a HUGE task. Not for the feint of heart. It evolves writing a Galil language routine that runs on the Galil, a modified 1076 macro, and Notifies setup to poke values down to the Galil. The index pulse can be used to sync the thread. However, it is just a blip on the radar and Kenny had to run that index pulse into a one shot timer to extend the signal beyond 4ms. The output of the one shot timer is then wired to two GP inputs (the position latch inputs 1 and 3) to "start" the threading routine that is running on the Galil. The Galil routine should be modified to reflect the counts per unit of the machine.
The details and files required for this are here:
http://www.smcomp.com/~smurph/exes/MachGalilThreading.zip. However, you are on your own to get this working. Kenny and I are too busy to provide any kind of support in this realm.
Steve