Configure a Micrologix Encoder High Speed Counter

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • In this video we show you how to configure RsLogix 500 for an encoder connection, how to wire the encoder, and why counting in ladder code doesn't work.
    Don't forget to like and comment on our videos and subscribe to our channel.
    czcams.com/users/TimWilbo...
    Support these videos while you advance your skills courses.twcontrols.com/
    RsLogix 500 Serial Communications Configuration • RsLogix 500 Connect to...
    RsLogix 500 Ethernet Communications Configuration • Allen Bradley Microlog...
    RsLogix 500 Downloading your program • RsLogix 500. Download ...
    Items used in the video:
    Micrologix 1100 PLC Trainer controls.tw/jnuk2
    Encoder Simulator with Open Collector controls.tw/kd45x
  • Věda a technologie

Komentáře • 120

  • @joew4202
    @joew4202 Před 10 dny +1

    You never fail me Tim. Thank you

  • @megamanwins
    @megamanwins Před 4 lety +1

    So very Helpful to me! Thank you sir Tim.

    • @TimWilborne
      @TimWilborne  Před 4 lety

      I glad to help. Thank's for watching!

  • @alnaseri3622
    @alnaseri3622 Před 5 lety +1

    Great Video Tim and very valuable information !!

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

      Thanks, the high speed function file is one of the lesser known features of the Micrologix PLC. You can do a lot of high speed applications with it that you would normally think you need a PLC with a lot more horsepower for.

    • @alnaseri3622
      @alnaseri3622 Před 5 lety +1

      @@TimWilborne Absolutely right, i have seen it many time, in many applications. also, i have seen the lag issue, just like what happened here, the send high freq. where the PLC can't keep up.

  • @marcoantoniobobadillagalva8403

    Great video!!! Thanks for the information!

    • @TimWilborne
      @TimWilborne  Před 5 lety

      Glad you liked it. Thanks for watching!

  • @m.sawmill3136
    @m.sawmill3136 Před 5 lety +2

    That is a great video, as always!! I tried to find out the max PPS that a Micrologix HSC could read and didn't find it in the manual. (maybe I didn't look hard enough) I called our A-B dealer rep and his engineers couldn't answer the question but said my 32 ppr encoder would work at 1800rpm. Thank You again!!

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

      Just make sure you have a series B. Seems the series A were 20 kHz.

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

    Thank you very much Tim share your knowledge. This video helped a lot.

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

      You are welcome Antonio. Glad to hear it was helpful.

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

    Thanks for your videos, they are helping us too much for a integration we are doing with a cutter machine.

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

    i assumed you as my AUTOMATION Professor cause explain good

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

    Great video!!!! I learned something new🤘💪👍

  • @jesuslite2000
    @jesuslite2000 Před 4 lety +2

    Very Helpful! I'm learning at work with a micrologix1500C. I'd love to see more videos covering some of the more complicated instructions such as FBC and DDT and some of the more complicated instructions since ALB is somewhat lacking in their help and examples.

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

    Awesome video.... exciting

  • @shaijuj2380
    @shaijuj2380 Před 5 lety +1

    Very good demo

    • @TimWilborne
      @TimWilborne  Před 5 lety

      Thanks, we've got some videos coming out on the other function files.

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

    Excellent video. Also, the tool that you use here, the encoder simulator. I didn't know that tool existed.

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

      Glad you liked it! Here is a link to the PLC Tools SIM-EOC Encoder Simulator.
      plctools.com/encoder-pulse-frequency-simulator-and-tester-5-to-24vdc-open-collector-with-din-rail-mount/

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

    Nice information thanks

  • @adonisreyes5357
    @adonisreyes5357 Před 5 lety +1

    great video

  • @susanwindsorsallaboutaloe6915

    This is great! I sure would like to see the servo set up!

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

      I've been thinking the same thing. I'll have to see if I can get some parts together. Thanks for watching!

    • @megamanwins
      @megamanwins Před 4 lety +1

      @@TimWilborne waiting for it sir! :)

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

    Hello Tim,
    Can I please know that microlodix 1500, CAT 1764-28BXN ser B has high speed counter input on it or not? I checked the manual it seems like it doesn't.
    Thank you

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

    Great video, thank you very much!

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

      You are welcome Roko!

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

      @@TimWilborne can you maybe explain how to read time between two rising edges/impulses? Im doing a school project but im having trouble using HSC and STI interrupts on Micrologix 1500.. manual is not helping too much. I watched most of your other videos related to the topic. Thank you for your time

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

      Have a look at the EII function file. That one is what you need. I don't have a video on it.

    • @rokolokas6590
      @rokolokas6590 Před 3 lety

      @@TimWilborne I will, thank you very much! 😘

  • @brunothomaz9213
    @brunothomaz9213 Před rokem +1

    how to calculate displacement in millimeters ??? Please.

  • @MarvinOGarza
    @MarvinOGarza Před 5 lety +1

    Thanks for making this videos, they are so helpful. Could you please make one explaining how to use the Message Instruction for more than one message at a time? Thanks!

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

      Yes that would make a good one, I'll put it on the list.

  • @arjunjayswal6347
    @arjunjayswal6347 Před rokem +2

    Thanks a lot sir

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

    Thanks for the video it's very useful. Please let me know if the same programming with an additional condition can be used for speed feedback from a pickup device.

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

      Yes, only you wouldn't use quadrature for the mode. You would use count up.

  • @PeteVree
    @PeteVree Před 4 lety +1

    Hi Tim. Do you happen to know the part number for those terminal blocks with the spring clamps that you are using for your 24 V supply terminals. Those look they would stand the test of time with apprentices in a school lab environment.

    • @PeteVree
      @PeteVree Před 4 lety

      2nd question. I am contemplating purchasing (25x) AB 1100 Micrologix PLC with an external Analog Module. Would this be adequate to control a vfd, or do PID control, or based on this video, connect an encoder? Do you guys ship to Canada? Thanks so much for all the phenomenal videos. I've learned a ton from you.

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Hi Pete. They are called screw less terminal blocks. controls.tw/64fkn

  • @fethilakhdari1078
    @fethilakhdari1078 Před rokem +1

    Thank you for a great presentation.
    I tried to redo the mathematics you went through but I could not get similar result to yours, my 800 usec translate to near 1 msec which means 1000 pulse should be detected, however you only mentioned 500. Does this mean that 2 scans should be allocated to each pulse?
    Thank you in advance for your help.

    • @TimWilborne
      @TimWilborne  Před rokem +1

      It has to see the transition of both on and off.

  • @bitodicontroltechnology4451
    @bitodicontroltechnology4451 Před 6 měsíci +1

    Very interesting. I have a quick question: I programmed an inspection system inspecting with AB ML1400 (to check the count and see the correct orientation of containers). My counter is working very well but occasionally it will send false alarms when the count is right. Would you have any advice to solve the issue?

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

      Chances are it is about you needing to understand program scan. While not what you are asking, how on tomorrow's Livestream. It will likely help

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

      I like the idea but it's gonna be difficult for me because of my work schedule. I have been trying to monitor the system but I am not able to catch that happening. The fact that it's a random situation. I don't know how to solve it. I am thinking about using different sensors maybe I can solve it. Happy New Year Tim.

  • @electromechanicalstuff2602

    Help! I have a Mitsubishi FX2n-16EYR I have a dead output channel. I'm looking to replace it. Is there a modern Mitsubishi I can put this program in. What is the software I need to do this? Thanks!!!

    • @TimWilborne
      @TimWilborne  Před 4 lety

      The FX3 is the modern replacement I believe but it has been a while since I've worked with one of them.

  • @user-wt9xo5ys1m
    @user-wt9xo5ys1m Před 4 lety +1

    Hey Tim, it's really useful, can I get the backup out of a faulty PLC?, suppose there was an error in the controller and the fault led is On.

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

      If the fault light is solid on then no. If the fault light is flashing then you probably have an 80% chance of extracting it

    • @user-wt9xo5ys1m
      @user-wt9xo5ys1m Před 4 lety +1

      @@TimWilborne Many Thanks brother.

  • @pathaksachin8530
    @pathaksachin8530 Před 4 lety +1

    Hello,
    can you please tell me how i stop minus counting of encoder in AB PLC, as well as if my motor is run and stop after some time i push stop button and application is stop but due to weight it has slippage in application how can i stop pulse counting in that slippage.

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

      You can use the Counting Enabled (CE) to disable the counter when you do not want it to count.
      To stop reverse counts, you need to change your HSC Mode (MOD). I'm guessing you have it on 6 or 7. For an up only counter it should be 0 or 1. Also note that this will disable input 1 and your counts will be 1/4 of what it was previously.

  • @MuhammadSuleman-hd1ig
    @MuhammadSuleman-hd1ig Před 4 lety +1

    When you pressed accept rung edits, I:00 shows Bul.1763 why? Secondly we never had physical input at I 00 then why its flashing (receiving input).

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Hi Muhammad. I:0/0 is on the base unit of the Micrologix 1100 (1763-L16BBB) we were using, that is why it said Bul. 1763. Inputs 0 and 1, I:0/0 and I:0/1, were connected to the PLC Tools SIM-EOC Encoder Simulator which was sending pulses to those inputs in a quadrature encoder format.

  • @FoxyGrandma915
    @FoxyGrandma915 Před 5 lety +1

    Hi Tim. How can you trigger an output after a certain amount of pulses. For example if the encoder is running and I push a button at count 500, I want to turn a light on for 50 pulses after 1000 pulses have passed. Also how can I handle pushing the button a second time before the light has turned on from the first push and still light up the light for both button pushes?

    • @TimWilborne
      @TimWilborne  Před 5 lety

      I'm not sure I'm fully understanding what you need. But if I'm halfway following you, you would use MOV instruction with an ONS with a Source A of HSC:0.ACC to capture the value when you press the button. Then an ADD instruction to add 1000 to that value to determine when to start you light. Then ADD to determine when to turn the light off. Then you could use a LIM of these two values to turn on the light. Does that sound right?

    • @FoxyGrandma915
      @FoxyGrandma915 Před 5 lety +1

      Tim Wilborne yes. But what I am wondering is how can I keep track of two or more button presses at the same time. This is for an actual application of boxes across a conveyor. The encoder is on the conveyor and when it senses a box it triggers an action downstream on the conveyor. Before it gets there though, more boxes would have passed that original sensor.

    • @TimWilborne
      @TimWilborne  Před 5 lety

      @@FoxyGrandma915 OK got you. You'll want to look at the FIFO instruction to store those values.

  • @ManuelMartinez-fx6ql
    @ManuelMartinez-fx6ql Před 4 lety +1

    Hi Tim, very nice video. How is the function of the Progam File, in this case, LAD3-HSC? Because you don´t write any code in there.

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

      You can make Ladder 3 execute when the HSC reaches a preset value. Say that you needed to do something with precise timing the moment that a value is reach, ladder 3 would interrupt the normal execution of the program and immediately run.

    • @ManuelMartinez-fx6ql
      @ManuelMartinez-fx6ql Před 4 lety +1

      @@TimWilborne Ok ok!! thanks for the answer.

  • @minteqipad5720
    @minteqipad5720 Před 4 lety +1

    Hello Tim. Thanks for all you content, its been very helpful. Im trying to use a 1769 HSC on a compact logix l35e for RPM but I cant get the current rate to display properly. It reads 0 unless im spinning it real fast then it just reads either 100 or 200. The channel is enabled and the current count is working fine. Im using a 60ppr single channel encoder. I have check out all the forums and tried things people suggested who had similar issues but still no success. Any help would be appreciated. Thanks

    • @TimWilborne
      @TimWilborne  Před 4 lety

      That is most likely a rounding issue cause by using an integer instead of a floating point number somewhere in your calculation. How are you calculating the rate?

    • @minteqipad5720
      @minteqipad5720 Před 4 lety +1

      @@TimWilborne Hello Tim thanks for you reply. Im not actually calculating anything yet. Im just watching the tag value current.rate. The manual on the card says to change the scaler value based on you ppr (ppr/60) but because my ppr is 60 I left the scaler at 1.

    • @TimWilborne
      @TimWilborne  Před 4 lety

      ​@@minteqipad5720 I'm not familiar with the Scalar field. Here is an example of doing it in ladder. It is written for CCW but the principle is the same.
      www.theautomationstore.com/calculating-rate-on-a-high-speed-counter-in-an-allen-bradley-micro800-micro850-plc/

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

    What version of rslogix is that? It looks different than mine and I just installed v12

    • @TimWilborne
      @TimWilborne  Před 2 lety

      I can't recall what version that video was made with. What looks different?

  • @stanleypolanco4887
    @stanleypolanco4887 Před 4 lety +1

    greetings TIM
    a question with the 1746-HSCE2 module ... can I configure two encoders individually?
    Thank you

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Hi Stanley. Yes it can handle two encoders but the 1746-HSCE2 configuration is not nearly as easy as this. In fact it can be a pain. If this is a new application then I would consider something besides the SLC.

    • @stanleypolanco4887
      @stanleypolanco4887 Před 4 lety +1

      The application is ready, but now we want to incorporate two encoders for the machine path without changing the SLC
      just incorporating this card
      How difficult is it to configure this module?

    • @TimWilborne
      @TimWilborne  Před 4 lety

      @@stanleypolanco4887 Without knowing the application I can say, but in previous applications i've added a second PLC to handle the HSC instead of working with the SLC. But there were other variables such as available slots, response time, etc.

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

    Can you do PTO from the Function files

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

      It is on the list, I still lack a few pieces of hardware

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

    hello tim
    plz tell me how to configure and make program to indicate (100mm/min to 1000mm/min) by using 2080-MOT-hsc plug-in module with 2080-lc50- 24qwb

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

      Check out this video. It is for the built in HSC of the Micro850 but the principle is the same.
      www.theautomationstore.com/allen-bradley-micro800-hsc-high-speed-counter-configuration-for-encoders-in-ccw/

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

      @@TimWilborne Tim in this video you not use plugin module
      in my application I've to use HSC plug-in module(2080-MOT-HSC) in 2 slot of micro850 (2080-lc50-24qwb)

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

      Same setup, you just need to change HSCApp.HSCID.

    • @amar5269
      @amar5269 Před 3 lety

      @@TimWilborne what do I select or put value in hscapp hscID

  • @vorapobautomation9760
    @vorapobautomation9760 Před 4 lety +1

    How can I do HSC in CompactLogix L27ERM CPU ?

    • @TimWilborne
      @TimWilborne  Před 4 lety

      It is on the list to do. Stay tuned!

    • @vorapobautomation9760
      @vorapobautomation9760 Před 4 lety +1

      @@TimWilborne Thank you very much but if possible can you put it in the first list instead?

    • @TimWilborne
      @TimWilborne  Před 4 lety

      @@vorapobautomation9760 Right now we are working on PID videos

    • @vorapobautomation9760
      @vorapobautomation9760 Před 4 lety +1

      @@TimWilborne Maybe next from PID video Thank you. I have to connect incremental encoder to CompactLogix CPU soon.

  • @silviagp1303
    @silviagp1303 Před 4 lety +1

    Hello, how can I make a meter that reaches two million or more?
    I'm doing a labeling system and I have this problem because my plc counter was blocked at 32767
    How could I do it?

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

      What PLC are you using?

    • @silviagp1303
      @silviagp1303 Před 4 lety +1

      @@TimWilborne ALEN BRADLEY 11OO

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

      @@silviagp1303 Use the L Long data type. It will get you past 2 million

  • @vorapobautomation9760
    @vorapobautomation9760 Před 4 lety +1

    Can you give me wiring diagram open collector encoder connect to plc compactlogix ?

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Which model of high speed counter are you connecting to on the Compactlogix?

    • @vorapobautomation9760
      @vorapobautomation9760 Před 4 lety +1

      @@TimWilborne I use Encoder Open collector output type

    • @vorapobautomation9760
      @vorapobautomation9760 Před 4 lety +1

      @@TimWilborne I connect to builtin HSC

    • @TimWilborne
      @TimWilborne  Před 4 lety

      @@vorapobautomation9760 See page 192 and 193 of this manual.
      literature.rockwellautomation.com/idc/groups/literature/documents/um/1769-um021_-en-p.pdf

    • @vorapobautomation9760
      @vorapobautomation9760 Před 4 lety +1

      @@TimWilborne Not clear thanks

  • @F11Daniel
    @F11Daniel Před 4 lety +1

    Hello, i tried to connect and read from a flow sensor FL 608 of digiten, but i coulndt :(
    I did it with an arduino but i cant seem to make it with my micrologix 1400.
    Can you help me
    Thanks

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Check the voltage and output type of your flow meter.

    • @F11Daniel
      @F11Daniel Před 4 lety +1

      @@TimWilborne Hi, thanks for the reply.
      The output is square pulse.
      I connected it with a 12v.
      The voltage between signal and power is 12 V
      Wiring is:
      Red cable is power
      Black is 0v
      Yellow is signal

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

      @@F11Daniel Most Micrologix PLCs are either 120VAC or 24VDC inputs. Neither would work directly with your flow meter. It is possible you could use a voltage divider to make it work but you need to look up the part number of your PLC and see what type of inputs it has.

    • @F11Daniel
      @F11Daniel Před 4 lety +1

      @@TimWilborne my plc works with 24vdc
      I am powering the sensor with an external 12v power supply and the signal to the I:0 of the plc.
      Am I doing the right Wiring?
      I have + and - of the sensor to the power supply.
      The signal to the plc
      The plc is powered with an external 24vdc power supply
      I did all the steps to the HSC and go to online but cant read

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

      @@F11Daniel Yes but what is your PLC's input voltage. For example a 1763-L16BWA has 24VDC inputs. 12VDC will not work.

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

    hello tim
    Amar again
    Please make video on hmi program for same hsc with encoder application and more thing plz tell
    previous comment you suggest me to change "HSCAPP1.HscID" I DO NOT UNDERSTAND WHAT VALUE I PUT AND in your video you use plc in-built terminals [com, 1 & 2], but i my case all in-built plc terminals are already used as DI and i put 2080-MOT-HSC in 2nd slot of plug-in, first slot of plug-in is occupied by 2080-IQ4 module this is system requirement or say machine operation requirement and i used 2080-lc50-24qwb plc
    and now i not how to design program to indicate (100mm/min to 1000mm/min) in HMI[2711R-T4T series-B
    and to communicate plc with HMI

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

    Please help

  • @caleb7799
    @caleb7799 Před rokem

    Where's the fire, Tim? haha