Compactlogix HSC High Speed Counter Configuration in Studio 5000

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • The Allen Bradley Compactlogix L24 and L27 PLC models have built in embedded high speed inputs. These high speed counter inputs can be used for encoders and other high speed pulsed inputs such as flow meters. In this lesson we go through how to wire your encoder and configure it in Studio 5000 (formerly RsLogix 5000).
    Get the full details of this lesson at twcontrols.com/controllogix-c...
    Items used in this video:
    PLC Tools SIM-S24 Servo Simulator plctools.com/servo-motion-con...
    PLC Trainer twcontrols.com/plc-trainers
    The above links make these videos possible. Please use them!
    Support these videos while you advance your skills courses.twcontrols.com/
  • Věda a technologie

Komentáře • 33

  • @timcombs7646
    @timcombs7646 Před 3 lety +1

    great video. thanks Tim.

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

    My counter did not work because of this Enable bit 😂 Tks Tim!

  • @garybelveal4930
    @garybelveal4930 Před 5 měsíci +1

    Great Video! Do you have any videos regarding the Embedded HSC Output channels? I have an application where I need to provide a pulse speed reference input to a shihlin servo drive.

    • @TimWilborne
      @TimWilborne  Před 5 měsíci +2

      No, not on the Compactlogix. I didn't even realize it has them though it makes sense. I do for the Micro850
      czcams.com/video/rMVIuYhvr9g/video.html

  • @emilio.ferreira
    @emilio.ferreira Před 2 měsíci

    Help!
    Where to find Range12To15[0] ranges in Compactlogix l33emr to use LDW?
    Help me please!

  • @ceilingwalker1
    @ceilingwalker1 Před 2 měsíci +1

    I have the same PLC but it won't allow me to select anything but "Pulse Internal Direction" under operation mode. All my encoder does is count up.

    • @TimWilborne
      @TimWilborne  Před 2 měsíci +1

      Check the assignment of the other IO. If you have already assigned some of it for other tasks such as counters, it wouldn't be available for encoders.

  • @et.sachin
    @et.sachin Před 3 lety +1

    Hey Tim, I'm having a small doubt regarding the input and output data files. Does the number of bits in input data file mean that the controller will be having that many number of physical input terminals? When l look into the input data file of Micrologix 1400 Series A controller i could see 7 words inside, it does that mean the controller could accommodate a maximum of 113 inputs?

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      Not in reality. There is memory allocated for that many, but different models have different numbers of inputs. The 1400s have 20 inputs and 12 outputs on their base and can handle 7 expansion modules.

    • @et.sachin
      @et.sachin Před 3 lety +1

      @@TimWilborne so if we aren't using any expansion modules then only 20 bits from the data file is required right? Does that mean the 21st bit isn't mapped to any physical input terminal of the controller?

    • @TimWilborne
      @TimWilborne  Před 3 lety

      Not mapped is probably not the correct term. I'm not in front of a PC right now but many of them have function of configuring the input points.

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

    Using the same high speed coder how could use a proximity sensor to detect if a shaft is rotating or not?

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

      Possibly, depending on the frequency, you may not need a high speed input.

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

    Hi Tim, I am struggling in the 1769-HSC right now. So what does the "Local:3:I.Ctr0CurrentCount" actually stand for? It only counts one time if the sensor senses an object, If it senses this object again, it counts to 2. So the CurrentCount only counts how many times the sensor sensor the object? Is this logic correct? I connected a Banner sensor (M18SP6FF50Q) to A0+ and A0- of the HSC module. Local:3:O.Ctr0En is set to 1. The operation mode is "Pule Internal Direction". Is there any way to get the feedback value like a time? For example, how long does an object pass by the sensor take? Count the time for any object passing by the sensor.

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

      Counting is pretty much what the 1769-HSC...but at a very fast frequency. I don't think you can get a time stamp

  • @andretoledo3329
    @andretoledo3329 Před 11 měsíci +1

    Hi Tim! I would like to know if it's possible to use a simple digital sensor to count pulses. But the pulses are 1.8 Khz. I tried to use the input A, B e Z but doesn't work none of them.

    • @TimWilborne
      @TimWilborne  Před 11 měsíci +1

      Only on a very slow rates. You must consider the switching time of the sensor, input RPI, and PLC scan time. Sounds like you're looking for a high speed counter.

  • @justinpuzak2558
    @justinpuzak2558 Před 2 lety +1

    hey tim, off topic question,, but i cant use trends on studio 5000, every time i hit run it lags for a few seconds and then i get a error saying "path specified invalid or one of the modules not responding

    • @TimWilborne
      @TimWilborne  Před 2 lety +2

      A few things to try from technote QA9600. Shut down RSLogix 5000. Press the Ctrl and Shift keys while restarting Logix Designer to reset user preferences and screen settings. Delete harmony files as shown in this video czcams.com/video/ehcek7zRGg0/video.html

  • @ayhanseku3729
    @ayhanseku3729 Před 2 lety +1

    Hi bro,
    Thank you for your valuable video.
    I want to calculate line linear velocity (m/min) using 1024 htl encoder.
    cylinder diameter 600mm
    cpu
    1769-l24er-qbfc1b
    another question:
    I want to read the plc scan time for each cycle.

    • @TimWilborne
      @TimWilborne  Před 2 lety +1

      This should help. twcontrols.com/lessons/math-for-rotary-motion-to-linear-motion-conversions-on-servos

    • @ayhanseku3729
      @ayhanseku3729 Před 2 lety

      @@TimWilborne thanks a lot.

  • @renatobarbosa4157
    @renatobarbosa4157 Před 5 měsíci +2

    Hello, how can I save the last value written so that when I turn off the CPU, it comes back with the same value, in my application the value is reset to zero and I need it saved to continue the process

    • @TimWilborne
      @TimWilborne  Před 5 měsíci +2

      The reason they reset it is you have no way of knowing whether the encoder moved while the power is off. But it would make for a good video. Instead of using the ACC for your scaling, you would would use a MOV instruction with a source a of the ACC and source b of some DINT such as MyEncoderValue. Use this tag for your scaling. Then you can use the S:FS first scan bit to set the ACC value back to it on power up.

    • @renatobarbosa4157
      @renatobarbosa4157 Před 5 měsíci +1

      Yes, it would make a good video, I'm trying to do it this way but I haven't managed to do it yet, I may be making a mistake somewhere, but thanks for the idea and if a video comes out about it, please notify me.

  • @apauto-hh4gh
    @apauto-hh4gh Před 3 měsíci +1

    Hi Tim, how do i can buy the "PLC Tools SIM-S24" while i am in Perth Australia. please can address to me the contact to buy?

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

      These are not available outside of the USA.

    • @apauto-hh4gh
      @apauto-hh4gh Před 3 měsíci +1

      @@TimWilborne thank you!

  • @TheShooter466
    @TheShooter466 Před 2 lety +1

    I don't get any counting, just flickering from 1 to zero. With no dead band. Weird.