This morning I figured I would skim over the parameters out of curiosity, then got carried away and ended up making a note of every single parameter value currently set in my VFD and what it does. In others words, I RTFM. I will leave my notes here in case this could be useful for others with the same VFD model. I highlighted the ones that I think need to be considered for the Shapeoko usecase, feel free to comment if you went through the same exercize and optimized some of these params !
PD000 = 0 ; parameters left unlocked, set to 1 to lock
PD001 = 1 ; required to use Shapeoko’s PWM signal as the activation trigger (default was 0=manual)
PD002 = 1 ; required to use Shapeoko’s PWM signal as the RPM input (default was 0=manual)
PD003 = 400 ; main frequency (the speed the spindle WOULD start off at if PD002 was set to 0, so irrelevant here)
PD004 = 400 ; base frequency as rated on my spindle (default was 50)
PD005 = 400 ; max frequency the VFD will allow (default was 50)
PD006 through PD010 define the Voltage vs Frequency curve, I figured I want the “Curve of constant torque” from the manual:
<VF_curve>
Therefore:
PD006 = 2.5 ; default value for Intermediate Frequency (Hz)
PD007 = 0.5 ; default value for Minimum Frequency (Hz)
PD008 = 220 ; default value for my 220V spindle
PD009 = 15 ; Intermediate Voltage
PD010 = 8 ; Minimum Voltage
PD011 = 0 ; frequency lower limit. Left at default value of 0 RPM, which is fine for a water-cooled spindle that has constant liquid flow. For an air-cooled spindle, this should be set to a value that ensures a minimum air flow, e.g. 120Hz = 7200 RPM
PD012 is reserved (NULL)
PD013 = 0 ; factory reset: set to “8” and validate to reset to factory settings
PD014 = 5; spindle acceleration time1 in seconds, I picked 5 to not be too aggressive.
PD015 = 5; spindle deceleration time1 in seconds, I picked 5 to not be too aggressive.
PD016 = 20; spindle acceleration time2 in seconds; seems unused ?
PD017 = 20; spindle deceleration time2 in seconds; seems unused ?
PD018 = 40; spindle acceleration time3 in seconds; seems unused ?
PD019 = 40; spindle deceleration time3 in seconds; seems unused ?
PD020 = 80; spindle acceleration tim4 in seconds; seems unused ?
PD021 = 80; spindle deceleration time4 in seconds; seems unused ?
PD022 is reserved (0)
PD023 = 1; reverse rotation allowed (set to 0 to lock to forward rotation); irrelevant since FOR(ward) signal is shorted to 0V, forcing forward rotation.
PD024 = 1; STOP key select, 1 = valid = pushing the STOP button will stop the spindle, even though it is controlled externally by the Shapeoko’s PWM
PD025 = 0 ; when starting from idle the inverter will start at the initial frequency set in PD0027. Value 1 is another control mode when breaking is involved for large loads.
PD026 = 0 ; when stopping, the VFD will first do a controlled deceleration to the stop frequency, then remove power. “1” would remove power immediately and let the spindle slow down on its own.
PD027 = 0.5; starting frequency (from which the VFD ramps up when accelerating)
PD028 = 0.5; stopping frequency (to which the VFD ramps down when decelerating)
PD029 = 0.0; braking time at start (=no braking)
PD030 = 0.0; braking time at stop (=no braking)
PD031 = 2.0; DC braking voltage level percentage: irrelevant since braking is not used
PD032 = 5.0; frequency track time : irrelevant since PD025 is set to 0
PD033 = 150; current level percentage for frequency track : irrelevant since PD025 is set to 0
PD034 = 0.5; inverter track time: irrelevant since PD025 is set to 0
PD035 to PD040 = RESERVED
PD041 = 8; Carrier frequency, 0 to 15 corresponds to [0-20]kHz range. Obscure compromise between EMI and heating capacity, I left it alone. Note: it was set to “8” for me while the manual mentioned a default value of “5”.
PD042 = 5; jogging frequency. Sounds like a function for externally testing the VFD, I left it alone.
PD043 = 0.0; acceleration curve disabled, spindle will just accelerate linearly to PD014 value.
PD044 through 49 control the mapping of terminal input signals FOR,REV,RST,SPH,SPM,SPL to corresponding actions/functions in the VFD:
PD044 = 2; FOR input mapped to trig forward rotation; FOR signal is shorted to 0V/ground (DCM) anyway in our setup to force forward rotation.
PD045 = 3; REV input mapped to trig reverse rotation; irrelevant since not this signal is not wired in our setup
PD046 = 14; RESET input mapped to trig reset; irrelevant since not this signal is not wired in our setup
PD047 = 22; SPH input mapped to trig high speed; irrelevant since not this signal is not wired in our setup
PD048 = 24; SPM input mapped to trig low speed (typo?); irrelevant since not this signal is not wired in our setup
PD049 = 23; SPL input mapped to trig medium speed (typo?); irrelevant since not this signal is not wired in our setup
PD050 through 053 configure conditions to trig some of the terminal outputs:
PD050 = 2; Y1/DRV output condition; irrelevant since not this signal is not wired in our setup
PD051 = 2; Y2/UPF output condition; irrelevant since not this signal is not wired in our setup
PD052 = 2; FA,FB,FC output condition; irrelevant since not this signal is not wired in our setup
PD053 = 2; KA,KB output condition; irrelevant since not this signal is not wired in our setup
PD054 = 0; set VO output range to 0-10V; irrelevant since not this signal is not wired in our setup
PD055 = 100; set VO analog output gain (0 to 100%); irrelevant since not this signal is not wired in our setup
PD056 through 59 configure up to three small specific frequency ranges that the VFD would avoid going through in the linear V/F curve, to avoid mechanical resonances:
PD056 = 0; skip frequency 1 disabled
PD057 = 0; skip frequency 2 disabled
PD058 = 0; skip frequency 3 disabled
PD059 = 0.5; skip frequency margin below and above defined skip frequencies; irrelevant since 56/57/58 are disabled.
PD060 through 61 configure up some obscure frequency ramp control when using external “multi-inputs/multi-outputs” control signals:
PD060 = 0 ; uniform frequency 1 disabled; irrelevant for our case
PD061 = 0 ; uniform frequency 2 disabled; irrelevant for our case
PD062 = 0.5; uniform frequency range around 60 and 61; irrelevant for our case
PD063 through 66 configure timings signals, in the “multi-inputs/multi-outputs” scenario:
PD063 = 0.1; timer 1 ; irrelevant for our case
PD064 = 1; timer 2; irrelevant for our case
PD065 = 0; counting value; irrelevant for our case
PD066 = 0; intermediate counter; irrelevant for our case
PD067 through 69 : RESERVED
PD070 = 1 ; required to configured PWM as being a 0-5V input (default was 0 = 0-10V)
PD071 = 20; analog filtering constant ([0-50]). No details…I left it alone.
PD072 through 76 configure the linear frequency curve that the VFD will apply based on the value of the VO analog input: in our case we want the simplest possible thing, 0V for 0Hz, 5V for 400Hz, positive slope, forward direction:
PD072 = 400.0; frequency for max VO (5V)
PD073 = 0.0; frequency for min VO (0V)
PD074 = 0; direction for 72 = forward
PD075 = 0; direction for 73 = forward
PD076 = 0; forbid “negative bias reverse”
PD077 = 0; do not memorize values set with UP/DOWN buttons after power off; irrelevant, UP/DOWN ignored in our case due to PD002=1
PD078 = 0; UP/DOWN speed increment; irrelevant, UP/DOWN ignored in our case due to PD002=1
PD079 = RESERVED (0.01);
PD080 through 117 configure the “PLC” operation that can run a cycle of predefined frequencies/duration steps. This is of no interest in our case, I’ll skip them
PD118 = 1; VFD over-voltage protection during deceleration is enabled
PD119 = 150; VFD will allow only up to 150% of nominal current value during acceleration, as a self-protection
PD120 = 0; VFD over-current protection disabled (??). Ajustable from 0 to 200% of rated current of the spindle
PD121 = 5: deceleration time in seconds when PD119 protection triggers.
PD122 = NULL ; ?? supposed to be the current protection during deceleration (similar to PD120 but during decel)
PD123 = 0; over-torque detection behavior: continue to run; irrelevant since disabled
PD124 = 0; over-torque detection disabled
PD125 = 1.0; over-torque detection time; irrelevant since disabled
PD126 = 0; mysterious “counter memory” set to “not memorized”
PD127 through 129 = RESERVED
PD130 through 140 relates to the use of “auxiliary pumps”; irrelevant for out setup
PD141 = 220 ; my spindle max rated voltage
PD142 = 10 ; my spindle max rate current
PD143 = 02 ; 4 or 2 poles in motor. Default is 4. My spindle being 24000RPM@400Hz implies 2 poles
PD144 = 3000; max rated motor revolution at 50Hz => 24000@400Hz = 3000@50HZ
PD145 = 2.0; auto-torque compensation set to 2%, I’m not messing with that.
PD146 = 40; motor no-load current, in percent of rated motor current. No clue what this does
PD147 = 0; motor slip compensation 0 to 10. No idea what this does.
PD148 and 149 : RESERVED
PD150 = 1; auto-voltage regulation (against input voltage variations). Sounds good to have.
PD151 = 0.0; auto energy saving disabled
PD152 = 1; 1s restart time in case of fault
PD153 = 0; no restart after power loss
PD154 = 0.5; max power interruption time in seconds
PD155 = 0; automatic reset/restart disabled
PD156 through 162 configure the PID regulation loop:
PD156 = 100.0; Proportional § constant, in percent (0 to 1000%)
PD157 = 5.0; Integral (I) constant, in seconds (0 to 3600)
PD158 = 0.0; Differential (D) constant, in seconds (0.01 to 10)
PD159 = 0.0; PID target value: I assume that it being 0.0, disabled the PID closed-loop control.
PD160 = 0; PID target select mode, value is read from PD159
PD161 = 100; PID upper limit in %
PD162 = 0; PID lower limit in %
PD163 through 165 configure the communication settings when using RS485 to talk to the VFD; not applicable here
PD166 through 169 : RESERVED
PD170 = 0; allows to add VFD temperature to the list of displayable values
PD171 = 7; enables display of DC voltage, AC voltage, and PD170 (temperature)
PD172 = 0; set to 1 to clear faults
PD173 = 255.0; voltage rating of the inverter, read-only.
PD174 = 11.0; rated current of the inverter, read-only
PD175 = 0; inverter type = constant torque; read-only
PD176 = 0 ; 0 = 50 Hz = inverter frequency standard; read-only
PD177 = ELu.n; Fault record 1, read-only.
PD178 = ELu.A; Fault record 2, read-only.
PD179 = Err.n; Fault record 3, read-only.
PD180 = Err.n; Fault record 4, read-only.
PD181 = UR1.00 ; software version, read-only.
PD182 = 19068; year/month/week of manufacturing
PD183 = 65535; should be “serial number” but looks like it is not set (0xFFFF)
PD184 through 250: RESERVED