Allen Bradley Micrologix Encoder High Speed Counter configuration

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 32

  • @joemaas7924
    @joemaas7924 2 года назад +1

    Tim, You saved me again! Same Thing. Check those input filter times! Thanks again. I always come back to you whenever I cannot
    resolve on my own.

    • @TimWilborne
      @TimWilborne  2 года назад +1

      Those input filters still get me every time! Glad I could help Joe.

  • @joemaas7924
    @joemaas7924 4 года назад

    Thank you, sir. That important item was what was causing issues. Thnx!

    • @TimWilborne
      @TimWilborne  4 года назад

      Glad it helped, it still forget to set those input filters too often.

  • @vincea2732
    @vincea2732 5 лет назад +1

    Great video! Thanks for posting.

  • @F11Daniel
    @F11Daniel 5 лет назад +1

    Hello.
    How can i get readings of flow sensor FL 608 (Digiten) on a micrologix 1400 series B.
    Regards :)

  • @hemadeepan644
    @hemadeepan644 4 года назад +1

    Thanks for the very good explanation sir.Can you explain PTO block also.?

    • @TimWilborne
      @TimWilborne  4 года назад +2

      I have gathered the hardware for that, I just need to find the time to set it up. Stay tuned!

    • @hemadeepan644
      @hemadeepan644 4 года назад

      @@TimWilborne Sir,Thank you so much for the response.I want one more suggestion also,
      I want to send ascii commands to my scanner card using AB PLC. I have tried to send commands through VB,its working fine through ethernet port.
      Same can be done using AB micrologix PLC 1400 series B.My scanner card is having ethernet port.
      According to my study,MSG instruction is for communication with another PLC,is it possible to communicate with my scanner card also? if yes,what address I should give.
      Kindly suggest,any other option if it is there..
      Thanks in advance!

  • @akashpatel2339
    @akashpatel2339 3 года назад +1

    Hello Tim,
    I am your follower and watching your videos and as always great information. I have one question.
    I tried to wire encoder with my micrologix 1200 PLC. 1200 has Input 0,1,2,3 for HSC. it works well when I connect Input 0 with channel A and input 1 with channel B and Gave 24V in common of the input 0,1,2,3. But it doesn't work when I connect them with input 2 and 3. Can you please help me?

    • @akashpatel2339
      @akashpatel2339 3 года назад +1

      Also, I was able to see the lights on/off on input 2 and 3 while I turn the encoder shaft. Input filter is already changed for input 0 to 3.

    • @TimWilborne
      @TimWilborne  3 года назад +1

      Inputs 2 and 3 are for hold and reset and can't be used for an encoder.

    • @akashpatel2339
      @akashpatel2339 3 года назад +1

      @@TimWilborne how would I know which inputs are for which purpose? I couldn’t find that information on internet

    • @TimWilborne
      @TimWilborne  3 года назад

      @@akashpatel2339 It is in the manual but isn't completely clear. It only has one HSC, it takes for high speed inputs to operate one HSC so that consumes all of them.
      If you need the others, you might be able to make a crude counter with the EII function file. Note that you need to select the mode of the HSC that doesn't have the hold and reset inputs.

  • @stephencurgan7169
    @stephencurgan7169 7 лет назад

    Can I follow these same directions to setup the high speed counter on a SLC 5/04 in RSLogix 500? I am trying to add an encoder to a motor to give an exact position, instead of relying on a prox sensor to stop the rack being ran in and out, to prevent a chain from breaking when the prox occasionally doesn't see the rack on the chain. Do you have a recommendation on an encoder that would best suit my need in this instance, and work well with the equipment I mentioned?

    • @TimWilborne
      @TimWilborne  7 лет назад

      No, it isn't as easy on the the SLC. There is a 1746-HSCE but it was a bear to configure. Completely different but it may work for your application. Carefully read the instruction manual before you jump in.

  • @glennlorimer1618
    @glennlorimer1618 6 лет назад +1

    excellent video i love the way you explained this but i have a question i understand the ML 1100 has 1 20Khz high-speed counter. The counter has four dedicated inputs ive got inputs I:0/0 and I:0/1 connected to an encoder and it counts away dream and i can see it displayed on HSC.0.ACC thanks to your video but how can i get Inputs I:0/3 and I:0/4 working for a second encoder? iv connected the second encoder and can see the inputs blinking on the ML 1100 so i think its an addressing issue how do i read those pulses ive made sure the filter in the I/O config is set low enough to read the pulses and set Mode to 7 in the function files if you can help me on this i'll do my best to get you free Big Macs for life :0)

    • @TimWilborne
      @TimWilborne  6 лет назад +1

      Glenn Lorimer The easy answer is there's only one I speed counter available on the Micrologix 1100 and micrologix 1400 has two. There are alternatives that could work for you though in some of the other basic counter functions. Do you need you need to see forward and reverse on your encoder and what resolution does it need to count to?

    • @glennlorimer1618
      @glennlorimer1618 6 лет назад

      @@TimWilborne Hi Tim i only need to read in forward its for a laser sensor that's counting parts im just confused as to why theyd have 2 channels but only 1 counter ive managed to wright a bit of program to use the one counter but actually count twice from the same encoder ill send the .RSS file for those who may need it if they email me at Glennlorimer07@gmail.com this bit of ladder will allow to count and clear the individual counts

    • @hiranyamedawela3008
      @hiranyamedawela3008 6 лет назад

      @@glennlorimer1618 have you figure out an answer ? I also have the same issue. If you figured something please let me know. Hiranyadil@gmail.com is my email. Thanks

    • @TimWilborne
      @TimWilborne  6 лет назад

      @@glennlorimer1618 Hi Glenn. Sorry I missed this one. The easiest way to make use use of the EII function file. It allows you to execute a routine based off of the edge of an input. The trick is the frequency of counts that are coming it. If your trigger another execution before the previous one completes then you will get a "User Interrupt Lost" error. Only put an ADD instruction in the routine you are running. Source A is your part counter, Source B is 1, and Destination is your part counter.

    • @glennlorimer1618
      @glennlorimer1618 6 лет назад +1

      @@TimWilborne Gotcha...... well i never thought of looking there, thank you very much you sir are a credit to RUclips and the tech industry

  • @nharikrishna698
    @nharikrishna698 5 лет назад +1

    How to configure encoder in compact logix

    • @TimWilborne
      @TimWilborne  5 лет назад +1

      We have a whole series come out in the fall on RsLogix 5000. Thanks for the suggestion!

    • @vincea2732
      @vincea2732 5 лет назад

      You need a HSC module.

  • @lilfarlee
    @lilfarlee 9 лет назад

    this was an awesome video thank you! question.. when setting up a flow meter, do you have to reset the counter or will it do that automatically?

    • @TimWilborne
      @TimWilborne  9 лет назад +1

      +lilfarlee it will "roll over" when it hits 2,147,483,647 which means that on the next pulse it will go to -2,147,483,648.
      Depending on the application you may want to add code to handle the roll over. I usually determine this by how long it will take for the roll over to occur. So to use round numbers, lets say the flow meter will see around 1000 pulses a day...2,147,483,647/1000(pulses per day)/365(days in a year) means it won't roll over for 5883 years. I'm not worrying about that. But let's say that it will receive 1,000,000 pulses per day then 2,147,483,647/1,000,000(pulses per day)/365(days in a year) is 5.8 years. If I think this will be reset on an occasional basis then I still probably won't deal with the roll over but if it will have to accumulate it for the lifetime of the system then I would probably write code to deal with the roll over.

    • @lilfarlee
      @lilfarlee 9 лет назад

      +Tim Wilborne I have the inputs 0,1,2 & 3 on my 1400 wired to liquid flow meters... www.dwyer-inst.com/PDF_files/SF2BRASS_iom.pdf
      I am still a little confused how to set this up to see the flow rate in GPM. our model is the 1" NPT model

    • @TimWilborne
      @TimWilborne  9 лет назад

      +lilfarlee First make sure you have the correct mode and correct input assignments for your counters because that can be really confusing.
      Your modes should be set to 0. Then your input assignments are as follows which is not in an incremental order.
      Input 0 (HSC:0)
      Input 4 (HSC:1)
      Input 8 (HSC:2)
      Input 2 (HSC:3)
      After that to figure GPM, or I will say units per minute since I don't know what scaling you will need to turn it into GPM, you will need to select a sample rate to calculate from. It should be large enough to keep the GPMs from going up and down when you have a steady flow but not so large that it takes forever to update. I'm going to choose 10 seconds. So we would create a 10 second timer and every time it is done we will subtract our current ACC from our previous ACC and store it as "Pulses in last 10 seconds". Then we will move our current ACC to our previous ACC and reset our timer. That gives us units per 10 seconds. So it we multiply that by 10 then you will have units per 60 seconds or units per minute. You should be able to bundle that and your scaling into a tidy CPT instruction.

  • @TimWilborne
    @TimWilborne  5 лет назад

    These instructions should work but you need to check to see if your flow meter output will work with the Micrologix ruclips.net/video/FRSjloPHHc8/видео.html