Build Thread Taig CNC-Controller Replacement-Dynomotion Suggestion - Page 3


Page 3 of 3 FirstFirst 123
Results 41 to 50 of 50

Thread: Taig CNC-Controller Replacement-Dynomotion Suggestion

  1. #41
    Member PeterTheWolf's Avatar
    Join Date
    Aug 2008
    Location
    USA
    Posts
    187
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Quote Originally Posted by TomKerekes View Post
    .........

    If you were to choose IO 34 or 35 (pins 15 or 16) there aren't any pull down resistors so the full 16ma would be available. Under a load of 5ma (instead of 16ma) the output would likely be higher than 2.4V but still there is no guarantee it would be 3V or higher. Most likely it would be. You could verify with a voltmeter if it actually is 3V or higher.
    This works. I am getting 1.5mV on KFLOP JP6 Pin 16 (IO35) with this relay connect and 3.27VDC on KFLOP JP6 Pin 16 (IO35) when I turn it on in Kmotion Digital I/O screen and the relay is pulled in.
    Thanks Tom ...........

    Taig CNC-Controller Replacement-Dynomotion Suggestion-5v_relay_kflop_wiring-jpg Link to Word Doc.



    Taig CNC Machine Quick Links
    ....
    ....

    KFLOP Power Suppy

    Stepper Motor Power Supply Used

    Stepper Motor Used on Taig

    Taig CNC Machine Counter Weight Design

    Taig CNC Machine Counter Weight Design - 3D STEP File

    Word Doc. of my Calculation for the Trajectory Planner

    Word Doc. E6 Optical Kit Encoder

    Relay Connection to KFLOP JP6 Pin 16 (I/O 35)

    ....
    ....



  2. #42
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    3250
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Great. Thanks for taking the time to post back.

    Regards
    TK http://dynomotion.com


  3. #43
    Member PeterTheWolf's Avatar
    Join Date
    Aug 2008
    Location
    USA
    Posts
    187
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Quote Originally Posted by TomKerekes View Post
    Hi Peter,

    Higher resolution is always better until you exceed the count rate of the encoder input at maximum RPM. KFLOP can conservatively accept 1 million quadrature counts/second.

    2000 cycles/rev at 2000RPM would be:
    2000 x 4 x 2000 / 60 = 266K counts/sec

    And at 20 TPI would give a resolution of
    20 x 2000 x 4 = 160,000 counts/inch (6.25ui)

    I will not be able to use Linear Glass Scale on the Taig ... just not enough room for mounting it on the X-Axis.

    So, I will be going with the US Digital E6 rotatory encoder.



    Tom,

    If more is better and I will max. out at 1000 RPM with these stepper motors,
    shouldn't I use an encoder with 4000 CPR?

    Another question I have is, should I be configuring these encoders with the "Index" or "No Index"?

    Thanks,



    Taig CNC Machine Quick Links
    ....
    ....

    KFLOP Power Suppy

    Stepper Motor Power Supply Used

    Stepper Motor Used on Taig

    Taig CNC Machine Counter Weight Design

    Taig CNC Machine Counter Weight Design - 3D STEP File

    Word Doc. of my Calculation for the Trajectory Planner

    Word Doc. E6 Optical Kit Encoder

    Relay Connection to KFLOP JP6 Pin 16 (I/O 35)

    ....
    ....



  4. #44
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    3250
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Hi Peter,

    If more is better and I will max. out at 1000 RPM with these stepper motors,
    shouldn't I use an encoder with 4000 CPR?
    4000 cycles/rev would be:

    4000 x 4 x 1000 / 60 = 267K counts/sec

    and should work fine.


    Another question I have is, should I be configuring these encoders with the "Index" or "No Index"?
    An Index pulse can help with more accurate homing. You would first search for a home/limit switch and then search for up to one revolution for the index pulse. Its up to you. If you include the Index pulse output you can always just not connect it and not use it.

    Regards
    TK http://dynomotion.com


  5. #45
    Member PeterTheWolf's Avatar
    Join Date
    Aug 2008
    Location
    USA
    Posts
    187
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    ..............
    ..............
    ..............

    Tom,

    I am using the E6 Rotary Encoder on the back of one Stepper motor for testing.

    I have put together of HTML link for a Cable Pinout from the Encoder to KFLOP via RJ45 and a C46 Differential to Single Ended Converter (from Welcome to CNC4PC).

    Can you please double check my pinout?

    My main concern is the last image of the HTML Link to ensure I am understanding the connection to KFLOP.
    This is only for one axis; however, the last RJ45 connection to KFLOP will be with all three axis.

    Taig CNC-Controller Replacement-Dynomotion Suggestion-004_rj45_breakoutboard_to_rj45_end_for_kflop-jpg



    Taig CNC Machine Quick Links
    ....
    ....

    KFLOP Power Suppy

    Stepper Motor Power Supply Used

    Stepper Motor Used on Taig

    Taig CNC Machine Counter Weight Design

    Taig CNC Machine Counter Weight Design - 3D STEP File

    Word Doc. of my Calculation for the Trajectory Planner

    Word Doc. E6 Optical Kit Encoder

    Relay Connection to KFLOP JP6 Pin 16 (I/O 35)

    E6 Encoder PinOut to KFLOP PinOut


    ....
    ....



  6. #46
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    3250
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Hi Peter,

    That seems correct to me.

    But it isn't clear that GND and +5V from KFLOP are being supplied to all the encoders (C46) pins 1 and 2.

    Regards
    TK http://dynomotion.com


  7. #47
    Member PeterTheWolf's Avatar
    Join Date
    Aug 2008
    Location
    USA
    Posts
    187
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Quote Originally Posted by TomKerekes View Post

    ........

    But it isn't clear that GND and +5V from KFLOP are being supplied to all the encoders (C46) pins 1 and 2.
    Yes .... I should have depicted this as well , I was thinking I would connect to the RJ45 break-out board Pin #2 & Pin #1 with the use of KFLOP JP6-Pin #1 for +5VDC and KFLOP JP6-Pin #8 for Ground, respectively.

    Do you see any issues with this?

    Thanks,

    Taig CNC-Controller Replacement-Dynomotion Suggestion-004_rj45_breakoutboard_to_rj45_end_for_kflop-jpg



    Taig CNC Machine Quick Links
    ....
    ....

    KFLOP Power Suppy

    Stepper Motor Power Supply Used

    Stepper Motor Used on Taig

    Taig CNC Machine Counter Weight Design

    Taig CNC Machine Counter Weight Design - 3D STEP File

    Word Doc. of my Calculation for the Trajectory Planner

    Word Doc. E6 Optical Kit Encoder

    Relay Connection to KFLOP JP6 Pin 16 (I/O 35)

    E6 Encoder PinOut to KFLOP PinOut


    ....
    ....



  8. #48
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    3250
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    That should work.

    Regards
    TK http://dynomotion.com


  9. #49
    Member PeterTheWolf's Avatar
    Join Date
    Aug 2008
    Location
    USA
    Posts
    187
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    ....
    .....
    .....

    I finally got everything connected in a working PC case (Enclosure) . I am now ready to start testing the X-Axis with the rotary axis encoder connected to the back-side of the stepper motor.

    However, I am not sure on what I should be using on "I" Gain for the initial PID ("I" Gain ) setting for testing in the "Step Response" screen on my testing.

    I have a few question:

    REF.: 4000 * 4 * (1000/60) = 267K Counts/Sec.

    1.) When dealing with rotary and/or linear encoders, is the Cycles/Rev. the Same as the Step/Rev?.

    2.) Is my math correct? If I have a rotary Encoder that has a 4000 cycles/Rev. = 4000 Cycles/Rev. * 20 Rev. /IN = 80,000 Cycles / IN?

    3.) If this is correct, then (80,000 Cycles/IN) / (64,000 Steps/ IN) = 1.25, which will = the Input "I" Gain on KFLOP "Step Response" screen. I should be using this "I" Gain for testing my X-Axis with a Rotary Axis on the stepper motor on the initial tuning.

    ...
    Taig CNC Machine Quick Links
    ....
    ....

    KFLOP Power Suppy

    Stepper Motor Power Supply Used

    Stepper Motor Used on Taig

    Taig CNC Machine Counter Weight Design

    Taig CNC Machine Counter Weight Design - 3D STEP File

    Word Doc. of my Calculation for the Trajectory Planner

    Word Doc. E6 Optical Kit Encoder

    Relay Connection to KFLOP JP6 Pin 16 (I/O 35)

    E6 Encoder PinOut to KFLOP PinOut


    ....
    ....

    Last edited by PeterTheWolf; Yesterday at 08:24 PM. Reason: Spelling


  10. #50
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    3250
    Downloads
    0
    Uploads
    0

    Default Re: Taig CNC-Controller Replacement-Dynomotion Suggestion

    Hi Peter,

    I am not sure on what I should be using on "I" Gain for the initial PID ("I" Gain ) setting for testing in the "Step Response" screen on my testing.
    Start with a small number such as 0.0001 to observe gradual corrections.


    1.) When dealing with rotary and/or linear encoders, is the Cycles/Rev. the Same as the Step/Rev?.
    I don't understand what you are asking. Rotary encoders have quadrature counts per rev. Linear encoders have quadrature counts per inch.


    2.) Is my math correct? If I have a rotary Encoder that has a 4000 cycles/Rev. = 4000 Cycles/Rev. * 20 Rev. /IN = 80,000 Cycles / IN?
    I believe that is correct. But we are normally interested in quadrature counts not cycles. So that would be X 4 or 320,000 counts/inch.


    3.) If this is correct, then (80,000 Cycles/IN) / (64,000 Steps/ IN) = 1.25, which will = the Input "I" Gain on KFLOP "Step Response" screen. I should be using this "I" Gain for testing my X-Axis with a Rotary Axis on the stepper motor on the initial tuning.
    Assuming 320,000 encoder counts/inch and 64,000 steps/inch then the InputGain should be 64000/320000 = 0.2 to have them count at the same rate.

    Note I believe you are confusing Integrator gain ('I' gain) on the Step response screen with InputGain on the Configuration Screen. They are different things. The first just scales the encoder reading. The latter controls how fast errors are attempted to be corrected. You might read this.

    HTH

    Regards
    TK http://dynomotion.com


Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Taig CNC-Controller Replacement-Dynomotion Suggestion

Taig CNC-Controller Replacement-Dynomotion Suggestion

Taig CNC-Controller Replacement-Dynomotion Suggestion