Set Up Motion Control in a Micro850 for Servo Positioning

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024
  • In this lesson we show how to use the motion instructions in Connected Components Workbench to do motion control with the Allen Bradley Micro850 PLC. We use the MC_ReadAxisError to determine the current state of our axis, the MC_Power instruction to enable the motion axis, the MC_Home instruction to set the home position of our axis, MC_MoveVelocity to jog the axis manually, the MC_Stop to stop the motion axis, and the MC_MoveAbsolute to precisely position the axis.
    Get the full details of this lesson at controls.tw/yt...
    Items used in this video:
    PLC Trainer controls.tw/yt...
    Stepper Trainer controls.tw/st...
    The above links make these videos possible. Please use them!
    Support these videos while you advance your skills controls.tw/yt...

ความคิดเห็น • 42

  • @jesuscontreras9554
    @jesuscontreras9554 3 หลายเดือนก่อน +1

    Thanks for everything, greetings from Mexico

    • @TimWilborne
      @TimWilborne  3 หลายเดือนก่อน +1

      You are welcome!

  • @binukanishadbamunuge6389
    @binukanishadbamunuge6389 3 ปีที่แล้ว +1

    Excellent video as always..

    • @TimWilborne
      @TimWilborne  3 ปีที่แล้ว +2

      Glad you enjoyed it!

  • @gibbeys
    @gibbeys ปีที่แล้ว +1

    Your videos have been extremely helpful.
    Any future plans to do a similar video with the 5100 series Knitex drives and TLP motor?

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +1

      I did this one on the 5100 and we're building a custom Kinetic 5300 now, well probably do some videos on it.
      th-cam.com/video/1fpK1pbjbK0/w-d-xo.html

    • @gibbeys
      @gibbeys ปีที่แล้ว +1

      @@TimWilborne thanks….
      I started my journey into plc programming last winter after purposely staying away from it for years.
      Kicking my myself for not doing it sooner. Worked with relay logic forever.
      Your videos have really bridged the gaps in my knowledge base.

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว

      @@gibbeys I am glad to hear that they have been helpful!

  • @michaelbriggs1713
    @michaelbriggs1713 ปีที่แล้ว +1

    How would you read the current position in CCW, to be able to display it (like on a PV800 display screen)? Thank you, I love your videos!

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว

      Hi Michael, yes, you could set it up to display like any other tag, have you seen our Panelview 800 videos?
      th-cam.com/video/RZVDuDEqVfA/w-d-xo.html

  • @fbomorgon
    @fbomorgon ปีที่แล้ว +1

    Tim, I'm working with a micro850. your tips helped a lot! I managed to get the axes to work. but I need to do the acceleration and braking curve. can you help with that? thanks

  • @richardh568
    @richardh568 2 ปีที่แล้ว +2

    Tim: Is there a way to export CCW software to RSLogix 5000 Studio? Have one at home, and the other at school. Thanks

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว +1

      Not that I'm aware of Richard but you can copy and paste in between them which is a HUGE improvement.

  • @michaelbriggs1713
    @michaelbriggs1713 ปีที่แล้ว +1

    Thank you for a great video, as always. I'm confused though about the timer - I don't see how it's doing anything. Nothing is contingent upon it being completed. At around 40 minutes, you add a rung that you say is for checking that the home delay is done (it becomes true) - but that will happen as soon as it latches in the rung above (well, when that cycle processes). The timer is in parallel with it, so the latch delay being done should be independent of the timer. Am I missing something?

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว

      It just makes the home stay on a little longer. I had some timing issue but I can't recall, I haven't played with that trainer in a while.

  • @solomonassefa8877
    @solomonassefa8877 2 ปีที่แล้ว +1

    Dear Tim, Good day, Interesting and great Video, Thank you, I want to know using MC_MoveRelative instruction, can do a continuous movement taking different positions X-axis values, like x=2mm, x=3mm, x=10, x=15 , x= 12, X= 16 ETC? if so I kindly request you how can program using CCW ?

  • @OMCanam
    @OMCanam 2 ปีที่แล้ว +2

    How would you do the programming side (RSLogix5000/Studio 5000) on a CompactLogix L33ERM ? There's alot of people on the web talking about special driver (AMCI stepper module) to buy but if we want to hook it up to cheap TB6600 driver, how to control those ??

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว +1

      I'm only aware of the AMCI option and I've never used it.

  • @lan3516
    @lan3516 2 ปีที่แล้ว +1

    Please make video on power monitor 1000 communicate with control logix and panel view C300

  • @smartpaco8360
    @smartpaco8360 2 ปีที่แล้ว +1

    I cannot find the video about the software you are using, I have a controllogix and I want to connect a stepper motor to it, how can I do that using rslogix ? Thank you

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว +1

      There is no native way to do this with a Controllogix

  • @danielmora7452
    @danielmora7452 ปีที่แล้ว +1

    Hi Tim, good video as always, do you know why my Stepper is only going Counter Clock Wise, and I can´t move it the oposite way? I am changing the direction sign from negative to positive but nothing happens on the move relative module. Thanks

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +2

      Hi Daniel. What do you mean by you are changing your direction signal from negative to positive. Most steppers have a pulse for the speed, which I assume is correct, and a direction which you apply power to when you want to reverse direction. You may see a DIR+ and a DIR- but you would still apply voltage across them when you want to reverse direction.

  • @chuckforabuck
    @chuckforabuck 3 ปีที่แล้ว +1

    Tim,
    As always, thank you for the great video.
    I have been working on a stepper motor project of my own using the "motion controls" function blocks within Connected Components Workbench, but have been unable to figure this one feature out. I cannot get the stepper motor to change velocities based off an analog input in real time.
    On the MC_moveVelocity command, the velocity variable value is changing (which is the analog input value), but the speed doesn't actually change until I disable and re-enable the MC_MoveVelocity "Execute" boolean variable. I can see the velocity variable changing in CCW, but the motor speed never actually changes until the toggling action just mentioned occurs. I would prefer a continuos solution, where the if the analog value increases, then the motor speed increases automatically.
    Do you have any idea on how to do this? I tried using the MC_WriteParameters function, but nothing has come about. Any help would be greatly appreciated.

    • @TimWilborne
      @TimWilborne  3 ปีที่แล้ว +2

      Hum...I think you'll need to use a move position with a very large final position. They allow updates to the velocity without stopping. I haven't tried to do that.

  • @agustinguzman6375
    @agustinguzman6375 ปีที่แล้ว +1

    (at 3:03) Electrical Question: When you connected the "ENA+" to the PLC output, is there a concern with the limit switches already carrying +24V from that "ENA+" connector and then backfeeding +24 into the PLC's output? (because I'm overly cautious with this, I put a diode on the PLC output, but it would be good to know if this is a concern or not). Thanks!

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +2

      It can be a concern, especially on inductive coils, big contactors and solenoids are the worst. But not in this case. I should do a video on that sometime.

  • @yeseniaoliva8879
    @yeseniaoliva8879 ปีที่แล้ว +1

    Hi Tim, What happens if my home switch sensor fails? What can I do to the motor stop if it did not find its sensor?

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +2

      The overtravels should stop it.

  • @IKnifedUrC4
    @IKnifedUrC4 3 ปีที่แล้ว +1

    I see that model only has 4 High speed outputs. Does the direction and the pulse both need to be on a high speed output? I want to connect 3 axis to this setup to make a router. Thanks!

    • @TimWilborne
      @TimWilborne  3 ปีที่แล้ว +1

      Two only and you wouldn't want to use it for a router. It can't do circular interpretation.

  • @KennyLoh-rx8lw
    @KennyLoh-rx8lw ปีที่แล้ว +1

    Hi Tim, would like to ask you. The motion axis TargetPos or CommandPos can it be reset after maybe 100 incremental cycle running?

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +1

      It has to complete the move before you can put in another value.

    • @kennyloh2062
      @kennyloh2062 ปีที่แล้ว +1

      @@TimWilborne yes. But if is incremental. The value will keep adding until it overflow right? How to prevent it to happen?

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +1

      Yes, eventually you do have to "roll over" your encoder. That would make for a good video.

    • @kennyloh2062
      @kennyloh2062 ปีที่แล้ว +1

      @@TimWilborne but I’m using pulse and direction to move the position with incremental. Is that I need to use the MC_setPosition to make it the value to zero?

  • @LearningInVR
    @LearningInVR 3 ปีที่แล้ว +1

    I want to build something like this , will CCW work with a stepper motor and driver ?

    • @TimWilborne
      @TimWilborne  3 ปีที่แล้ว +1

      Yes, you should be able to make it work with the Micro850.

  • @cornerbounce
    @cornerbounce 2 ปีที่แล้ว

    I gave the movevelocity command and worked perfectly. When I gave a stop command for an estop that worked perfectly but couldn't reissue the movevelocity after that. I tried mcreset and still no luck. Anyone have any ideas or thoughts on what my problem might be?

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว

      I think in that case you have to disable and re-enable the axis.

  • @warrenscorner
    @warrenscorner ปีที่แล้ว +1

    Sorry Tim but you loose me with all that spaghetti.

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +2

      My programming code or the wiring 😂Here is the first video in the series of how it was wired.
      th-cam.com/video/rMVIuYhvr9g/w-d-xo.html