How To Setup an AC Servo in Velocity Mode as CNC Spindle in MACH3

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 124

  • @umargul5644
    @umargul5644 Рік тому +1

    Your videos quality is also amazing

  • @umargul5644
    @umargul5644 Рік тому

    Great job sir thanks

  • @x87av
    @x87av 3 роки тому +7

    Hello,
    Just share for Pn parameter
    1. Pn164 you don't need to set it clamp at below rotational, and Pn003 Servo On is not to enable, you can enable it at Pn052 Servo ON (pin6 DB25 port)by trigger an input from external (mach3 output relay) and energized drive internal relay by pin 9 and 10 (0v-24vdc), so you can fully controlled it by mach3
    2. Pn160 = Cw and CCW change direction of servo motor (according to your need)
    3. Pin 13 and 25 analog voltage 0-10v, +10v is example CW Directon and -10v is other direction, mach3 only have 0v - +10v, if you need other direction you can switch pin 13 and 25
    I have try it, So i share it to you
    thanks

    • @lexering1988
      @lexering1988 2 роки тому

      Sapresti dirmi i collegamenti per un servo motore ac su nvem v2 come spindle per un tornio? grazie

    • @Masiwood
      @Masiwood 2 роки тому

      Kroto Motion, any chance to set up position/speed change during operation, I tried input 1 as in the manual, but the driver still does not change the mode (in pn002-mode3) step/velocity? thanks

    • @tg_performance
      @tg_performance Рік тому

      Hi "if you need other direction you can switch pin 13 and 25" how to do it in mach3 ?

    • @x87av
      @x87av Рік тому

      @@tg_performance use 2 output 2 relay to switch. activate with M3 or M4 in G code program.

    • @tg_performance
      @tg_performance Рік тому

      @@x87av Thanks for the quick response. It turns out. we make M3 6 pin. M4 7 pin. both output signals will control the relay. which will already switch between 13 and 25 pins on the servo motor. is that right?

  • @dondehand7401
    @dondehand7401 3 роки тому +2

    Kann man mit MACH3 den Servo für den Betrieb einer cnc Drehmaschinene-Spindel sowohl im Geschwindigkeitsmodus als auch im Positionsmodus betreiben?

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      Ich konnte keine Möglichkeit finden, die Spindel über den Positionsmodus zu steuern

    • @Ale_Lab
      @Ale_Lab 3 роки тому +2

      @@GBWM_CNC Check the cheap welder UA-cam channel and you find some info how to control in position mode. You just have to connect step and dir pin and change the mode on your servo. Then set a eletronic gear reduction or the step frequency will be too high. They are set to high as default. Position mode is pretty cool but for standard operation velocity mode is good too. Velocity mode in mach3 with a single pulse revolution index signal (proximity sensor) will allow you threading too. Nice video btw! :-)

    • @Ale_Lab
      @Ale_Lab 3 роки тому

      Yes you can, check my reply below

  • @legohouses
    @legohouses 12 днів тому

    Thank you for your knowledge, Is it possible to make m4 for reveres motor

  • @saltymax1829
    @saltymax1829 3 роки тому

    Super, dit was precies de info die ik aan het zoeken was, hartelijk dank voor deze video!! (en meteen geabonneerd)

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому +1

      Ik ben blij dat ik kon helpen 😁 😁 😁

  • @adaptadorpararodas
    @adaptadorpararodas Місяць тому

    Ola, estou tentando fazer no meu, porém qual dos fios você ligou na controladora, fios do servo

  • @88TheLuke1
    @88TheLuke1 2 роки тому

    Greetings. could you clarify the 0-10v connections please? video suggests @3:10 that you connect both the pwm output (0-10v) and the gnd to pin 25, but the video shows wires in pins 13 and pin 25?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +1

      The video shows the right wirig - pin 13 and 25. There was some kind of an error on the text box - my my apologies. I'm not able to edit this mistake now :/

  • @dangduttki6731
    @dangduttki6731 3 роки тому

    do you have complete wiring ac sevo +vfd to 5 axis board?thanks

  • @thomasmclean3602
    @thomasmclean3602 Рік тому

    Is it possible to setup a servo like the one you have here with the red usb mach 3 board you used to do the proximity switch video with? As im abit confused by the acm/avi and 10v plugs on the board.

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      Sure! You can refer to my other videos and you should be able to figure out how to do it. I made a video about how to connect a vfd to that red usb board. You can similarly setup this servos driver as a vfd. I'll try to make a video how to do it but I'm so busy with work that I can't tell when it will happen.

  • @robertschwarz1795
    @robertschwarz1795 3 роки тому +1

    Are you running the drive with 110v single phase or do you use 220 2Phase?
    (US has 110v single phase)

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      I use 230V single phase

  • @gtcollection6933
    @gtcollection6933 2 роки тому

    Thanks for that one. Does it has a setting/curve for accel & decel? I'm thinking of using the same kit but in my case it would need to support a accel & decel profile to deal with the mass, can you confirm?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +2

      The servo has parameters for settings the decel / accel time. If you want I can send you the manual on e-mail.

    • @gtcollection6933
      @gtcollection6933 2 роки тому +1

      @@GBWM_CNC That's wonderful to know, thanks so much. I've noticed there are spindle profiling configs just for that purpose too; under Mach3 > Config > Motor Tuning. Wonder if this works, have you tried?
      Looking forward retrofitting my spindle the same way you did! Great vid/hardware btw. Thanks again

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +1

      @@gtcollection6933 If I will have some spare time I could check out that spindle motor tuning option on my CNC lathe. I've got there a VFD with AC motor hooked up but it should work similar to the ac servo as it's just the mach3 setting. I'm glad this video helped 😁

    • @gtcollection6933
      @gtcollection6933 2 роки тому +1

      @@GBWM_CNC Don't bother I won't take your time. Too kind for offering though. I'll just order the kit and get on with it. Ultra cheap anyway so what could go wrong. Keep up the amazing content. #subscribed

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      @@gtcollection6933 Alright! Thank you!

  • @PenHousein
    @PenHousein 3 роки тому +1

    Hi I need your support.
    1. Is there any servo equivalent in Panasonic because I find difficulty in sourcing Chinese servos. Though it is available in ebay I am expecting service support.
    2. While doing threading do we need servomotor with brakes.
    3. How can we give direction for rotation control in servo with mach3

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому +1

      1. I have no experience with Panasonic.
      2. Depends how fast you want to do it, but I saw people doing threading without a brake. Really depends on the inertia of the system I guess.
      3. I didn't figure out this topic on my own, but according to Kroto Motion (down below in the comment section) switching polarity of the analog input pins should allow you to control the motor in the other direction in velocity mode as It rotates 0-10V in one direction and -10-0V in the opposite direction.

    • @PenHousein
      @PenHousein 3 роки тому +1

      @@GBWM_CNC Thanks for your immediate reply

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      @@PenHousein you're welcome ;)

    • @PenHousein
      @PenHousein 3 роки тому

      @@GBWM_CNC Hi Finally I sourced a Servo Motor from China, and i made connections exactly similar to this,
      1. but my spindle is always running when i turn on the servo drive. For this a separate AC supply i have given. Please refer the video i made ua-cam.com/video/S4IF9XZ0dPk/v-deo.html hope you can easily find the mistake what i did .But spindle is always running, without even powering the BOB and stepper drivers.
      2. In you video at 3:07 i could see you are taking Yellow wire in PWM and Red wire in GND, but in 3:11 you are inserting Yellow and white wires, i could not catch. And also in 3:14 both the PWM and GND are showing PIN 25. But i connected PWM out to PIN 25 and GND to PIN 13 as you did in the video.
      3. Also please guide me how to switch on and off the spindle with the pins which are above PWM in BOB.

    • @PenHousein
      @PenHousein 3 роки тому +1

      Hi Any help for me ?
      PN002 = 1
      PN158 = 300
      PN168 = 0
      PN164 = 1
      PN165 = 50
      PN003 = 1
      This is the settings i made as per your video.
      Is there anything else which I need to do in prior ?

  • @rengankrishnaiyer6912
    @rengankrishnaiyer6912 3 роки тому +1

    Sir, what is the max speed the servo can be moved with mach3 @ 25000 hz kernel speed ?

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      Depends on the number of steps per revolution. Check out this video: ua-cam.com/video/rfJOJ7xSrlQ/v-deo.html how to set the parameters for pulse mode.
      But overally you can get the max 3000rpm. For example you get 25000 pulses per second which is 1 500 000 pulses per minute from your mach3. If you consider like 500 pulses per 1 revolution you get 3000rpm (1500000/500=3000) if I'm not wrong with the math 😁 You can set the number pulses per revolution lower so you can get the desired 3000rpm even with less pulses but this will decrease the resolution of the movement.

    • @rengankrishnaiyer6912
      @rengankrishnaiyer6912 3 роки тому

      @@GBWM_CNC You are very helpful sir. The maths should be correct. Thank you . Cheers

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      @@rengankrishnaiyer6912 you're welcome 😁

  • @tg_performance
    @tg_performance Рік тому

    Good afternoon. Great video.
    The only thing I have is that the engine only spins in one direction with the M3 / M4 commands. can you advise what is the problem

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      These servos from what I remember do use - 10 to 10v voltage. It means that at - 10v it spins at full speed in reverse direction, 0v is 0rpm and 10v is full speed in forward direction.

    • @tg_performance
      @tg_performance Рік тому

      @@GBWM_CNC Thanks for the reply. most likely, my board can't issue -10. after the M4 command, for example. the motor stops and starts spinning in the same direction.. on the other motor on the driver I have the output of the direction of movement

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      @@tg_performance well this might be a problem. I didn't have to deal with this problem so honestly I don't know how to deal with this. You might be able to make an electrical system which will be switching - with + when m4 will be executed or something like that

    • @tg_performance
      @tg_performance Рік тому

      @@GBWM_CNC Thanks for the answers. I ordered the same engine and driver as yours. I think it's him. you have an LPT control board. So we have the same signal

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      @@tg_performance yes, but I didn't need m4 for the test I was making

  • @crduli
    @crduli Рік тому

    I bought a controller like the one you are using to make the video, can you tell me why I can't control an easy servo with this board?

    • @crduli
      @crduli Рік тому

      the driver i am using is HBS57

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      Hard to tell remotely, but it should work with the HBS57 without any problem

    • @crduli
      @crduli Рік тому

      that's right my friend, thank you very much!

  • @rengankrishnaiyer6912
    @rengankrishnaiyer6912 3 роки тому +1

    How do you use position mode for servo spindle ?

  • @hoangkhaichiem4305
    @hoangkhaichiem4305 Рік тому

    Thank you for sharing. I am also planning to make a similar ac servo spindle. Can you tell more about the wiring diagram.

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      What do you need? I did this setup just for tests and I didn't use it as spindle drive but this testing setup here worked fine

  • @jimdean7335
    @jimdean7335 Рік тому

    Hello, I don't know if you are still looking at comments on this post, but I have a question. It appears that you configured Mach3 to output a PWM spindle speed command. However, it looks like you configured the servo drive to accept an analog 0 to 10v speed reference signal. I don't see how that will work. Am I missing something? I'm looking to do a similar application and want to make sure I procure the correct devices. Thank you.

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      I'm not quite an electrician but you're right - I have pwm on the spindle speed output at 0-10V and the servo driver accepts 0-10v. I mean - I'm not sure how it should work from the theory but it works as I connected it on the video :)

  • @skifahrer3
    @skifahrer3 2 роки тому

    Hallo, habe den Gleichen Motor mit dem FU und mach 3 LPT Board. iCh bekomme die Verkabelung nicht so hin das ich in mach3 den Motor steuern kann. Das Relais Schaltet es liegt aber keine Spannung am 0 - 10v Ausgang an. Wie genau ist die Verkabelung zum Board ? Danke

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      Hallo. Sorry für die späte Antwort.
      Hier ist ein weiteres Video, in dem ich zeige, wie ich das MACH3-Board mit 0-10 V verdrahte und konfiguriere und die gesamte Verkabelung herstelle.
      ua-cam.com/video/P6xxHj6qYSA/v-deo.html
      hoffentlich hilft es

    • @skifahrer3
      @skifahrer3 2 роки тому

      @@GBWM_CNC Kein Problem. Vielen Dank für den link.

    • @skifahrer3
      @skifahrer3 2 роки тому

      @@GBWM_CNC Hallo hat geklappt. Muss nur noch den Motor so einstellen das er nicht direkt so hart anläuft. Sollte in Motor Tuningeinstellungen funktionieren.

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      @@skifahrer3 Freut mich, dass es geholfen hat :)

  • @balkanboymiki1
    @balkanboymiki1 2 роки тому +1

    hello sir your video is outstanding it helped me a lot to solve my problem but I have another small problem when I turn off the Spindle in the Mach3 the engine continues to spin at 50 rpm and when I pull the cable out of the controller the motor keeps spinning can you tell me how to stop the ac motor

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      Did you set the clamp parameter? I mean, if you set it at let's say 60rpm the servo won't turn if the voltage is low enough. (If you don't use such low speeds for your work)

  • @maxcox6019
    @maxcox6019 2 роки тому

    Can you use a 110 to 220 step up converter to run the servo drive?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      I didn't have an oppurnity to test such thing so I can't answer this question. Maybe try to look it up in the manual of this servo

  • @fredp9708
    @fredp9708 Рік тому

    Hi,i want to know if you have set an acceleration/deceleration ramp.for the motor when it's drive from mach3 .because mine start and stop instantly.At the start i can start it and ramp it up but at the and of a program it stop brutally,i have achieve to set the 3 parameter in the speed mode but it's not working.
    thanks

    • @GBWM_CNC
      @GBWM_CNC  Рік тому

      Hi! I think I didn't set that as I was testing it without load so there was no need. I think there is such parameter in the servo driver for that. Also there is the ramp option in mach3 - did you try it? In the motors configuration there is a spindle characteristic ramp option if I remember good but I've never tried it as I've always used VFDs for my spindles in machines.

    • @fredp9708
      @fredp9708 Рік тому

      Yah without load its a thing but with a 200mm lathe chuck its a thing to considerate.I have achieve to do a ramp acc/decel but for that iwe need to desactivate the brake
      pn 15?... this caus the motor runing slowly without any signal(spindel off in mach3)
      I really don't know how to solve thhis one. :)@@GBWM_CNC

    • @fredp9708
      @fredp9708 Рік тому

      My servo is a 3.8 kw same brand of you

  • @rofiscreation2316
    @rofiscreation2316 3 роки тому +1

    Can reverse rotation sir?

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      To make it spin reverse in analog mode - you need negative voltage, for example -10V can be maximum rotation speed in reverse direction. Not quite sure if it is possible in MACH3

    • @Ale_Lab
      @Ale_Lab 3 роки тому

      Mach3 won't do it for you. You need to run the Analog signal in a relay board and make it going through a Signal Inverter, or if you have a DC motor then just relays to swap the motor polarity.

    • @BondmeJesus
      @BondmeJesus 3 роки тому

      using 0-10VDC analog i think you reverse polarity

    • @BondmeJesus
      @BondmeJesus 3 роки тому

      i will be using 4 relays to reverse polarity 2 relays for forward and 2 for reverse, and have one output opperate the 2 relays for m03 and one output to opperate other 2 relays for reverse m04

  • @dsaworxcarpentrysolutions9155
    @dsaworxcarpentrysolutions9155 3 роки тому +1

    Y program says please configure estop. Please plug it in. Can anyone give any advice? Thanks in advance

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      Check out my video where I show how to configure limit switches. There is also some information about how to configure an e-stop switch.

  • @androngorshkov
    @androngorshkov Рік тому

    Привет. Я пока без опыта, пока только собираюсь строить свой ЧПУ токарный, поэтому наверное тупой вопрос:
    Хочу на привод шпинделя поставить серву. Можно ли с помощью УП на мач3 или других автономных контроллерах управлять одновременно скоростью шпинделя, а потом поворотом патрона в определенное положение? Для сверления детали сбоку например. То есть скажем: патрон вращается 1000об/мин потом останавливается и поворачивается на нужный угол.

    • @GBWM_CNC
      @GBWM_CNC  Рік тому +1

      К сожалению, у меня не было возможности протестировать такую вещь. Но на самом деле есть возможность управлять его скоростью ИЛИ положением, поэтому, если бы вы могли переключаться между режимами управления, то, вероятно, это было бы возможно.

    • @tokarka8258
      @tokarka8258 Рік тому

      Энкодер сервы имеет A B Z метки, их можно дублировать через интерфейсную плату (опторазвязку) в мач. При управлении step/dir можно и индексно проворачивать шпиндель на заданный угол и получать closed- loop. Не понятно только как Вы собрались сверлить не в оси детали)

  • @sickswan61
    @sickswan61 6 місяців тому

    Ow can pwm and gnd be same pin

  • @niksechtniks
    @niksechtniks 2 роки тому

    does this method work with a 0-10V signal or a PWM signal?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      This breakout board uses pwm signal from what i know.

  • @frosbite3dbh771
    @frosbite3dbh771 2 роки тому

    hello friend my contoradora and offline. (it doesn't allow me to rotate the spindle, only when entering the g code) can you help me?. would like to rotate or spindle in JOG mode. you will use external buttons, but I don't know where to start. Do you have any tip?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      You mean you can't start your spindle with the spindle CW button? Did you set the Spindle speed? If your spindle speed = 0 then the spindle button won't turn it on.

    • @frosbite3dbh771
      @frosbite3dbh771 2 роки тому

      @@GBWM_CNC ESTOU USANDO ELE COMO SPINDLE EM MINHA CNC,(MAS MINHA CONTROLADORA E UMA TC5540H )ELA NAO POSSUI BOTAO PARA GIRAR O SPINDLE. SO E POSSSIVEL FAZER ISSO ATRAVES DE GCODE M3. EU PRECISO GIRAR O SPINDLE PARA FAZER O ZERO PEÇA . ( EU PENSEI EM FAZER ISSO ATRAVES DE BOTOES MAS NAO SEI POR ONDE COMEÇAR). UM ABRAÇO PARA VOCE E SUA FAMILIA AQUI DO BRAZIL

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      @@frosbite3dbh771 Pelo que vejo no manual do seu controlador (não tenho experiência com isso), parece que infelizmente não existe essa possibilidade

  • @dalessi8331
    @dalessi8331 2 роки тому

    Hello friend! Can any servo driver be controlled by this board via Mach3?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +2

      Hello! As a spindle - any servo which accepts 0-10V input and as a axis drive - the servo driver has to accept step/dir signals. I've no idea if there is a possibiliy of commucation over etherCAT / ethernet / CAN / Mobuds or other.

    • @dalessi8331
      @dalessi8331 2 роки тому +1

      @@GBWM_CNC I've seen some people replacing stepper motors with servos and controlling them with this parallel port board! Does the friend know how to proceed in this case?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +1

      @@dalessi8331 If these servos have the step/dir input - there is no problem with that. I made a video here: ua-cam.com/video/rfJOJ7xSrlQ/v-deo.html about using the servo from this video as a axis drive (works the same way as a stepper motor). If you have other servos - make sure these will accept step/dir signals as motion input data.

  • @lexering1988
    @lexering1988 2 роки тому +1

    è possibile collegarlo come spindle su nvem v2? sai i collegamenti? grazie

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому +1

      NVEM v2 da quello che afferma il produttore ha un'uscita 0-10 V richiesta per far funzionare questo servo come motore mandrino. Non ho esperienza con questo controller cnc ma dovrebbe funzionare. Probabilmente dovresti essere in grado di configurarlo sulla base di questo film (la configurazione del driver del servo dovrebbe essere simile se non la stessa) e il manuale del controller CNC.

    • @lexering1988
      @lexering1988 2 роки тому

      Grazie mille

    • @lexering1988
      @lexering1988 2 роки тому

      Sai fare il factory reset del driver?

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      @@lexering1988 Non ne ho idea. Penso che dovrai controllare il manuale utente del driver

    • @lexering1988
      @lexering1988 2 роки тому

      Fatto ma non si capisce niente

  • @OddsandEndsMachining
    @OddsandEndsMachining 3 роки тому +1

    I’ve followed your wiring and tested that the controller puts out 0-10v using a multimeter as I change the rpm. But I can’t seem to get the servo to spin other than in jog mode. We’re there any other parameters you needed to change?

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      Everything I set is here on the video. Did you enable the servo with the enable parameter?

    • @OddsandEndsMachining
      @OddsandEndsMachining 3 роки тому

      @@GBWM_CNC thanks for the reply. I copied what you did with the Pn settings (enabling the servo and getting the high pitched noise) and used pin 13 and 25. I can change the voltage between 0-10v with the spindle control in Mach but still nothing happens.
      I hope it’s not a hardware fault.

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      @@OddsandEndsMachining That's weird, it worked for me fine on settings from video. Hard to tell what could go wrong.

    • @OddsandEndsMachining
      @OddsandEndsMachining 3 роки тому +1

      @@GBWM_CNC all sorted. I just made a small mistake on. The wiring of 13 and 25 (mirrored the drawing).
      Do you get much electrical noise with this set up?

    • @GBWM_CNC
      @GBWM_CNC  3 роки тому

      @@OddsandEndsMachining I didn't notice any noise. Do you have electric noise problems?

  • @claudiogarrido2270
    @claudiogarrido2270 2 роки тому

    muy buen video, tu podrias ayudarme a configurar mach3 con servomotores

    • @GBWM_CNC
      @GBWM_CNC  2 роки тому

      Mira mis otros videos. Tengo un video sobre cómo configurar ac servo con mach3

  • @rrrnovak123
    @rrrnovak123 Рік тому

    does anyone know what are these waterproof connector type on servo side?

    • @Ais4Drew
      @Ais4Drew 2 місяці тому

      They look like a more beefed up version of a 4-pin aviation connector. I’d Google “waterproof aviation connector” to see what ya get 😎

  • @BeautyBattleZone
    @BeautyBattleZone 10 місяців тому

    Apakah itu sama dengan servo tipe da98b

    • @GBWM_CNC
      @GBWM_CNC  10 місяців тому

      saya tidak punya pengalaman dengan itu

  • @fcsigntech2809
    @fcsigntech2809 2 місяці тому

    Software link

    • @GBWM_CNC
      @GBWM_CNC  2 місяці тому

      mach3 available to download on google