Calculate the Rate, Speed, or RPM on High Speed Counter in RsLogix 500

  Рет қаралды 41,562

Tim Wilborne

Tim Wilborne

Күн бұрын

Пікірлер: 54
@mumbles1justin
@mumbles1justin 5 жыл бұрын
Hay Mr.Mom thanks for slowing down the tutorial. I didn’t have to use the reverse on the video this time. Great tutorial.
@TimWilborne
@TimWilborne 5 жыл бұрын
Thanks. There hasn't been much time to slow up this week!
@zacharyrandolph-laberge3155
@zacharyrandolph-laberge3155 4 жыл бұрын
This was so helpful! Thank you for saving me from a certain headache
@TimWilborne
@TimWilborne 4 жыл бұрын
Glad I could help. Thanks for watching!
@macrosspuma23
@macrosspuma23 3 жыл бұрын
i used your code to implement a cheap "effect hall" flow meter and its working very well :D
@TimWilborne
@TimWilborne 3 жыл бұрын
Good to hear Enrique!
@oscarramirezhernandez1907
@oscarramirezhernandez1907 2 жыл бұрын
Hi Tim, thank you so much for the video, perfect explanation. Greetings from Mexico. You have a new subscriber
@TimWilborne
@TimWilborne 2 жыл бұрын
Thanks for the sub!
@cesarvallejos6556
@cesarvallejos6556 4 жыл бұрын
Gracias Tim! Muy útil el tutorial. Saludos desde Argentina.
@TimWilborne
@TimWilborne 4 жыл бұрын
De nada Cesar!
@sayedhasanalmusawi2996
@sayedhasanalmusawi2996 3 жыл бұрын
Great job , you just found how many revolutions per second to convert it into rpm (revolutions per minute) multiply it by 60 to convert from sec to min. In my experience 100 ms is more then enough to give you accurate value of rpm : just multiply it by 10 then by 60 . Thanks
@controlsgirl
@controlsgirl 2 жыл бұрын
Why do you have to multiply it by 10 first? Wait..the multiplier is for the sampling rate. 100ms x 10 = 1 second (Hz)
@supportATS
@supportATS 3 жыл бұрын
Great Video, but I have a question. If I am using the HSC for flow of a liquid do I need to regularly reset the ACC value to prevent an overflow error as the flow is always in the one direction?
@TimWilborne
@TimWilborne 3 жыл бұрын
Hi Kevin, after 2,147,483,647 counts, it will reach it's limit. I don't know the frequency of your counts, but you should have some measure in there to eventually deal with the rollover, even if it is 10 or so years down the road.
@controlsgirl
@controlsgirl 2 жыл бұрын
Great tutorial! Is there ever an accuracy concern due to putting this logic in a program that is not time determinant? Or would it be so small it becomes a moot point?
@TimWilborne
@TimWilborne 2 жыл бұрын
There could be. It would have roughly the scan time x2 variation in the sample rate.
@qzorn4440
@qzorn4440 3 жыл бұрын
this is a great plc learning video, wished i had it when i was learning AB-PLC stuff? i was really searching for the ultra3000 servo E23 error fault (The internal filter protecting the drive from over heating has tripped)? it seems to be a common problem with some silly check accelerate/ decelerate settings on machine that have been working for several years that way. Tim, how do you troubleshoot these kind of problems? thanks a lot..:)
@TimWilborne
@TimWilborne 3 жыл бұрын
Typically that means the motor is under too much load for the set accel and decel. Might see if increasing these values would affect your process.
@ronaldkrisher3685
@ronaldkrisher3685 4 жыл бұрын
Hi Tim. Just recently discovered you and subscribed. Outstanding channel! I do have a question on this vid. You don't mention counter wrap-around. Is it reasonable to reset the counter to 0 instead of doing the subtraction? That is, on your 1 sec timeout, save the value and reset?
@TimWilborne
@TimWilborne 4 жыл бұрын
If you need to count to a very large number then the roll over is something you'll have to handle. The subtraction and 1 second timer is to take the change over one second and determine the speed that the counter is running at.
@REXONCROSS
@REXONCROSS 4 жыл бұрын
Thanks a lot . could you please do a video to show how to use interrupts?
@TimWilborne
@TimWilborne 4 жыл бұрын
How to use the EII might make a good one, I'll put it on the list.
@REXONCROSS
@REXONCROSS 4 жыл бұрын
@@TimWilborne thanks a lot tim. You are a life saver for a lot of us begginers.
@TimWilborne
@TimWilborne 4 жыл бұрын
@@REXONCROSS You are welcome Joel!
@teddeebayre3433
@teddeebayre3433 3 жыл бұрын
What about using the quadrature on the encoder and get the plc to indicate what direction it's going. I imagine you would use two counters,(channel A & B) but whichever one fires first will tell the direction. How can you store the one that fires first and have one bit go to 1 for CW and another go to 1 for CCW. Example 00 not moving 01 for CW and 10 for CCW
@TimWilborne
@TimWilborne 3 жыл бұрын
No need to. Look to see if your rate calculation is positive or negative. You cannot track the pulsed of a high speed counter in ladder logic.
@ryandamico9673
@ryandamico9673 2 жыл бұрын
Hi Tim, maybe I missed it but I am trying to calculate hz form the rate that the high speed counter is giving. how do I do this? thank you!!
@cesarcamargodiaz8578
@cesarcamargodiaz8578 2 жыл бұрын
Hi Tim, i have any questions: The register -- S-1/15, whats do it do ¿¿¿ i dont understant, please hep me and explain me, thank you
@TimWilborne
@TimWilborne 2 жыл бұрын
It will be true for the first scan when the PLC transitions to run mode either via a power cycle, switching the keyswitch from program to run, or switching from your PC from REM PROG to REM RUN.
@TIUSCO00
@TIUSCO00 4 жыл бұрын
Gracias me ha sido de mucha ayuda
@TimWilborne
@TimWilborne 4 жыл бұрын
¡De nada!
@sidharthvattakassery
@sidharthvattakassery Жыл бұрын
Hi Tim, I have a doubt. You are moving the value of L9:0 to L9:1 and subtracting them during the same condition. So wouldn't the value in L9:0 and L9:1 be the same while subtracting
@TimWilborne
@TimWilborne Жыл бұрын
No, here's where order for operation becomes very important. The subtract is before the move that makes L9:0 and L9:1 the same.
@anthonyrios4003
@anthonyrios4003 2 жыл бұрын
We always get an error message saying it does not count and stop the motion right to left
@adi1257
@adi1257 3 жыл бұрын
sir, it is nice video...i have question....how to calculate pulse from flowrate ?
@TimWilborne
@TimWilborne 3 жыл бұрын
Each pulse will be a certain amount of fluid. So you multiply pulses by that value which will usually be called the K factor and will be very specific to your flow meter. Usually there will be a chart that includes pipe size, material, connection type, etc.
@adi1257
@adi1257 3 жыл бұрын
@@TimWilborne how to calculate that K factor ?
@damiand98
@damiand98 4 жыл бұрын
Hi Tim. Would you consider making a similar video for configuring high speed counters for compactlogix plc's?
@TimWilborne
@TimWilborne 4 жыл бұрын
It's coming soon Damian. Thanks for watching!
@puneetkejriwal3381
@puneetkejriwal3381 4 жыл бұрын
Hi Tim. Just came across your channel. I am working on a small project of mine which involves servo motor control via plc for a machine. eg. we take a time base of 1 minute. Now if the operator sets 60 shots per min, the servo needs to make the predefined number of rotations 60 times a min. my application, the servo needs to pull paper. now the number of rotations would be defined by the length of paper fed by the operator. and if the machine speed is 60 per min, the same paper length needs to be drawn 60 times, if 120 shots then 120 times. Now I'd like to program it in such a fashion, that the servo motor acceleration, deceleration and running speed is altered according to the speed fed in the machine. Do you maybe already have a tutorial similar to this or could you guide me maybe over emails or something?
@TimWilborne
@TimWilborne 4 жыл бұрын
Hi Punett. I would recommend posting your question over at www.plctalk.net/qanda/forumdisplay.php?f=2
@akupadhyayula
@akupadhyayula 2 жыл бұрын
Tim - great video, One question I have is how to calculate the duration a particular machine was down. I was thinking of capturing system time at the stop and restart and take the difference. But then I got tipped over on how to keep track of total amount of downtime. I would appreciate your suggestions
@TimWilborne
@TimWilborne 2 жыл бұрын
I have a video coming on this.
@juderobise2724
@juderobise2724 4 жыл бұрын
Whenever that HSC counter reset, is there any possibility to become source A = 0, source B = 999999, then difference ( which is the frequency) could be a wrong huge value? (above mentioned values are just for the example) Thank you!
@TimWilborne
@TimWilborne 4 жыл бұрын
Hi Jude. It will "roll over" from the highest positive value to the lowest negative value. I need to do on handling this sometime.
@juanclaudio5879
@juanclaudio5879 4 жыл бұрын
Muy buen video, habría la Posibilidad de compartir el archivo de configuración
@TimWilborne
@TimWilborne 4 жыл бұрын
Hi Juan. Here you go. www.theautomationstore.com/rslogix-500-training-allen-bradley-micrologix-high-speed-counter-rslogix-500-function-file-configuration-for-an-encoder/
@stanleypolanco4887
@stanleypolanco4887 4 жыл бұрын
Regards Tim Where can I buy the license for rslogix 500?
@TimWilborne
@TimWilborne 4 жыл бұрын
Hi Stanley. Your Rockwell Automation distributor will be able to give you the best price. It is important that you understand which version you need before purchasing. You can learn more at the link below. www.theautomationstore.com/rslogix-500-training-where-can-i-download-rslogix-500-and-what-is-the-price-difference-of-each-version/
@colemillican8887
@colemillican8887 4 жыл бұрын
Someone please I'm Begging make a video for a micro850 HSC Totalizer with a flow meter! I'm so stuck and no one has made such video.
@TimWilborne
@TimWilborne 4 жыл бұрын
Here you go Cole twcontrols.com/lessons/allen-bradley-micro800-hsc-high-speed-counter-configuration-for-encoders-in-ccw
@rmkbrothers8698
@rmkbrothers8698 3 жыл бұрын
Pls send this logic and wiring diagram
@TimWilborne
@TimWilborne 3 жыл бұрын
It is all in the video.
Configure a Micrologix Encoder High Speed Counter
17:30
Tim Wilborne
Рет қаралды 30 М.
How to measure speed (rpm) of motors by using encoder? Part-1
35:07
General Technology Knowledge
Рет қаралды 18 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 27 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 18 МЛН
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 37 МЛН
How to measure RPM in PLC Program ? High speed counter || PLC Programming
7:55
PLC Programming Tutorials Tips and Tricks
Рет қаралды 28 М.
Sinking and Sourcing PLC Inputs with PNP NPN Sensors
17:31
Tim Wilborne
Рет қаралды 163 М.
Studio 5000 CTU CTD Counter Explained
15:21
Tim Wilborne
Рет қаралды 19 М.
RsLogix 500 Counters - CTU and CTD Count Up and Count Down Counter
13:33
Encoder con plc micrologix
4:13
Carlos Huamani Medina
Рет қаралды 21 М.
Compactlogix HSC High Speed Counter Configuration in Studio 5000
14:22
Indirect Addressing in Studio 5000 to Store and Retrieve Data
20:02
Rule #1 for Programming PLCs
33:00
plcprofessor
Рет қаралды 46 М.