Stepper Motor Quick Project Using S7-1200 PLC

Sdílet
Vložit
  • čas přidán 29. 06. 2023
  • I finally figure out in this video how to program a PLC to control a stepper motor and its a thing of beauty!

Komentáře • 19

  • @lehelkiraly2345
    @lehelkiraly2345 Před rokem

    Nice hobby. We have done these in the college. Plus we had some ready made projects to try out in the lab. Like caraosel sorting. But we used only omron plc's.

    • @mystery_1101
      @mystery_1101 Před 10 měsíci +1

      I don't think he does for hobbies.

    • @lehelkiraly2345
      @lehelkiraly2345 Před 6 měsíci

      ​@@mystery_1101 Yeah. Well he is a technician. Not an engineer in my opinion.

  • @novirustutorial
    @novirustutorial Před rokem

    im a big fan keep going!!

  • @PearseM96
    @PearseM96 Před 9 měsíci

    Great video Hamed. I am thinking of getting this same servo to operate a turn table. Do you just use D0.0 , D0.1, D0.2, to supply current to PUL+, DIR+, ENA+ and then run wire from PUL-, DIR - and ENA - to the -24vDC circuit to close the loop?

  • @wherami
    @wherami Před 8 měsíci

    Hope you are doing well. Havent seen you post in 4 months.

  • @spirit4860
    @spirit4860 Před 27 dny

    could you telk about wiring with servo driver

  • @shaneschuller2513
    @shaneschuller2513 Před 7 měsíci

    Noce setup..
    Im interested in your connecrion diagram tgat i could buold a panel like it please 🙏

  • @Swaminarayan683
    @Swaminarayan683 Před 8 měsíci

    Hello brother can you share links of your programs ?

  • @dilipbe1522
    @dilipbe1522 Před 8 měsíci

    can you help me to find right course and country to do masters in electronics

  • @chanchalsakarde2768
    @chanchalsakarde2768 Před 3 měsíci

    how to control steps movements, like.. lets say we have 400 circular points to move pointer one by one and i need to move pointer in following example sequence starting from 0->10->240->45->28-> 56->90->...........and-so-on...... -> 400 . How can we automate this as input all sequences altogether through file or any other way

    • @smokinsoldier6892
      @smokinsoldier6892 Před 3 měsíci +1

      I'm working on a project that does this, I'm using PTO to do this where one pulse = one step. It is all going to depend on the PLC you have as to how you can accomplish this. I'm yet to figure out how to do something like this with PWM. With PWM I have to rely on a signal to tell me if I've arrived where I want to be. With PTO I can tell it where I want to be and it'll attempt to go there but there is no verification that it has successfully arrived. It is a work in progress.

    • @chanchalsakarde2768
      @chanchalsakarde2768 Před 3 měsíci

      @@smokinsoldier6892 wow.. I'll excited to see you demo..

    • @smokinsoldier6892
      @smokinsoldier6892 Před 3 měsíci

      @@chanchalsakarde2768 doubt you'll see anything, either I get the promotion I've asked for to complete the project or I LLC and sell it to them and market to competitors as well. Nothing is really novel so can't patent but the program is IP.

  • @lehelkiraly2345
    @lehelkiraly2345 Před rokem

    I still don't understand why need by a new plc. Its easy just by an external relay mechanical or solid State which can handle big power.

    • @freddyviolato397
      @freddyviolato397 Před 21 dnem +1

      The problem is that stepper motors are controlled by a pulse train.
      Let’s say you have a 200 pulse per revolution motor, this means that every time you turn on and off the “step” input of the drive the motor will turn 360°/200=1.8 degrees.
      Now if you want to rotate it at 10rpm, which quite a low speed, you need 10*200 pulses per minute.
      This would mean switching on then off the plc output 33 times a second.
      As you can see with a low resolution motor running at low speed we are already switching too fast for a mechanical relay, and that’s why you need a DC output plc.
      DC output plcs have transistor outputs that can be switched at tens or hundreds of kilohertz.
      The high power of the motor is not handled by the plc itself, but by the driver (green box).
      The signals between the plc and the drive are low current, so they can easily be handled by transistor outputs.

    • @lehelkiraly2345
      @lehelkiraly2345 Před 21 dnem

      @@freddyviolato397 I meant switching on and off the power for the motor. I know the stepper motor working principle. I just don't get it why need always by a new plc to every single project. There is a lot of stepper motor driver ic solutions which is much cheaper that that green controller. Plus almost every modern plc has hardware timer which do the puses to the stepper motor.

    • @lehelkiraly2345
      @lehelkiraly2345 Před 21 dnem

      @@freddyviolato397 Plus i think this case that green box provide the control pulses for stepper motor not the plc. It just receiving the rotaion/control/speed singals from plc. Speed signal could be analoge signal.