Need Help! Wiring Drivers & Spindle to Breakout Board for Mach3 conversion - Page 5


Page 5 of 8 FirstFirst ... 2345678 LastLast
Results 81 to 100 of 142

Thread: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

  1. #81
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    This is also in that PDF
    The two GND, ACM and DCM ground terminals are isolated from each other. This keeps the optoisolators separated from the computer USB ground. The two GND terminals do connect to the computer USB ground. The +5V terminal is the same as computer USB +5 and caution should be taken if you use this terminal to power external devices. There is a 3.3 volt on board regulator for the STM32 microcontroller use only. There is no 3.3 volt screw terminal connector.




  2. #82
    Member
    Join Date
    Jan 2018
    Location
    United Kingdom
    Posts
    1516
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by viroy View Post
    This is also in that PDF
    I'm not thrilled about having the vfd & Bob AI/AVI, CM/ACM connected together without a working voltage reading from the bob first.
    I ALWAYS leave the bob analog output not connected until I know the volt readings are correct using the voltmeter.


    By now myself I would be frustrated and ONLY connect a good 10v/CM from vfd to the corresponding 10v/GND on the bob as a test.
    Leave all other vfd connections off. Stick voltmeter on AVI/ACM and test if it gives voltages on speed changes.
    If no good still, play with changes to PWMbasefreq in Mach.

    That's 10v/CM > 10V/GND ONLY. Nothing else until analog out reads good.

    I'm NOT condoning to do this AT ALL.



  3. #83
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    maybe i can bridge the 5v out to the 10v input on the BOB, then set the VFD F1.1 to 5
    This way it will use the 5v onboard source and the VFD will look for 0-5v instead of 0-10v

    Feels like im really close... what am I missing?

    Last edited by viroy; 07-24-2022 at 10:42 PM.


  4. #84
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    ok so after connecting the 10V from VFD to 10v on BOB and CM on VFD to GND + ACM on BOB...
    now I do get a good output test between ACM and AVI.
    S24000 gives 10v, S12000 gives 5v, and S100 gives less than 1v

    But the spindle still does not spin correctly.
    I still get 350rpm at Mach3 setting of 15k.... and 500rpm at setting of 24k in Mach3
    I have tried flipping polarity on motor output tab for spindle... tried settings of 3-1-3-1 and 1-1-0-0



  5. #85
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Heres something interesting... it doesnt matter what pin/port I set the spindle output to....
    It also doesnt matter If I go to port and pins-> spindle setup and uncheck "PWM control" or "use spindle motor output"....
    If I disable 'use spindle motor output', I get the EXACT same results... Mach3 setting of 15k actually spins VFD at 350rpm... 24k = 500rpm actual spindle speed
    I discovered this while testing different 'PWMbase freq' settings
    WTF?!?!??!



  6. #86
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    So I tried swapping the mach3mill.xml file from the line above.... exact same results but I noticed that the motor output settings for the XYZA axis steppers, all step/dir pins are set to 0 but it still works fine... I did have to swap the polarity, but I can jog them all just fine. Maybe this is just a glitch?
    WTF is going on here?
    This should not be this complicated



  7. #87
    Member
    Join Date
    Jan 2018
    Location
    United Kingdom
    Posts
    1516
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by viroy View Post
    Heres something interesting... it doesnt matter what pin/port I set the spindle output to....
    It also doesnt matter If I go to port and pins-> spindle setup and uncheck "PWM control" or "use spindle motor output"....
    If I disable 'use spindle motor output', I get the EXACT same results... Mach3 setting of 15k actually spins VFD at 350rpm... 24k = 500rpm actual spindle speed
    I discovered this while testing different 'PWMbase freq' settings
    WTF?!?!??!
    Have you got:
    F0.0 = 1 (external input signal is 0-10v)
    F0.4 = ? (spindle upper frequency)
    And things like that?.

    If I remember correctly you used to use 3 fixed speeds yes?.
    Likely through x1-x4 inputs.
    Whatever perameters are related to that need completely changing so it then knows you're using 0-10v Analog instead.

    You need to go through and look at them all because defaults are likely waaaaaay wrong.
    All should always be checked before spinning anything up.

    Last edited by dazp1976; 07-25-2022 at 05:06 AM.


  8. #88
    Member
    Join Date
    Jan 2018
    Location
    United Kingdom
    Posts
    1516
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by viroy View Post
    So I tried swapping the mach3mill.xml file from the line above.... exact same results but I noticed that the motor output settings for the XYZA axis steppers, all step/dir pins are set to 0 but it still works fine... I did have to swap the polarity, but I can jog them all just fine. Maybe this is just a glitch?
    WTF is going on here?
    This should not be this complicated
    Im guessing this is being governed by the plugin instead then.



  9. #89
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    So I was about to go to sleep, then I realized... I can simply connect the AI pin to the 10v pin on the VFD and that should go 24k rpm! thats the whole point of the BOB, to vary that output.
    But, when I do that, I once again only get 500 rpm... that was also the max I got with everything hooked up!

    so I believe everything is now properly hooked up and the VFD settings need to be adjusted
    now I'm going back to bed, sry ill read your guys posts in morn... too tired



  10. #90
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Quote Originally Posted by viroy View Post
    So I was about to go to sleep, then I realized... I can simply connect the AI pin to the 10v pin on the VFD and that should go 24k rpm! thats the whole point of the BOB, to vary that output.
    But, when I do that, I once again only get 500 rpm... that was also the max I got with everything hooked up!

    so I believe everything is now properly hooked up and the VFD settings need to be adjusted
    now I'm going back to bed, sry ill read your guys posts in morn... too tired
    Ok that is not the correct connection, but we are on the right path
    I just checked out the Breakout Board you are using so this is the requirement for it to give you spindle speed control

    The 10v from the VFD Drive has to be connected to the 10v on the Breakout Board, your Breakout Board requires this 10v for the PWM to Analog 0-10v to work

    10v VFD to 10v terminal input on the Breakout Board
    AI to AVI
    CN to ACM
    This is your correct connections you can NOT put 10v to the AI Terminal

    Mactec54


  11. #91
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Quote Originally Posted by viroy View Post
    maybe i can bridge the 5v out to the 10v input on the BOB, then set the VFD F1.1 to 5
    This way it will use the 5v onboard source and the VFD will look for 0-5v instead of 0-10v

    Feels like im really close... what am I missing?
    You seem to have got lucky so far with your wild connections I would not do what you are thinking of trying

    Just the Parameters have to be setup in the VFD Drive, your spindle has a minimum speed of 6000RPM so don't run it until you have the correct Parameters set or you will see lots of smoke from the spindle

    I will take a look and give you what Parameters you need to set

    Mactec54


  12. #92
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Here are the Parameters you need to set

    Mactec54

    F0.00=1 (3 Keypad Potentiometer Control) (F0.00=1 0-10v Remote control)

    F0.01=400

    F0.02=1001 (F0.02=1 Run/Stop Keypad Control) (F0.02=1001 for Remote Terminal control)

    F0.03= 100

    F0.04=400 (Max Motor Frequency)

    F0.05=5 To 8 (Adjustable Acceleration)

    F0.06=5 To 8 (Adjustable Deceleration)

    F0.07=1 (S-Curve for Acceleration and Deceleration)

    F0.12=400 (Motor Rated Frequency)

    F0.13=220 (Motor Rated Volts)

    F1.02=100

    F1.03=400

    F2.00=50

    F2.01=2

    F2.07= 100% (VFD Max Amps Match Spindle Max Amps Adjust Percentage to Suite)
    (If VFD Amps are More Than the Spindle Then the Percentage Must Be Adjusted to Suite)

    F2.19=1 (Number of Pole Pairs)

    F3.13=150%

    Note I just corrected 2 of the F1 Parameter numbers

    Last edited by mactec54; 07-25-2022 at 02:56 PM. Reason: added more
    Mactec54


  13. #93
    Member
    Join Date
    Jan 2018
    Location
    United Kingdom
    Posts
    1516
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mactec54 View Post
    Here are the Parameters you need to set

    Mactec54

    F0.00=1 (3 Keypad Potentiometer Control) (F0.00=1 0-10v Remote control)

    F0.01=400

    F0.02=1001 (F0.02=1 Run/Stop Keypad Control) (F0.02=1001 for Remote Terminal control)

    F0.03= 100

    F0.04=400 (Max Motor Frequency)

    F0.05=5 To 8 (Adjustable Acceleration)

    F0.06=5 To 8 (Adjustable Deceleration)

    F0.07=1 (S-Curve for Acceleration and Deceleration)

    F0.12=400 (Motor Rated Frequency)

    F0.13=220 (Motor Rated Volts)

    F1.02=100

    F1.03=400

    F2.00=50

    F2.01=2

    F2.07= 100% (VFD Max Amps Match Spindle Max Amps Adjust Percentage to Suite)
    (If VFD Amps are More Than the Spindle Then the Percentage Must Be Adjusted to Suite)

    F2.19=1 (Number of Pole Pairs)

    F3.13=150%

    Note I just corrected 2 of the F1 Parameter numbers
    Not sure if this may be relevant too.
    He was previously using it via a 3 speed type setup using a different control.
    I'm assuming via x1-x4, internal speed 1,2,3.

    Some settings may need changing back to default regarding this.
    I do not know which peramiters it would be regarding.

    Daz.



  14. #94
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    yes it was using the 3 multi-function inputs (X1, X2 & X3)... I believe the speeds were X1=5krpm X2=10krpm X3=24krpm
    NCStudio would short to CM whichever input was closest to the speed set in Gcode

    From what I've read, correct me if im wrong, but the AI pin simply detects voltage... that voltage is being supplied from the 10v and CM pins.
    So if the AI pin is hooked right to the 10v, it will see 10v... max speed.
    I dont want to hook it up like that, but it seems like a simple way to test if the input it working right

    Ill be getn back on it in an hour



  15. #95
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Quote Originally Posted by viroy View Post
    yes it was using the 3 multi-function inputs (X1, X2 & X3)... I believe the speeds were X1=5krpm X2=10krpm X3=24krpm
    NCStudio would short to CM whichever input was closest to the speed set in Gcode

    From what I've read, correct me if im wrong, but the AI pin simply detects voltage... that voltage is being supplied from the 10v and CM pins.
    So if the AI pin is hooked right to the 10v, it will see 10v... max speed.
    I dont want to hook it up like that, but it seems like a simple way to test if the input it working right

    Ill be getn back on it in an hour
    The multi-function inputs should not affect anything as they are not connected to anything, by doing a reset as DAPZ suggested won't hurt as there may be other Parameters associated with those input that need to be reset, then once reset install the Parameters I posted

    The AI Pin /terminal detects an Analog signal it may tolerate the 10vdc without damaging it, but not sure why you would want to do this, if the output from AVI on your Breakout Board is working correctly, then you can connect this to the VFD Drive

    Mactec54


  16. #96
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    ok headn to shop and will check all the VFD settings.
    One thing I noticed in the manual, there isnt a F2.19 (Number of Pole Pairs)... ill just skip this one



  17. #97
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    OK here are the values that were changed and what they were... I have changed all these to match the list above.
    F0.7 = 0
    F0.12 = 0
    F1.2 = 0
    F1.3 = 0
    F2.0 = 10
    F2.1 = 0
    F2.7 = 10
    F3.13 = 200

    F1.2 in the list above says set to 100, but max setting is 50, set this at 25.



  18. #98
    Member
    Join Date
    Mar 2008
    Location
    usa
    Posts
    452
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    So when I set the speed to 10krpm in Mach3... the spindle winds up to 2200rpm then slowly creeps down to 1650rpm over about 5 seconds, then winds back up to 2200rpm slowly and repeats.
    What is causing this? maybe PWMbaseFreq setting in Mach3 under spindle tab?

    The pins are hooked up:
    10v VFD to 10v terminal input on the Breakout Board
    AI to AVI
    CM to ACM
    FWD to CM



  19. #99
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Quote Originally Posted by viroy View Post
    OK here are the values that were changed and what they were... I have changed all these to match the list above.
    F0.7 = 0
    F0.12 = 0
    F1.2 = 0
    F1.3 = 0
    F2.0 = 10
    F2.1 = 0
    F2.7 = 10
    F3.13 = 200

    F1.2 in the list above says set to 100, but max setting is 50, set this at 25.
    Thats because the F1.3=400 has to be set first then you can set F1.2=100 it can't be 25

    Mactec54


  20. #100
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

    Quote Originally Posted by viroy View Post
    So when I set the speed to 10krpm in Mach3... the spindle winds up to 2200rpm then slowly creeps down to 1650rpm over about 5 seconds, then winds back up to 2200rpm slowly and repeats.
    What is causing this? maybe PWMbaseFreq setting in Mach3 under spindle tab?

    The pins are hooked up:
    10v VFD to 10v terminal input on the Breakout Board
    AI to AVI
    CM to ACM
    FWD to CM
    Stop running your spindle it can't be run at these speeds, you have not set the Parameters Correct

    Mactec54


Page 5 of 8 FirstFirst ... 2345678 LastLast

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

Wiring Drivers & Spindle to Breakout Board for Mach3 conversion

Wiring Drivers & Spindle to Breakout Board for Mach3 conversion