How to program an Encoder with PLC

Sdílet
Vložit
  • čas přidán 18. 11. 2022
  • Example of how to program an encoder for precision positioning using Machines Simulator and EasyPLC.
    Download the Machines Simulator machine and EasyPLC logic program from the Nirtec forum:
    nirtec.com/forum/index.php?to...
    www.nirtec.com
  • Věda a technologie

Komentáře • 12

  • @georgealbo
    @georgealbo Před rokem +1

    Thanks a lot for this video , but.if ihave a varibale speed of conveyor built or increasing in the number of products. I mean.i have a fixed conveyor but the distance betwewn.bottle decreased , how this will make a change on the system in the video

    • @Nirtec
      @Nirtec  Před rokem +1

      There is no problem, this is taken care of by the PLC logic. The encoder-based system reports the pulses made by the motor to know the positions, a photocell or micro is necessary to take the reference of the part to be controlled at a point, and the speed is always proportional to the pulses of the encoder.

    • @georgealbo
      @georgealbo Před rokem

      Thanks but i have question about the logic when programming the plc , correct me if iam wrong i need to add a counter of the pulses and to normally open contact of photocell if both are on i.e i need pulses of 1000 and the photcell is on then fire the alarm

    • @georgealbo
      @georgealbo Před rokem

      I mean shpuld.i put a photocell with the encoder or the encoder steps is enough

    • @Nirtec
      @Nirtec  Před rokem +1

      @@georgealbo It depends on the type of encoder, there are absolute and relative encoders, in an absolute type a reference signal such as a photocell is not necessary, but in relative ones you do need a signal that acts as a reference, as is the case in the video.

    • @georgealbo
      @georgealbo Před rokem

      Thank you for your convincing answer

  • @georgealbo
    @georgealbo Před rokem

    Dear sir iam asking if i got two or three bottles with the same color , can this be handled by this system to sort them

    • @georgealbo
      @georgealbo Před rokem

      do in this mentioned case i need shift register

    • @Nirtec
      @Nirtec  Před rokem

      The idea is to have a classification criterion, in this case the color of the bottles, which is read with the camera, and based on this, use the position value of each of the bottles, due to the encoder, to classify them.
      Logically, a shift register system can also be used, but this is used in simpler configurations with fixed steps and proximity sensors or photocells, here is an example: czcams.com/video/5avWZ1RpCRc/video.html

  • @viniciusperetti1724
    @viniciusperetti1724 Před rokem

    I create the conveyor, but the encoder signal don't pulse... I need to do some thing more ?

    • @Nirtec
      @Nirtec  Před rokem +1

      Not all the available conveyors have the encoder, use the ConveyorBelt1 and asign the PLC inputs for Encoder Phases A & B.
      In order to have a more detailed answer please use the Nirtec forum for technical questions -> nirtec.com/forum/index.php

  • @pierogutierrez4840
    @pierogutierrez4840 Před 4 měsíci

    Mecatrónica UNT - VIII Ciclo. Si ven esto ya separé esta chamba para Electricidad Industrial con Jimmy