Post
by Bill D » Wed May 29, 2019 8:28 pm
Hi Tom. Well... Hmm....
Take 1
1- moved all but the first two jumpers we discussed from 1-2 to 2-3. Left 1_1/3_6 and 1_17/3_7 on 1-2
2- powered up board. By default, I0 bit 33 was in input mode but high(?).
3- ran init routine. Bit 33 remained input/high. Dir leds for drivers 1-4 came on, but not 5 like before (all jumpers 1-2).
4- Ran 50% pwm routine. Bit 27 went to output, state blinking check mark, relay 1 led on, 4.5v on voltmeter.
5- At same time, Dir led for drive channel 5 turned on (?!?)
6- In digital IO screen, turned bit 27 off by clearing check in output box.
7- Could not turn bit 33 from input/high to input/low. Clicked output box, bit switched to output/low, and I could then set it to output high.
8- Re-set bit 27 to output, verified 4.5v, relay 2 led lit.
9- Left on while fiddling. At 25-30 sec mark, VFD Fault led blinked on, board shut down, VFD Fault led went off, board re-set, then repeated this again. It appeared to happen a little sooner the 2nd/3rd time
10- Switched bit 33 to low, re-set bit 27 to output, relay 1 led came on, whole thing reset as before in 30 seconds
11- Wondered if my ancient analog voltmeter might be drawing too much current, disconnected from board, same results
11.5- Verified that jumper for C62 VFD alarm function WAS set to disabled...
Take 2
12- Updated Init code to set bit 33 as output
13- Set all C68 jumpers to 2-3
14- Powered up board, bit 33 still defaulted to input/high with earlier wierd behaviour
15- Ran Init, bit 33 went to output/low, first 4 dir leds came on
16- Ran PWM code, bit 27 came up as output/flashing, relay 1 came on, 4.5v on VM, 5th dir led came on
17- In 30 seconds or so, VFD fault led came on, board stopped, VFD fault led went off, board (I think only C62, since bit settings remained constant) re-initialized, repeated
18- Same behavior with bit 33 high, only relay 2 led on, as expected
Take 3
19- Repeated (roughly) above tests (all but 2 jumpers 2-3 / all jumpers 2-3) with VFD powered, in case there might be some internal fault mode happening with the power off. Spindle ran at 165/400 Hz, 4.5V analog output, CW and CCW. Same thing, but now with lots of relay noise; did not let it recycle. Fault time varied from nearly right away to 30 seconds or so.
Take 4
19- Noted that although the VFD alarm jumper was set to disabled, there was a VFD alarm mode (?) jumper to be set depending on the VFD internal fault circuitry. Broke jumper on removal, left jumper off
20- Everything ran for 2-3 minutes. Was patting myself on the back when it recycled. Subsequently recycled at previous rates, CW/CCW.
Have not tried it with VFD fault mode jumper on the other position, but do not think this matters....
Previously checked and verified that all my different grounds were isolated from each other...
********************************
Do you know if anyone has generated a script to run the HY Modbus-ish command implementation and send them directly from the Kflop UART to the VFD RS-485 port via a 3.3v compatible rs323-rs485 adapter card? I noted a few nice examples of "orthodox Modbus" codes implemented for this purpose, but only for other VFDs.
I ran the VFD decently from a USB to RS485 converter with a Mach 3 driver. I found, however, that the more USB activity I had, the sooner I would get a UC100 dongle connection fault. Using my USB MPG to ratchet speeds and feeds up and down on the fly made this noticeably worse. I am leery of the Mach3/USBto rs485 setup from this experience (swore off using Mach 3 again), and wonder how much better the Kflop might behave under Mach 3.
*********************************
My HY VFD came with one of the connector stickers on upside down... Who knows what may have happened inside the thing with the resulting connections I made before discovering the problem. It did run reliably in manual speed mode forever, and in RS-485 mode (just lost UC100 connectivity to the PC well into complex cuts reliably also).
Thanks for any thoughts you may have on all this, Tom.
Bill Dodson