Originally Posted by
Gojira
Hey all.
Mach4 4.2.0.3804
ESS Build 232
Gecko G540
Nowforever VFD
Ive been using the setup for awhile with just the Potentiometer on the VFD for spindle control, I want to setup software control with the ESS/Gecko/Mach4
Ive set it all up as I believe it should be (following manuals etc) but as soon as I connect the wiring from the GeckoG540 to the VFD it activates the spindle and sets it at 232hz no matter what I change?
My wiring is as follows:
Gecko G540 Pin 7 (VFD Ground) --> Comm Terminal on VFD
Gecko G540 Pin 8 (VFD Out) --> X1 Terminal on VFD (Spindle FWD Input)
Gecko G540 Pin 9 (VFD 10V) --> AIN1 (Analog Input 1)
Software setup:
Mach 4 ESS plugin config:
Spindle: Type = PWM
Frequency Hz = 400z (im not actually sure about this one? how do you know the base hz, I just choose the max hz
Pins Config:
Port 1 - Pin8 - Out - Active High - Spindle PWM
Port 1 - Pin9 - Out - Active High - Spindle FWD
Output Signals:
Spindle Motor PWM - Enabled - Mach Mapping ESS Only - Pin1 Mapping "Spindle PWM"
Spindle FWD - Enabled - Mach Mapping ESS - Pin1 Mapping "Spindle FWD"
Mach 4 Config:
Output Signals:
Spindle FWD - Enabled - Device = ESS - Output Name Spindle FWD
Ive tried setting different pins, setting active low, changing spindle FWD to Spindle ON, even swapped the wires on the VFD (x1 and AIN1)
Oh I should mentioned Ive changed all the setup parameters on the VFD to suit analog control through AIN1.
But yea no matter what I try it just turns the spindle on straight away at 200odd hz
Im out of ideas.