1
Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 25, 2013, 06:02:25 PM »
Gentleman
An update on the tests I ran today. I am convinced the problem lays in the fact that my computer doesn't like to run the VFD through a USB to RS-485 converter. I tried all four baud rates and different carrier frequencies in the VFD. I use a least 3 different cables for the communications. Anytime I was controlling the VFD form the Mach 3 program the Z-axis would freeze for a few steps at random, not good! I have setup a kind of work around that seems to work, not what I want but for now it will have to do. The work around basically is using the VFD in a semi-manual oreration. There is a output from the Gecko Drive that provides AC for running a vacuum system and follows the M03 commands from the G-gode. I connected a relay to that output that closes a set of contacts on M03 comand. The set of contacts are connected to the VFD at For. (D1) and DCM. I programmed PD001 for external control and PD044 to 01 (for RUN function) and PD002 to 0. This allows the computer to start and stop the spindle and setting the speed manually. When I get the opto-issolated interface for the serial port on the computer I will update it's function. I'm hoping that by completely issolating the commuications line from the computer and using a real serial port will get me where I would like to be.
An update on the tests I ran today. I am convinced the problem lays in the fact that my computer doesn't like to run the VFD through a USB to RS-485 converter. I tried all four baud rates and different carrier frequencies in the VFD. I use a least 3 different cables for the communications. Anytime I was controlling the VFD form the Mach 3 program the Z-axis would freeze for a few steps at random, not good! I have setup a kind of work around that seems to work, not what I want but for now it will have to do. The work around basically is using the VFD in a semi-manual oreration. There is a output from the Gecko Drive that provides AC for running a vacuum system and follows the M03 commands from the G-gode. I connected a relay to that output that closes a set of contacts on M03 comand. The set of contacts are connected to the VFD at For. (D1) and DCM. I programmed PD001 for external control and PD044 to 01 (for RUN function) and PD002 to 0. This allows the computer to start and stop the spindle and setting the speed manually. When I get the opto-issolated interface for the serial port on the computer I will update it's function. I'm hoping that by completely issolating the commuications line from the computer and using a real serial port will get me where I would like to be.