585,727 active members*
4,098 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Posts
    115

    PWM/direction servo

    I'm in the process of retrofitting a knee mill and I'm starting to consider using the Kflop, but I have a few questions.

    1. I have some custom servo drivers of my own design that I'd like to use. They accept a PWM 0-100% duty cycle input and a direction signal. (And yes they really do go to 100% since I'm not using the typical chargepump type gate driver for the high side Fet's.)
    I'd like to just connect the encoders to the Kflop and then output the PWM and dir on just two outputs. Does Kflop support this arrangement?

    2. I really need to be able to do rigid tapping. I plan to Use a VFD to drive the spindle motor. Can I get away with adding an encoder to the spindle and have the spindle switch from spindle to servo mode? If so, any recommendations on a VFD and encoder combo that wont break the bank?

    3. I plan to do most of the Z-motions with the Quill, but am setting the knee up to be driven as well. I anticipate using to knee during tool changes and to set workpiece and tool height offsets. Does Kflop have any issues with this arrangement?

    4. I plan to use Mach3 and may still want to use another I/O solution alongside the Kflop for some of the simpler things, is this a problem?

    Thanks.
    Marvin

  2. #2
    Join Date
    May 2006
    Posts
    4045
    Hi Marvin,

    Regarding:

    #1 - KFLOP has (8) 8-bit 3.3V LVTTL PWM outputs that run at 60KHz or can be prescaled slower by a factor of N (1 to 256). KFLOP does not support PWM mode directly. You need a few lines of C code to take the servo output and write to the PWM. This allows all types of PWMs (anti-phase, sign/magnitude, etc...). You might install our software, goto the C Program Screen, and load the PWM1KHz.c and OutputtoPWM3Axis.c examples to see how difficult that would be for you.

    #2 - The best method is to have the spindle always operate as a servo. This makes rigid tapping easy and when using it as a "spindle" the axis is simply commanded to "Jog" at a constant speed. This has the benefit of speed feedback and controlled acceleration as well. I think Automation Direct sells reasonably priced VFDs.

    #3 - I'm not sure about this, but it should be independent of our controller. If Mach3 handles the offsets suitable for you normally it shouldn't be any different with KFLOP controlling the axes.

    #4 - I'm not sure exactly what you are referring to but when using KFLOP there is no Mach3 Parallel port Kernel driver which is what would normally do IO to parallel ports. So you wouldn't be able to use parallel ports. You can still control IO bits from CB Macros and such that reside on KFLOP. Or for example ModBus IO bits.

    HTH
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Jan 2006
    Posts
    115
    OK, so Mach will no longer be able to do things through the parallel ports, but will it be able to send or receive anything though the USB? or is Kflop now the ONLY way in or out?

  4. #4
    Join Date
    May 2006
    Posts
    4045
    Hi Marvin,

    Correct, the Dynomotion Motion Control Plugin replaces the Mach3 Parallel Port Motion Kernel driver. Mach3 doesn't allow more than one motion control device. Our plugin does not talk to the PC parallel port. Mach3 doesn't normally talk USB so I'm not sure I understand. KFLOP has 46 IO pins and additional option cards can be added so IO usually isn't a problem. But another (non-motion) Plugins could potentially control additional IO through the USB, or Ethernet, or Serial Port but I don't really know of any off hand.

    Regards
    TK
    http://dynomotion.com

  5. #5
    Join Date
    Jan 2006
    Posts
    115
    Ok thanks, that clears it up. So if I need more I/O I can either use an addon card for the Kflop or use something like a usb breakout board.
    thanks
    Marvin

Similar Threads

  1. problem with servo. flakey in one direction
    By Daniel Wilcox in forum Servo Motors / Drives
    Replies: 24
    Last Post: 02-14-2011, 10:44 PM
  2. servo motors will not jog two direction
    By thunderbite in forum DIY CNC Router Table Machines
    Replies: 19
    Last Post: 08-06-2009, 09:07 PM
  3. brushed servo drive with PWM & direction input
    By visky in forum Open Source Controller Boards
    Replies: 7
    Last Post: 06-17-2009, 07:14 PM
  4. How To Change Direction on DC Servo?
    By parametric.ms in forum Servo Motors / Drives
    Replies: 32
    Last Post: 09-16-2008, 05:10 AM
  5. AC servo Step Direction drive
    By professor in forum Servo Motors / Drives
    Replies: 17
    Last Post: 11-10-2007, 05:07 PM

Posting Permissions

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