Configure a Micrologix Encoder High Speed Counter

  Рет қаралды 29,384

Tim Wilborne

Tim Wilborne

Күн бұрын

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.
kzfaq.info...
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

Пікірлер: 120
@joew4202
@joew4202 7 күн бұрын
You never fail me Tim. Thank you
@TimWilborne
@TimWilborne 7 күн бұрын
You are welcome :)
@m.sawmill3136
@m.sawmill3136 5 жыл бұрын
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 5 жыл бұрын
Just make sure you have a series B. Seems the series A were 20 kHz.
@megamanwins
@megamanwins 4 жыл бұрын
So very Helpful to me! Thank you sir Tim.
@TimWilborne
@TimWilborne 4 жыл бұрын
I glad to help. Thank's for watching!
@alnaseri3622
@alnaseri3622 5 жыл бұрын
Great Video Tim and very valuable information !!
@TimWilborne
@TimWilborne 5 жыл бұрын
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 5 жыл бұрын
@@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.
@jesuslite2000
@jesuslite2000 4 жыл бұрын
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.
@TimWilborne
@TimWilborne 4 жыл бұрын
More to come!
@amar5269
@amar5269 3 жыл бұрын
i assumed you as my AUTOMATION Professor cause explain good
@nando1968can
@nando1968can 2 жыл бұрын
Thanks for your videos, they are helping us too much for a integration we are doing with a cutter machine.
@TimWilborne
@TimWilborne 2 жыл бұрын
Glad to help
@marcoantoniobobadillagalva8403
@marcoantoniobobadillagalva8403 5 жыл бұрын
Great video!!! Thanks for the information!
@TimWilborne
@TimWilborne 5 жыл бұрын
Glad you liked it. Thanks for watching!
@antoniotoaliari8201
@antoniotoaliari8201 3 жыл бұрын
Thank you very much Tim share your knowledge. This video helped a lot.
@TimWilborne
@TimWilborne 3 жыл бұрын
You are welcome Antonio. Glad to hear it was helpful.
@enriquet2562
@enriquet2562 3 жыл бұрын
Great video!!!! I learned something new🤘💪👍
@TimWilborne
@TimWilborne 3 жыл бұрын
Glad to hear it Enrique.
@MrFernandoBedoya
@MrFernandoBedoya 3 жыл бұрын
Excellent video. Also, the tool that you use here, the encoder simulator. I didn't know that tool existed.
@TimWilborne
@TimWilborne 3 жыл бұрын
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/
@shaijuj2380
@shaijuj2380 5 жыл бұрын
Very good demo
@TimWilborne
@TimWilborne 5 жыл бұрын
Thanks, we've got some videos coming out on the other function files.
@RobbieCox28
@RobbieCox28 10 ай бұрын
Awesome video.... exciting
@TimWilborne
@TimWilborne 10 ай бұрын
Thank you 😀
@susanwindsorsallaboutaloe6915
@susanwindsorsallaboutaloe6915 4 жыл бұрын
This is great! I sure would like to see the servo set up!
@TimWilborne
@TimWilborne 4 жыл бұрын
I've been thinking the same thing. I'll have to see if I can get some parts together. Thanks for watching!
@megamanwins
@megamanwins 4 жыл бұрын
@@TimWilborne waiting for it sir! :)
@adonisreyes5357
@adonisreyes5357 5 жыл бұрын
great video
@TimWilborne
@TimWilborne 5 жыл бұрын
Thanks for watching Adonis!
@dauliyabishow
@dauliyabishow 3 жыл бұрын
Nice information thanks
@TimWilborne
@TimWilborne 3 жыл бұрын
You are welcome.
@MarvinOGarza
@MarvinOGarza 5 жыл бұрын
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 5 жыл бұрын
Yes that would make a good one, I'll put it on the list.
@arjunjayswal6347
@arjunjayswal6347 Жыл бұрын
Thanks a lot sir
@TimWilborne
@TimWilborne Жыл бұрын
You are welcome!
@rokolokas6590
@rokolokas6590 3 жыл бұрын
Great video, thank you very much!
@TimWilborne
@TimWilborne 3 жыл бұрын
You are welcome Roko!
@rokolokas6590
@rokolokas6590 3 жыл бұрын
@@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 3 жыл бұрын
Have a look at the EII function file. That one is what you need. I don't have a video on it.
@rokolokas6590
@rokolokas6590 3 жыл бұрын
@@TimWilborne I will, thank you very much! 😘
@akashpatel2339
@akashpatel2339 2 жыл бұрын
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
@PeteVree
@PeteVree 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
Hi Pete. They are called screw less terminal blocks. controls.tw/64fkn
@hasenbakshshaleem3019
@hasenbakshshaleem3019 3 жыл бұрын
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 3 жыл бұрын
Yes, only you wouldn't use quadrature for the mode. You would use count up.
@fethilakhdari1078
@fethilakhdari1078 Жыл бұрын
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 Жыл бұрын
It has to see the transition of both on and off.
@brunothomaz9213
@brunothomaz9213 Жыл бұрын
how to calculate displacement in millimeters ??? Please.
@pathaksachin8530
@pathaksachin8530 4 жыл бұрын
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 4 жыл бұрын
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.
@electromechanicalstuff2602
@electromechanicalstuff2602 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@TimWilborne Many Thanks brother.
@bitodicontroltechnology4451
@bitodicontroltechnology4451 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
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.
@MuhammadSuleman-hd1ig
@MuhammadSuleman-hd1ig 4 жыл бұрын
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 4 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
@@FoxyGrandma915 OK got you. You'll want to look at the FIFO instruction to store those values.
@controlsgirl
@controlsgirl 2 жыл бұрын
What version of rslogix is that? It looks different than mine and I just installed v12
@TimWilborne
@TimWilborne 2 жыл бұрын
I can't recall what version that video was made with. What looks different?
@ManuelMartinez-fx6ql
@ManuelMartinez-fx6ql 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@TimWilborne Ok ok!! thanks for the answer.
@stanleypolanco4887
@stanleypolanco4887 4 жыл бұрын
greetings TIM a question with the 1746-HSCE2 module ... can I configure two encoders individually? Thank you
@TimWilborne
@TimWilborne 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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.
@minteqipad5720
@minteqipad5720 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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 4 жыл бұрын
​@@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/
@amar5269
@amar5269 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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 3 жыл бұрын
Same setup, you just need to change HSCApp.HSCID.
@amar5269
@amar5269 3 жыл бұрын
@@TimWilborne what do I select or put value in hscapp hscID
@enriquet2562
@enriquet2562 3 жыл бұрын
Can you do PTO from the Function files
@TimWilborne
@TimWilborne 3 жыл бұрын
It is on the list, I still lack a few pieces of hardware
@amar5269
@amar5269 3 жыл бұрын
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
@silviagp1303
@silviagp1303 4 жыл бұрын
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 4 жыл бұрын
What PLC are you using?
@silviagp1303
@silviagp1303 4 жыл бұрын
@@TimWilborne ALEN BRADLEY 11OO
@TimWilborne
@TimWilborne 4 жыл бұрын
@@silviagp1303 Use the L Long data type. It will get you past 2 million
@F11Daniel
@F11Daniel 4 жыл бұрын
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 4 жыл бұрын
Check the voltage and output type of your flow meter.
@F11Daniel
@F11Daniel 4 жыл бұрын
@@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 4 жыл бұрын
@@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 4 жыл бұрын
@@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 4 жыл бұрын
@@F11Daniel Yes but what is your PLC's input voltage. For example a 1763-L16BWA has 24VDC inputs. 12VDC will not work.
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
How can I do HSC in CompactLogix L27ERM CPU ?
@TimWilborne
@TimWilborne 4 жыл бұрын
It is on the list to do. Stay tuned!
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
@@TimWilborne Thank you very much but if possible can you put it in the first list instead?
@TimWilborne
@TimWilborne 4 жыл бұрын
@@vorapobautomation9760 Right now we are working on PID videos
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
@@TimWilborne Maybe next from PID video Thank you. I have to connect incremental encoder to CompactLogix CPU soon.
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
Can you give me wiring diagram open collector encoder connect to plc compactlogix ?
@TimWilborne
@TimWilborne 4 жыл бұрын
Which model of high speed counter are you connecting to on the Compactlogix?
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
@@TimWilborne I use Encoder Open collector output type
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
@@TimWilborne I connect to builtin HSC
@TimWilborne
@TimWilborne 4 жыл бұрын
@@vorapobautomation9760 See page 192 and 193 of this manual. literature.rockwellautomation.com/idc/groups/literature/documents/um/1769-um021_-en-p.pdf
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
@@TimWilborne Not clear thanks
@amar5269
@amar5269 3 жыл бұрын
Please help
@caleb7799
@caleb7799 Жыл бұрын
Where's the fire, Tim? haha
Rslogix 500 Timers TON TOF RTO Explained
21:31
Tim Wilborne
Рет қаралды 32 М.
Wire And Configure An Encoder To An Allen Bradley Micro850 PLC
37:47
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 46 МЛН
IFM Encoder to MicroLogix 1100 High Speed Counter
15:34
Insights In Automation
Рет қаралды 7 М.
IFM Encoder to CompactLogix High Speed Counter
11:50
Insights In Automation
Рет қаралды 10 М.
RsLogix 500 Uploading the Program from a Micrologix or SLC 500 PLC
7:02
What is DeviceNet?
10:17
RealPars
Рет қаралды 204 М.
Control speed of the three phase motor using VFD and PLC with digital signals only
11:03
PLC Programming Tutorials Tips and Tricks
Рет қаралды 28 М.
How to measure RPM in PLC Program ? High speed counter || PLC Programming
7:55
PLC Programming Tutorials Tips and Tricks
Рет қаралды 26 М.
My First RsLogix PLC Program!
1:56:39
Tim Wilborne
Рет қаралды 57 М.
Simulating Encoder to Allen Bradley Compactlogix High Speed Counter
5:38
Sinking and Sourcing PLC Inputs with PNP NPN Sensors
17:31
Tim Wilborne
Рет қаралды 153 М.
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,1 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 603 М.