OK, I turned off the "Spindle has encoder" in the Galil plugin. I put my spinforward output in the M3 macro. I'm still not getting the right movement from my spindle. I noticed in the Galildebug file that OFE=-1.099. Should it be positive?
Let me list this out for you. I have 5 outputs that are used for my spindle:
The first output is the spindle forward. This connects to the "FWD" connection on the VFD. (The manual shows a "FWD" and a "REV", it can use either one. If "FWD" is active then the spindle runs CW, if "FWD" is inactive then it runs CCW. I don't have anything hooked to "REV").
The second output is "SSC" Soft Start Cancel. The manual says that this is used to shorten the Accel and Decel, mostly for ridged tapping.
The third and forth output are low and high gear. I have a solenoid that shifts the gear box from high to low gear. The low gear output runs two relays, one for the low gear solenoid and the other relay goes to the "LGR" on the VFD. (According to the manual this is used for gear ratio within the VFD, to optimize control).
The fifth output is spindle orientation.(This turns on and off the spindle orientation).
In my M3 macro I have this:
ActivateSignal(OUTPUT1) 'Spindle Forward
Sleep (100)
ActivateSignal(OUTPUT8) 'Low Gear (also changes state of gear ratio in the VFD)
Sleep (100)
DoSpinCW()
That enables all the outputs I need to check the spindle (I have checked and when I issue a M3S100 the outputs come on).
I have noticed that if I enable just the spindle forward output the spindle spins at the same speed as if I issue an M3 (Which is close to .5 - .75 RPM).
I'm at a loss here on what to do next. Please help
Thanks,
Aero