Results 1 to 7 of 7

Thread: Mach3. G540 and Huanyang CDF question.

  1. #1
    Join Date
    Nov 2009
    Location
    Canon City, Colorado
    Posts
    299

    Mach3. G540 and Huanyang CDF question.

    I am starting a build of a CRP4896. I have the Nema23 motors and the Gecko G540 electronics from CncRouterParts and have them working. I have Mach3 and VcarvePro as well. I purchased the 2.2KW spindle and Huanyang CFD from BuildYourCNC – not wired or tested yet. I want to control the spindle motor from Mach3 )on/off and speed) but cannot find any definitive information on how to do it. Does anyone here have this configuration working with the Huanyang and Mach3?

  2. #2
    Do a Google search for Soigeneris G540 to VFD. D/l the pdf manual. It worked for me.

    I don't have their STDR controller, but it is a G540 with SmoothStepper. You don't need the SmoothStepper.

    Good luck,

    Jimmy
    Shenhui SH-G690 Laser
    Shark Pro CNC Router
    G0619/SX3 CNC Milling Machine
    Vytek Rebel CNC Router (Mach3 Conversion)
    Rostock MAX 3D Printer
    NextEngine 3D HD Scanner
    Epson Stylus Pro 9880 Printer
    Mighty Press Transfer Press
    Chinese Laminator

  3. #3
    Join Date
    Sep 2010
    Location
    Conroe, TX
    Posts
    179
    You will need a relay to provide a contact closure to put the VFD in FORWARD. There are two ways to control the motor speed. You can use the charge pump in the G540 to produce an analog voltage for the VFD, or better, use the RS-485 interface and control it directly. Here's a link to a plug-in for Mach-3 for the digital interface. http://www.machsupport.com/forum/ind...?topic=14182.0 This method is far superior to the charge pump. You will need one of those simple RS-232 to RS-485 interfaces.

  4. #4
    Join Date
    Oct 2006
    Location
    Bloomington, IL
    Posts
    6,009
    If the VFD is powered up M3 gcode via modbus spins the spindle CW, M4 is CCW, M5 is stop. No relays needed. Modbus also allows speed control via mach as well. You put it in your tool path gcode, mach interprets, and sends the speed.HXZ control to the VFD. I do it with a Hitachi X200 VFD.
    Glad its my shop I am responsible for - I only have to make me happy.

  5. #5
    Join Date
    Sep 2010
    Location
    Conroe, TX
    Posts
    179
    You're right, the run relay is not needed. I originally built my machine using the charge pump to control speed. When I found the plugin for the Modbus control, I left the relay in place. On the Huanyang VFD, I set Pd002 to 2, enabling the communications port to set the speed, but I never bothered to set Pd001 to 2, enabling the communications port to control run commands. Thanks. I think I will use the run relay to control the cooling water pump.

  6. #6
    Join Date
    Oct 2006
    Location
    Bloomington, IL
    Posts
    6,009
    I use a relay for my pump. I have it set to stay on for 90 seconds and to stay on if I start a job within that time period. After 90 seconds and no job the coil opens and the pump stops. You could do the same for a DC if you wanted it controlled as well.
    Glad its my shop I am responsible for - I only have to make me happy.

  7. #7
    Join Date
    Sep 2010
    Location
    Conroe, TX
    Posts
    179
    I noticed that M5 is not issued to the VFD when the E-Stop button is pushed. The E-Stop stops the machine, but the spindle continues running. I think I will go back to the relay controlling the RUN signal to the VFD, and look into using the Multi-Outputs from the VFD to control the water pump.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •