Тёмный

PLC Counter Programming for Beginners 

RealPars
Подписаться 1,1 млн
Просмотров 79 тыс.
50% 1

▶ C'mon over to realpars.com where you can learn PLC programming faster and easier than you ever thought possible!
=============================
▶ Check out the full blog post over at
realpars.com/plc-counter
=============================
⌚Timestamps:
00:00 - Intro
00:42 - Types of PLC counters
00:49 - PLC counter values
01:50 - Count-up counter
04:15 - Counter reset
05:00 - Count-down counter
06:39 - Counter negative direction
07:19 - Counter overflow
08:10 - Counter underflow
08:25 - Maximum accumulated value
=============================
In this video, I will be talking about PLC counters.
I will explain what PLC counters are, how they work, the different types of counters, and give some examples of how they are used.
PLC counters are internal PLC instructions that can be used to count input or output signals in the PLC program.
These counters operate like relay counters but you cannot hold a PLC counter in your hand and they do not need to be connected to wires to operate.
There are two main types of PLC counters, the count-up counter, and the count-down counter.
For the counter-up counters, we have a counter file name, a counter preset value, a counter accumulated value, a counter count-up bit, and a counter done bit.
For the counter-down counters, we have the same bits and values. The only thing that is different is the counter-down bit on the output. We have this as the counter-up bit for the counter-up counter.
There are also two internal memory bits of counter overflow and counter underflow which we'll discuss later in this video.
The counter file name is a PLC tag. This tag is where you can find the counters preset and accumulated values and the counters count-up, count-down, done, overflow, and underflow bits.
Some PLCs create the counter file name for you, and other PLCs have you create the counter file name.
For all of my PLC counter examples, I will be using Studio 5000, which is the PLC programming software for Allen Bradley ControlLogix PLCs. But the things that you will learn here in these examples, can be applied to any other PLC software. Because the overall counter functions are similar to any other PLC brand.
For all of my counter examples, I will use the counter file name Counter1. I will also use a momentary push-button to trigger the counters.
I will start by adding a count-up counter instruction to a PLC program rung. I will also add the momentary push-button input to this rung to trigger the counter.
Every time I push the button, the count-up bit turns on, and the accumulated value increases by one.
If I continue to push and release the button, the count-up bit will still turn on while the button is pushed, the done bit will stay on, and the accumulated value will still increase.
To reset the counter back to zero and turn off the done bit, I will have to add a counter reset bit to the PLC program and add another momentary push-button input to trigger the reset bit.
I will add a count-down counter to my PLC program and another momentary push-button input to trigger this counter.
If I keep pushing and releasing the count-down button after the accumulated value reaches zero, it will start to count in the negative direction.
The overflow bit is used on count-up counters and the underflow bit is used on count-down counters.
When a count-up counter is at its maximum accumulated value and then gets triggered to count up, the overflow bit will turn on.
When a count-down counter is at its maximum negative accumulated value and then gets triggered to count down, the underflow bit will turn on.
The numbers that some of these counters will have to reach for the overflow or the underflow bits to turn on are very large. For example, I am using a ControlLogix PLC for my counter examples.
The counters in ControlLogix PLCs have a maximum positive accumulated value of more than two billion and they have a maximum negative accumulated value greater than minus two billion.
The minimum and maximum number values are not the same for all PLC brands. So double-check the minimum and maximum preset values of your PLCs counters before adding one to your program.
=============================
Missed our most recent videos? Watch them here:
realpars.com/factory-acceptan...
realpars.com/pressure-switch
realpars.com/plc-timer
=============================
To stay up to date with our last videos, make sure to subscribe to this RU-vid channel:
bit.ly/realpars
=============================
TWEET THIS VIDEO ctt.ac/odc4L
=============================
Follow us on Facebook: / therealpars
Follow us on Twitter: / realpars
Follow us on LinkedIn / realpars
Follow us on Instagram / realparsdotcom
#RealPars #PLCprogramming #Industry

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@shaikabdurahiman3501
@shaikabdurahiman3501 3 года назад
Since I requested to add more examples for any concept so that the beginners can get it easily thanks in advance
@realpars
@realpars 3 года назад
Thanks for your suggestion and feedback, Shaik! I will make sure to pass it on to our course developers. Happy learning!
@jayasuryas8353
@jayasuryas8353 3 года назад
Clear explanation with new environment
@aminebeny130
@aminebeny130 3 года назад
All the compliments that i would say to you are not enough for the good work you do... Thak you so much y've been so helpful to me in my career i really appreciate it
@realpars
@realpars 3 года назад
Thanks a million for your kind comment, Amine! We certainly appreciate that.
@JKTCGMV13
@JKTCGMV13 3 года назад
Back at it again with another great video 💯
@marybermingham3397
@marybermingham3397 3 года назад
Great video. So helpful thanks
@realpars
@realpars 3 года назад
You're very welcome, Mary!
@IngDzib
@IngDzib 3 года назад
Thank you!! for every video
@realpars
@realpars 3 года назад
Our pleasure!
@controlsSystemsofficial
@controlsSystemsofficial 3 года назад
Thank you for this video.. Really very useful..
@realpars
@realpars 3 года назад
Glad to hear that! Happy learning
@donnyj6535
@donnyj6535 Год назад
Excellent. I know now how to use a counter in my plc prog. Thanks.
@realpars
@realpars Год назад
Glad it was helpful, Donny!
@sebastianmauriciopantamurg236
@sebastianmauriciopantamurg236 3 года назад
Great video, thanks!
@realpars
@realpars 3 года назад
You're very welcome, Sebastian!
@RamuRamu-sf3vg
@RamuRamu-sf3vg 3 года назад
Excellent
@syufrijal
@syufrijal 3 года назад
Amazing explanation of PLC counter programming
@realpars
@realpars 3 года назад
Thank you!
@user-ek9ix6op8l
@user-ek9ix6op8l Год назад
Thank you very much, very nice and very useful
@realpars
@realpars Год назад
Glad it was helpful! You're very welcome
@전영식PLC
@전영식PLC 3 года назад
Thank you for the video.
@realpars
@realpars 3 года назад
You're very welcome!
@gck6428
@gck6428 3 года назад
Good video. Thank you very much~
@realpars
@realpars 3 года назад
Our pleasure!
@ArkAE86
@ArkAE86 3 года назад
I dont even need to learn this thing but I had a fun time learning, thanks!
@realpars
@realpars 3 года назад
Glad to hear that, Lex!
@TopAdvenTours
@TopAdvenTours 3 года назад
Love this review
@realpars
@realpars 3 года назад
Thank you, Sim!
@Boxing-is-my-life
@Boxing-is-my-life 5 месяцев назад
Very useful video thanks my friend
@realpars
@realpars 5 месяцев назад
You're very welcome, happy learning!
@user-ty9zg8vv9v
@user-ty9zg8vv9v 5 месяцев назад
This video is helpful
@realpars
@realpars 5 месяцев назад
Glad to hear that!
@adejumodavid6726
@adejumodavid6726 3 года назад
Nice explanation
@realpars
@realpars 3 года назад
Thank you, Adejumo!
@HolyPiyush
@HolyPiyush 2 года назад
Awesome information Keep growing❤
@realpars
@realpars 2 года назад
Thank you!
@roseelectronics4582
@roseelectronics4582 3 года назад
Thanks
@realpars
@realpars 3 года назад
Our pleasure!
@akhileshchandsharma3974
@akhileshchandsharma3974 2 года назад
Will you teach us about control and process? Like, some demo projects. ❤️ LOVE Realpars and #TEAM
@realpars
@realpars 2 года назад
Hey Akhi! Thanks for your comment and your suggestion. I will pass this on to our course developers! Thanks for sharing and happy learning!
@akhileshchandsharma3974
@akhileshchandsharma3974 2 года назад
I love REALPARS & TEAM. I am here since 2019 and learned about what AUTOMATION is and how it works. And all the credit goes to #REALPARS ❤️❤️❤️❤️
@brianpialan2126
@brianpialan2126 3 года назад
can u do a tutorial video of making a plc ladder and circuit diagram of any devices that has relay?. i really need this kind of tutorial.
@realpars
@realpars 3 года назад
Hi Bian, Thanks for the topic suggestion, I will definitely go ahead and forward this to our creator team. Happy learning!
@Rinnesharingan.
@Rinnesharingan. 10 месяцев назад
Nice explanation. ❤ Is it possible to change the overflow or underflow value?
@realpars
@realpars 10 месяцев назад
Hi there, Thank you for your inquiry. Indeed, it is possible, although it is contingent upon the specific PLC you have, as we mentioned in our video. You have the capability to create a customized program to adjust your overflow and underflow signals, subject to the PLC model you are utilizing. We wish you a productive learning experience with RealPars!
@hakizimanajerome5037
@hakizimanajerome5037 6 месяцев назад
Hello Realpars, thank you for the video, Can this plc counter used for elevator to count up/down the floor?
@realpars
@realpars 5 месяцев назад
Hi there, Thank you for your inquiry. Indeed, you can achieve this. You'll need to select the PLC (Programmable Logic Controller) you intend to use and then proceed with programming it accordingly. The specific steps may vary based on the PLC manufacturer, such as Allen-Bradley (AB), Siemens, or Omron. It is essential to familiarize yourself with the counter functionalities specific to the chosen PLC.
@hakizimanajerome5037
@hakizimanajerome5037 5 месяцев назад
@@realpars thank you Mine is siemens plc. But i would like also to ask assistance about elevator plc programming. If is possible
@bitebonumbere1426
@bitebonumbere1426 3 года назад
Thanks RealPars
@realpars
@realpars 3 года назад
You're very welcome!
@hoanganhaim9516
@hoanganhaim9516 3 года назад
Can you explain how to communicate between QJ71C24N and RKC Fb400 digital controller via Rs 485 protocol please ?. i've tried command "G.CPRTCL" but nothing work... can you make a video for this ?
@realpars
@realpars 3 года назад
Hi Hoang! Thanks for your comment and your suggestion. I will pass this on to our course developers! Thanks for sharing and happy learning!
@hoanganhaim9516
@hoanganhaim9516 3 года назад
@@realpars thank you so much sir, i'll waiting for good news
@eyobgebeyehu7475
@eyobgebeyehu7475 2 года назад
sir gives some projects as an examples and how to set or program the counter in that project.
@realpars
@realpars 2 года назад
Thanks for your feedback and suggestion, Eyob! I will go ahead and pass this on to our course developers. Happy learning!
@nomankhubaz1839
@nomankhubaz1839 3 года назад
👍
@ketanjadhav1087
@ketanjadhav1087 2 года назад
🤟🤟
Далее
PLC Timer Programming for Beginners
10:44
Просмотров 121 тыс.
skibidi toilet multiverse 039 (part 4)
06:06
Просмотров 2,9 млн
Basic PLC Instructions (Full Lecture)
33:09
Просмотров 708 тыс.
What are the Differences between DCS and SCADA?
9:16
Просмотров 470 тыс.
PLC Counters | PLC Programming | PLC Academy
9:52
Просмотров 38 тыс.
What is the Difference between VFD and Soft Starter?
7:30
Sinking and Sourcing PLC Outputs Explained
7:50
Просмотров 149 тыс.
PLC Troubleshooting 101:   Basic Tips and Tricks
7:28
Просмотров 76 тыс.
Troubleshooting a PLC Output
7:25
Просмотров 37 тыс.